[Freeswitch-users] failure_causes and DC code...

Vladimir Getmanshchuk vladget at gmail.com
Thu Nov 13 13:42:15 MSK 2014


Looks like failure_causes do something wrong...

dialplan:

<context name="default">

  <extension name="default">

    <condition field="destination_number" expression="^\+?(.*)$">

      <action application="set" data="failure_causes=17"/>

       <action application="bridge" data="error/normal_circuit_congestion"/>

      <action application="hangup" data="${last_bridge_hangup_cause}"/>

    </condition>

  </extension>

</context>


At sip:

SIP/2.0 480 Temporarily Unavailable.

Reason: Q.850;cause=16;text="NORMAL_CLEARING".

Content-Length: 0.
with commented <!-- <action application="set" data="failure_causes=17"/> -->

at sip 503 with 34 as expected...

-- 
Yours sincerely,
Vladimir Getmanshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141113/f931151e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list