简体   繁体   English

如何为Android构建SIP和VOIP应用程序?

[英]How to build a SIP & VOIP app for android?

Can any one tell me the correct usage of portsip sdk usage 任何人都可以告诉我portsip sdk使用的正确用法

I could initialize the sdk but couldn't establish the call session. 我可以初始化sdk但无法建立呼叫会话。

sip server details : userName = "varmach"; sip server details:userName =“varmach”; password = "6UButR6rxsbaFz2y"; password =“6UButR6rxsbaFz2y”; SIPServer= "varmach@getonsip.com"; SIPServer =“varmach@getonsip.com”; SIPPort= "5060"; SIPPort =“5060”; userDomain= "getonsip.com"; userDomain =“getonsip.com”; authName= "getonsip_varmach"; authName =“getonsip_varmach”;

address i used to call the other android device is : sip:anantha@getonsip.com 我以前用来调用其他android设备的地址是:sip:anantha@getonsip.com

but -1 is returned while establishing the session . 但在建立会话时返回-1。

Please specify the correct format of address if anyone knows. 如果有人知道,请指定正确的地址格式。

-1返回意味着它无法创建会话,检查服务器settings.auth名称和域是可选的,暂时不给它们。通常sip服务器应该是一些no.s例如; 80.442.243.8这样的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM