https://freeswitch.org/confluence/display/FREESWITCH/bypass_media_after_bridge

On Dec 29, 2019, at 9:57 AM, Mitchell Langs <napole@gmail.com> wrote:

Hi,
I need to originate 2 calls and later bridge them. Then Freeswitch needs to be removed from the call path.

uuid_simplify accomplishes this. But where do I put this command so that it is executed once the two calls are bridged? As far as I understand the dialplan or scripts pause when I issue the "intercept" or "uuid_bridge" command until the bridge is terminated.

I have also tried to set sip_auto_simplify=true but it had no effect.


Here's what I am executing:

originate {codec_string=PCMA,ignore_early_media=true}sofia/gateway/fritzbox/**620 testing XML public

<extension name="testing">
  <condition field="destination_number" expression="^testing$">
    <action application="set" data="api_result=${bgapi originate {ignore_early_media=true}sofia/gateway/fritzbox/**620 &intercept(${uuid})"/>
   ...
    <action application="playback" data="$${hold_music}"/>
  </condition>
</extension>

Kind Regards