[Freeswitch-users] Can't get release cause on dialplan

Vallimamod Abdullah vma at vallimamod.org
Thu Jun 7 20:32:21 UTC 2018


Hi,

I generally use ${originate_disposition} to get the leg B hangup cause.  Can you try it with your dialplan?


Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma at sip.solutions
linkedin.com/in/vallimamod
.


> On 7 Jun 2018, at 20:30, David Villasmil <david.villasmil.work at gmail.com> wrote:
> 
> Hello guys,
> 
> I've got the following extension:
> 
> <include>
>  <extension name="public_did0">
>    <condition field="destination_number" expression="^9999999$">
>      <action application="set" data="failure_causes=USER_BUSY,NO_ANSWER"/>
>      <action application="bridge" data="{continue_on_fail=true,hangup_after_bridge=false}sofia/external/9999999 at 1.2.3.4:5080"/>
>      <action application="log" data="CRIT Hangup cause was: ${bridge_hangup_cause}"/>
>    </condition>
>  </extension>
> </include>
> 
> But it just shows:
> 
> 2018-06-07 18:29:42.639898 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 65 [BEARERCAPABILITY_NOTIMPL]
> 2018-06-07 18:29:42.639898 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: BEARERCAPABILITY_NOTIMPL
> 2018-06-07 18:29:42.639898 [DEBUG] switch_channel.c:4758 Failure causes [USER_BUSY,NO_ANSWER]:  Cause: BEARERCAPABILITY_NOTIMPL
> EXECUTE sofia/external/david.villasmil at test-fs02 log(CRIT Hangup cause was: )
> 2018-06-07 18:29:42.639898 [CRIT] mod_dptools.c:1742 Hangup cause was:
> 2018-06-07 18:29:42.639898 [NOTICE]
> 
> 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



Cordialement,
-- 
Vallimamod Abdullah
SIP Solutions
Conseil & Développement de plateformes et services VOIP
vma at sip.solutions
+33 6 62 60 68 97
linkedin.com/in/vallimamod
.




More information about the FreeSWITCH-users mailing list