[Freeswitch-users] park_after_bridge don't working for busy destination!

Alexander Haugg Alexander.Haugg at c4b.de
Fri Mar 31 14:02:18 MSD 2017


Hi,

Ich try to catch the leg A after the destination is hangup with the cause busy to signalling a busy tone stream to the caller (leg A)

But leg A will dropped too.

Here is the test dialplan:

<context name="H3KSip_SP_outbound">
  <extension name="outbound_softphone">
    <condition field="${channel_name}" expression="^sofia/H3KSip_B2Bua/.*$" break="on-false">
      <action application="set" data="ringback=%(1500,3000,425)" />
      <action application="set" data="instant_ringback=true" />
      <action application="multiset" data="ignore_early_media=true hangup_after_bridge=false park_after_bridge=true" />
      <action application="export" data="nolocal:absolute_codec_string=G722,PCMU,PCMA" />
      <action application="bridge" data="{ignore_early_media=true}sofia/gateway/GW_H3KSip/${destination_number}" />
      <action application="log" data="ERR last_bridge_hangup_cause=${last_bridge_hangup_cause}" />
      <action application="log" data="ERR bridge_hangup_cause=${bridge_hangup_cause}" />
      <action application="sleep" data="1000" />
      <action application="playback" data="tone_stream://%(480,480,425);loops=3" />
      <action application="hangup" data="USER_BUSY"/>
    </condition>
  </extension>
</context>

Whats wrong?

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170331/87cbbe8c/attachment.html 


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