VoIP呼叫无法在其他网络中使用(使用PJSIP和Kamailio服务器) [英] VoIP calls doesn't work in different networks (Using PJSIP and Kamailio server)

查看:160
本文介绍了VoIP呼叫无法在其他网络中使用(使用PJSIP和Kamailio服务器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在azure实例上将kamailio 4.2设置为服务器,对于客户端,我正在使用Android和iOS应用程序的PJSIP库.当两个设备都连接到同一网络时,语音呼叫似乎运行良好,但是,两个设备中的任何一个都连接到不同的网络(或者两个设备都在不同的网络中),它们都可以在SIP服务器上注册,甚至可以在两个设备之间触发并接听电话,但两端都听不到声音.
*我什至设置了rtpproxy.

I have setup kamailio 4.2 on an azure instance as server and for client I am using PJSIP library for Android and iOS applications. The voice calls seem to work well when both the devices are connected to the same network, however, either of the device connects to a different network (or when both the devices are in different networks), they are able to register on SIP server, and even call can be triggered and accepted between both the devices but there is no audio heard on either end.
* I have even setup rtpproxy.

有人可以帮助我吗?

谢谢.

推荐答案

请检查您在kamailio配置中提供的IP地址,使用外部IP地址而不是内部IP.

Please check your IP address you have given in the kamailio configuration , use external IP address and not internal.

这篇关于VoIP呼叫无法在其他网络中使用(使用PJSIP和Kamailio服务器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆