=====网络电话=====
====登录sip服务器====
/*
@param username 用户名
@param password 密码
@param domain ip/域名+端口
*/
SipTelephoneManager.getInstance(Context context).login(String userName,String domain,String password);
==== 注销 sip 登录====
SipTelephoneManager.getInstance(Context context).destroy();
==== 拨打电话 ====
/*
@param number号码
*/
SipTelephoneManager.getInstance(Context context).call(String number);
==== 注册通话监听器 ====
new SipContext(getApplicationContext());
==== 拨号中回调 ====
void de_electricity();
==== 开始通话回调 ====
void call();
==== 结束通话回调 ====
end();
==== 来电回调 ====
void incoming_Call();
==== 挂断 ====
SipTelephoneManager.getInstance(Context context).terminateCurrentCall();