Hi All, I am trying to create a new sip profile as my provider does not use sip registrations, but uses IP address and port number to identify wether a connection should be allowed. I am currently using the 'internal' profile to make calls '<action application="bridge" data="sofia/internal/$1@80.40.150.150"/>', but this is causing a couple of strange anomalies. I have created a new xml file in sip_profiles and use 'sofia profile phisys-2circles start' to add it. But I get the following errors and the profile does not show in 'sofia status' errors----------------------------------------------- 2011-08-06 17:38:28.620292 [NOTICE] sofia_reg.c:2775 Added gateway ' example.com' to profile 'phisys-2circles' 2011-08-06 17:38:28.620292 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.624397 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.625645 [NOTICE] sofia.c:3999 Started Profile phisys-2circles [sofia_reg_phisys-2circles] 2011-08-06 17:38:28.643631 [DEBUG] sofia.c:1471 Creating agent for phisys-2circles 2011-08-06 17:38:28.800994 [ERR] sofia.c:1533 Error Creating SIP UA for profile: phisys-2circles 2011-08-06 17:38:28.800994 [NOTICE] sofia_glue.c:5198 deleted gateway example.com I have added phisys_2circles.xml to the sip_profiles directory and the contents are here http://pastebin.freeswitch.org/16998 Any advice welcome as I am at a lost what to do next. Thanks Lloyd T
Lloyd, It looks to me like you made a copy of internal.xml or external.xml - which is okay - I just want to make sure we know where you are coming from. My initial guess based on what I see is that you may already have the internal profile running on the same IP/port that you're trying to bind to. Question: Is your FS box behind NAT? That's the most important thing to nail down. Next thing is whether your FS box has only one NIC. Last question: what are the "strange anomalies" that occur when using the internal profile? -MC On Sat, Aug 6, 2011 at 9:57 AM, lloyd thomas <lloydie.t@gmail.com> wrote:
Hi All, I am trying to create a new sip profile as my provider does not use sip registrations, but uses IP address and port number to identify wether a connection should be allowed. I am currently using the 'internal' profile to make calls '<action application="bridge" data="sofia/internal/$1@80.40.150.150"/>', but this is causing a couple of strange anomalies. I have created a new xml file in sip_profiles and use 'sofia profile phisys-2circles start' to add it. But I get the following errors and the profile does not show in 'sofia status'
errors----------------------------------------------- 2011-08-06 17:38:28.620292 [NOTICE] sofia_reg.c:2775 Added gateway ' example.com' to profile 'phisys-2circles' 2011-08-06 17:38:28.620292 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.624397 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.625645 [NOTICE] sofia.c:3999 Started Profile phisys-2circles [sofia_reg_phisys-2circles] 2011-08-06 17:38:28.643631 [DEBUG] sofia.c:1471 Creating agent for phisys-2circles 2011-08-06 17:38:28.800994 [ERR] sofia.c:1533 Error Creating SIP UA for profile: phisys-2circles 2011-08-06 17:38:28.800994 [NOTICE] sofia_glue.c:5198 deleted gateway example.com
I have added phisys_2circles.xml to the sip_profiles directory and the contents are here http://pastebin.freeswitch.org/16998 Any advice welcome as I am at a lost what to do next.
Thanks
Lloyd T
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
The FS box is on a public IP address, but phones are behind a NAT. I have used a copy of the external profile. The FS box has only one NIC ( I'm using an upgraded HP terminal services device). The anamolies I get is when I dial out the effective_caller_id_number is sent instead of the outbound_caller_id_number. In fact I just realised that the is more of a problem in that the gateways are not registering. On 6 August 2011 19:01, Michael Collins <msc@freeswitch.org> wrote:
Lloyd,
It looks to me like you made a copy of internal.xml or external.xml - which is okay - I just want to make sure we know where you are coming from. My initial guess based on what I see is that you may already have the internal profile running on the same IP/port that you're trying to bind to.
Question: Is your FS box behind NAT? That's the most important thing to nail down. Next thing is whether your FS box has only one NIC.
Last question: what are the "strange anomalies" that occur when using the internal profile?
-MC
On Sat, Aug 6, 2011 at 9:57 AM, lloyd thomas <lloydie.t@gmail.com> wrote:
Hi All, I am trying to create a new sip profile as my provider does not use sip registrations, but uses IP address and port number to identify wether a connection should be allowed. I am currently using the 'internal' profile to make calls '<action application="bridge" data="sofia/internal/$1@80.40.150.150"/>', but this is causing a couple of strange anomalies. I have created a new xml file in sip_profiles and use 'sofia profile phisys-2circles start' to add it. But I get the following errors and the profile does not show in 'sofia status'
errors----------------------------------------------- 2011-08-06 17:38:28.620292 [NOTICE] sofia_reg.c:2775 Added gateway ' example.com' to profile 'phisys-2circles' 2011-08-06 17:38:28.620292 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.624397 [WARNING] sofia.c:1898 Ignoring duplicate gateway 'example.com' 2011-08-06 17:38:28.625645 [NOTICE] sofia.c:3999 Started Profile phisys-2circles [sofia_reg_phisys-2circles] 2011-08-06 17:38:28.643631 [DEBUG] sofia.c:1471 Creating agent for phisys-2circles 2011-08-06 17:38:28.800994 [ERR] sofia.c:1533 Error Creating SIP UA for profile: phisys-2circles 2011-08-06 17:38:28.800994 [NOTICE] sofia_glue.c:5198 deleted gateway example.com
I have added phisys_2circles.xml to the sip_profiles directory and the contents are here http://pastebin.freeswitch.org/16998 Any advice welcome as I am at a lost what to do next.
Thanks
Lloyd T
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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)
-
lloyd thomas
-
Michael Collins