[Freeswitch-users] SNOM Phones - BEARERCAPABILITY_NOTAUTH error

Sirish Masur Mohan Sirish.MasurMohan at oa.com.au
Tue Jan 29 09:27:14 MSK 2013

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"/>

With regards,

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" />

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:

With regards,

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}"/>

    <param name="apply-inbound-acl" value="domains"/>
    <param name="apply-register-acl" value="domains"/>

With regards,

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at 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.
On Thu, Jan 24, 2013 at 10:41 PM, Sirish Masur Mohan <Sirish.MasurMohan at oa.com.au<mailto:Sirish.MasurMohan at 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,

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>

Michael S Collins
Twitter: @mercutioviz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130129/d60ed545/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list