简体   繁体   English

Freeswitch无法连接到服务器上的外部SIP配置文件

[英]Freeswitch can't connect to external sip profile on server

I am using port 5060 set on internal profile while the external has 5080 .I have created extensions on the server. 我正在使用内部配置文件上设置的端口5060 ,而外部配置文件是5080我已经在服务器上创建了扩展。

I want user to connect sip server using the external profile defined in external.xml ie 我希望用户在使用中定义的外部轮廓连接SIP服务器external.xml

ext_no@XX.YY.ZZ.PP:5080 .It says ext_no@XX.YY.ZZ.PP:5080

2013-12-06 05:48:28.740200 [WARNING] sofia_reg.c:2454 Can't find user [ext_no@XX.YY.ZZ.PP] You must define a domain called ' XX.YY.ZZ.PP ' in your directory and add a user with the id=" ext_no " attribute and you must configure your device to use the proper domain in it's authentication credentials. 2013-12-06 05:48:28.740200 [WARNING] sofia_reg.c:2454找不到用户[ext_no@XX.YY.ZZ.PP]您必须在其中定义一个名为“ XX.YY.ZZ.PP ”的域您的目录并添加一个具有id =“ ext_no ”属性的用户,并且您必须将设备配置为在其身份验证凭据中使用正确的域。

While it can successfully connect using internal sip profile by just changing the port no,ie with sip URI: 尽管只需更改端口号即可使用内部sip配置文件成功连接,即使用sip URI:

ext_no@XX.YY.ZZ.PP:5060 and says: ext_no@XX.YY.ZZ.PP:5060并说:

[WARNING] sofia_reg.c:1432 SIP auth challenge (REGISTER) on sofia profile 'internal' for [ext_no@XX.YY.ZZ.PP] from ip 1.23.169.192 [警告] sofia_reg.c:1432从IP 1.23.169.192的[ext_no@XX.YY.ZZ.PP]的sofia配置文件“内部”上的SIP身份验证质询(REGISTER)

I am on FusionPBX Please guide.Thanks 我正在使用FusionPBX,请进行指导。

Note:i have a valid ext_no and sip uri.Just did not disclose it for security. 注意:我有一个有效的ext_no和sip uri。

To those who voted to close: 对于那些投票决定关闭的人:

This is related to Voip which requires the sip connection to be established between mobile device and server . This is related to Voip which requires the sip connection to be established between mobile device and server

The external SIP profile is anonymous and doesn't handle registrations. 外部SIP配置文件是匿名的,不处理注册。 You would likely want to make a copy of the internal profile say internal-5070 as an example and set the port to 5070. Set the new internal-5070 sip profile with the external sip and rtp IP to use the external IP address. 您可能需要复制内部配置文件的副本,例如,internal-5070,并将端口设置为5070。使用外部sip和rtp IP设置新的internal-5070 sip配置文件以使用外部IP地址。 Open up iptables on the local server for SIP port 5070 TCP/UDP and then register the SIP phone to 5070. 在本地服务器上为SIP端口5070 TCP / UDP打开iptables,然后将SIP电话注册到5070。

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

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