成功为android构建pjsip,如何继续?

时间:2014-01-25 14:34:19

标签: android pjsip

我已经成功构建了针对android的pjsua示例应用程序......但是,没有说明如何继续下一步...是否有任何有用的教程如何使用示例应用程序作为SIP调用的基础?!

1 个答案:

答案 0 :(得分:1)

Follow the document您可以在设备上安装2个pjsua示例应用。

运行第一个后,屏幕将告诉您远程登录:

$ telnet 192.168.x.x 3388

然后你应该看到这样的cmd列表:

-> % telnet 192.168.3.8 2323
Trying 192.168.3.8...
Connected to 192.168.3.8.
Escape character is '^]'.
localhost> 
        ^
log       Change log level
exit      Exit session
call      Call related commands
im        IM and Presence Commands
acc       Account commands
audio     Conference and Media commands
stat      Status and config commands
sleep     Suspend keyboard input
network   Detect network type
shutdown  Shutdown application
restart   Restart application

然后你应该可以开始添加帐户到你得到的任何信令服务器。 Pelase参考this manual

我在这里有一个清单供您检查: 1.设置像kamailio这样的信令服务器 2.在其上设置mysql以供kamailio使用 3.使用kamctl添加帐户 4.从telnet注册该帐户 5.尝试通过调用new sip调用另一个对等方:[ANOTHER_PEER] @ [ANOTHER_PEER_IP]

希望这有帮助!