SNOM Phones - BEARERCAPABILITY_NOTAUTH error
Hello All, I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504 With regards, Sirish
I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan < Sirish.MasurMohan@oa.com.au> wrote:
Hello All,****
** **
I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. ****
** **
Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504****
** **
With regards,****
Sirish****
** **
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
I also interested On Fri, 25 Jan 2013 12:09:27 -0800 Michael Collins <msc@freeswitch.org> wrote:
I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC
On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan < Sirish.MasurMohan@oa.com.au> wrote:
Hello All,****
** **
I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. ****
** **
Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504****
** **
With regards,****
Sirish****
** **
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
--
Hi Michael, I have put the logs and SIP trace in the pastebin: http://pastebin.freeswitch.org/20514 I haven't created extensions for the SNOM phones in freeswitch, as the ACL for registration and incoming are Open - could this be a reason for the error? acl.conf.xml - <list name="domains" default="allow"> <node type="allow" domain="$${domain}"/> </list> sip_profiles/internal.xml <param name="apply-inbound-acl" value="domains"/> <param name="apply-register-acl" value="domains"/> With regards, Sirish From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Saturday, 26 January 2013 7:09 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan <Sirish.MasurMohan@oa.com.au<mailto:Sirish.MasurMohan@oa.com.au>> wrote: Hello All, I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504 With regards, Sirish _________________________________________________________________________ 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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Hi Michael, As an experiment, I tried creating specific extensions for each phone, and then having specific dial plan, such as, <extension name="3007" continue="true"> <condition field="context" expression="public" /> <condition field="destination_number" expression="^3007$" > <action application="bridge" data="user/3007" /> </condition> </extension> With these changes, when I dial from one SNOM phone to other, the destination phone rings for a short time (say a second), after which the source phone shows a 403 forbidden error. Paste-bin of this new behaviour: http://pastebin.freeswitch.org/20515 With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 9:46 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, I have put the logs and SIP trace in the pastebin: http://pastebin.freeswitch.org/20514 I haven't created extensions for the SNOM phones in freeswitch, as the ACL for registration and incoming are Open - could this be a reason for the error? acl.conf.xml - <list name="domains" default="allow"> <node type="allow" domain="$${domain}"/> </list> sip_profiles/internal.xml <param name="apply-inbound-acl" value="domains"/> <param name="apply-register-acl" value="domains"/> With regards, Sirish From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Saturday, 26 January 2013 7:09 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan <Sirish.MasurMohan@oa.com.au<mailto:Sirish.MasurMohan@oa.com.au>> wrote: Hello All, I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504 With regards, Sirish _________________________________________________________________________ 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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Hi Michael, I had a 'sleep' action in my dialplan, which seemed to cause the BEARERCAPABILITY_NOTAUTH error. If I comment it out, the error goes away. However, it makes way to a new error, '[CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]' My dial plan is as follows, am I missing something? <extension name="TO_SNOM_OPERATOR"> <condition field="destination_number" expression="^30\d{2}$"> <action application="set" data="record_min_sec=0"/> <!--<action application="sleep" data="1000"/>--> <action application="set" data="hangup_after_bridge=false"/> <action application="bridge" data="{ignore_early_media=true}sofia/external/${destination_number}@dst.dst.dst.dst"/> <action application="info"/> <action application="respond" data="503"/> <action application="hangup"/> </condition> </extension> With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 2:47 PM To: 'FreeSWITCH Users Help' Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, As an experiment, I tried creating specific extensions for each phone, and then having specific dial plan, such as, <extension name="3007" continue="true"> <condition field="context" expression="public" /> <condition field="destination_number" expression="^3007$" > <action application="bridge" data="user/3007" /> </condition> </extension> With these changes, when I dial from one SNOM phone to other, the destination phone rings for a short time (say a second), after which the source phone shows a 403 forbidden error. Paste-bin of this new behaviour: http://pastebin.freeswitch.org/20515 With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 9:46 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, I have put the logs and SIP trace in the pastebin: http://pastebin.freeswitch.org/20514 I haven't created extensions for the SNOM phones in freeswitch, as the ACL for registration and incoming are Open - could this be a reason for the error? acl.conf.xml - <list name="domains" default="allow"> <node type="allow" domain="$${domain}"/> </list> sip_profiles/internal.xml <param name="apply-inbound-acl" value="domains"/> <param name="apply-register-acl" value="domains"/> With regards, Sirish From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Saturday, 26 January 2013 7:09 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan <Sirish.MasurMohan@oa.com.au<mailto:Sirish.MasurMohan@oa.com.au>> wrote: Hello All, I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504 With regards, Sirish _________________________________________________________________________ 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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Ok, I have been able to temporarily work around this problem - in /usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xml, when I change the listen-port from 8021 to any other port(with listen-IP being 0.0.0.0), SNOM calls go through smoothly - if they are set to 8021, I get a BEARERCAPABILITY_NOTAUTH problem. However, I need port 8021 as external applications are dependant on the same.. Would appreciate any inputs. With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 5:27 PM To: 'FreeSWITCH Users Help' Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, I had a 'sleep' action in my dialplan, which seemed to cause the BEARERCAPABILITY_NOTAUTH error. If I comment it out, the error goes away. However, it makes way to a new error, '[CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]' My dial plan is as follows, am I missing something? <extension name="TO_SNOM_OPERATOR"> <condition field="destination_number" expression="^30\d{2}$"> <action application="set" data="record_min_sec=0"/> <!--<action application="sleep" data="1000"/>--> <action application="set" data="hangup_after_bridge=false"/> <action application="bridge" data="{ignore_early_media=true}sofia/external/${destination_number}@dst.dst.dst.dst<mailto:%7bignore_early_media=true%7dsofia/external/$%7bdestination_number%7d@dst.dst.dst.dst>"/> <action application="info"/> <action application="respond" data="503"/> <action application="hangup"/> </condition> </extension> With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 2:47 PM To: 'FreeSWITCH Users Help' Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, As an experiment, I tried creating specific extensions for each phone, and then having specific dial plan, such as, <extension name="3007" continue="true"> <condition field="context" expression="public" /> <condition field="destination_number" expression="^3007$" > <action application="bridge" data="user/3007" /> </condition> </extension> With these changes, when I dial from one SNOM phone to other, the destination phone rings for a short time (say a second), after which the source phone shows a 403 forbidden error. Paste-bin of this new behaviour: http://pastebin.freeswitch.org/20515 With regards, Sirish From: Sirish Masur Mohan Sent: Tuesday, 29 January 2013 9:46 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error Hi Michael, I have put the logs and SIP trace in the pastebin: http://pastebin.freeswitch.org/20514 I haven't created extensions for the SNOM phones in freeswitch, as the ACL for registration and incoming are Open - could this be a reason for the error? acl.conf.xml - <list name="domains" default="allow"> <node type="allow" domain="$${domain}"/> </list> sip_profiles/internal.xml <param name="apply-inbound-acl" value="domains"/> <param name="apply-register-acl" value="domains"/> With regards, Sirish From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Saturday, 26 January 2013 7:09 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error I confess that I haven't seen this specific error before. Could you get the SIP trace of this call and put it on pastebin as well? That might give you the information you need to crack the case. -MC On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan <Sirish.MasurMohan@oa.com.au<mailto:Sirish.MasurMohan@oa.com.au>> wrote: Hello All, I think I am missing something obvious here, but I am having trouble trying to make calls between two SNOM phones. I have an open ACL for registration and I keep getting BEARERCAPABILITY_NOTAUTH error when I try to make calls. Would appreciate any inputs on how to debug this! Logs are at : http://pastebin.freeswitch.org/20504 With regards, Sirish _________________________________________________________________________ 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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (3)
-
Michael Collins
-
royj
-
Sirish Masur Mohan