Here are the ones. <!-- Internal SIP Profile --> <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/> <X-PRE-PROCESS cmd="set" data="internal_sip_port=5080"/> <X-PRE-PROCESS cmd="set" data="internal_tls_port=5081"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/> <!-- External SIP Profile --> <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/> <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/> <X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/> <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/> <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/> Regards, Archana.V From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: 14 December 2012 13:16 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FW: SIP error What SIP profiles do you have defined, and what are their sip-ip and port settings? On 14 December 2012 12:21, Archana Venugopan <a.venugopan@mundio.com<mailto:a.venugopan@mundio.com>> wrote: Hi, There is only 1 instance of freeswitch running. [root@VECTONE-CLOUDE log]# ps -ef | grep -i free root 19173 1 1 12:03 ? 00:00:10 /usr/local/freeswitch/bin/freeswitch -nc root 19223 21809 0 12:19 pts/0 00:00:00 grep -i free Am not sure how this ::1:5060 was picked and am not sure how to kill this alone. Regards, Archana.V From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Steven Ayre Sent: 14 December 2012 12:05 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP error This looks like it might be fine in itself... freeswitch is listening for both tcp and udp on 82.113.72.113:5060<http://82.113.72.113:5060>, that'll be one profile. Looks like you also have a profile listening on the IPv6 loopback ::1:5060 - it's up to your use-case whether you want that or not... since that won't be reachable from any other machine. You need to compare that to what profiles you have configured though, to see whether there are any profiles failing to start on another ip:port. Multiple running copies of freeswitch could also give a problem - if 19085 is the PID of a different instance of freeswitch then that would stop a 2nd FS instance listening on those ip:ports. -Steve On 14 December 2012 11:36, Archana Venugopan <a.venugopan@mundio.com<mailto:a.venugopan@mundio.com>> wrote: Hi Steven, Thanks. When I gave netstat I see the following in my freeswitch server(82.113.72.113) [root@VECTONE-CLOUDE sip_profiles]# netstat -lnp | grep 5060 tcp 0 0 82.113.72.113:5060<http://82.113.72.113:5060> 0.0.0.0:* LISTEN 19085/freeswitch tcp 0 0 ::1:5060 :::* LISTEN 19085/freeswitch udp 0 0 82.113.72.113:5060<http://82.113.72.113:5060> 0.0.0.0:* 19085/freeswitch udp 0 0 ::1:5060 :::* 19085/freeswitch Is there something wrong in the above? Regards, Archana.V From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Steven Ayre Sent: 14 December 2012 11:23 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP error The most likely reason is that something already is listening on the IP:port, each profile must be on its own distinct IP+port combination. "netstat -anp | grep <ip> | grep <port>" will show if another program is already using the port. -Steve On 13 December 2012 18:01, Archana Venugopan <a.venugopan@mundio.com<mailto:a.venugopan@mundio.com>> wrote: Hi team, I am facing with the below error after installing freeswitch and registering. 2012-12-13 17:55:15.573019 [ERR] sofia.c:1347 Error Creating SIP UA for profile: internal Guess this is checking /usr/local/freeswitch/conf/sip_profiles/internal.xml I have attached my internal.xml as well. Please let me know. Thanks. Regards, Archana.V _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Those are global variables, not parameters in the sip profiles... you should check the profiles themselves. They might be using the variables, but they might not be too. In particular nothing you posted there set the ip used in the sip-ip params. On 14 December 2012 13:50, Archana Venugopan <a.venugopan@mundio.com> wrote:
Here are the ones.****
** **
<!-- Internal SIP Profile -->****
<X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>****
<X-PRE-PROCESS cmd="set" data="internal_sip_port=5080"/>****
<X-PRE-PROCESS cmd="set" data="internal_tls_port=5081"/>****
<X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/>****
<X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/> ****
** **
<!-- External SIP Profile -->****
<X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>****
<X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>****
<X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/>****
<X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>****
<X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/> ****
** **
** **
Regards,****
Archana.V****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 14 December 2012 13:16 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FW: SIP error****
** **
What SIP profiles do you have defined, and what are their sip-ip and port settings?****
** **
On 14 December 2012 12:21, Archana Venugopan <a.venugopan@mundio.com> wrote:****
Hi,****
****
There is only 1 instance of freeswitch running.****
****
[root@VECTONE-CLOUDE log]# ps -ef | grep -i free****
root 19173 1 1 12:03 ? 00:00:10 /usr/local/freeswitch/bin/freeswitch -nc****
root 19223 21809 0 12:19 pts/0 00:00:00 grep -i free****
****
Am not sure how this ::1:5060 was picked and am not sure how to kill this alone. ****
****
Regards,****
Archana.V****
****
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 14 December 2012 12:05****
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] SIP error****
****
This looks like it might be fine in itself...****
freeswitch is listening for both tcp and udp on 82.113.72.113:5060, that'll be one profile.****
Looks like you also have a profile listening on the IPv6 loopback ::1:5060 - it's up to your use-case whether you want that or not... since that won't be reachable from any other machine.****
****
You need to compare that to what profiles you have configured though, to see whether there are any profiles failing to start on another ip:port.*** *
****
Multiple running copies of freeswitch could also give a problem - if 19085 is the PID of a different instance of freeswitch then that would stop a 2nd FS instance listening on those ip:ports.****
****
-Steve****
****
****
****
****
On 14 December 2012 11:36, Archana Venugopan <a.venugopan@mundio.com> wrote:****
Hi Steven,****
Thanks. When I gave netstat I see the following in my freeswitch server(82.113.72.113)****
****
[root@VECTONE-CLOUDE sip_profiles]# netstat -lnp | grep 5060****
tcp 0 0 82.113.72.113:5060 0.0.0.0:* LISTEN 19085/freeswitch****
tcp 0 0 ::1:5060 :::* LISTEN 19085/freeswitch*** *
udp 0 0 82.113.72.113:5060 0.0.0.0:* 19085/freeswitch****
udp 0 0 ::1:5060 :::* 19085/freeswitch****
****
Is there something wrong in the above?****
****
Regards,****
Archana.V****
****
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 14 December 2012 11:23 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] SIP error****
****
The most likely reason is that something already is listening on the IP:port, each profile must be on its own distinct IP+port combination.****
****
"netstat -anp | grep <ip> | grep <port>" will show if another program is already using the port.****
****
-Steve****
****
****
On 13 December 2012 18:01, Archana Venugopan <a.venugopan@mundio.com> wrote:****
Hi team,****
****
I am facing with the below error after installing freeswitch and registering.****
****
2012-12-13 17:55:15.573019 [ERR] sofia.c:1347 Error Creating SIP UA for profile: internal****
****
Guess this is checking /usr/local/freeswitch/conf/sip_profiles/internal.xml ****
****
I have attached my internal.xml as well. Please let me know. Thanks.****
****
Regards,****
Archana.V****
****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org****
****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org****
****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org****
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Archana Venugopan
-
Steven Ayre