Try this :
 <action application="set" data="api_result=${bgapi originate {ignore_early_media=true, api_on_media=uuid_simplify ${uuid} } sofia/gateway/fritzbox/**620 &intercept(${uuid})"/>




On Tue, Dec 31, 2019 at 4:27 PM Mitchell Langs <napole@gmail.com> wrote:
Thank you for the idea, Mike!
However bypass_media_after_bridge only handles the media. The sip messages are still being exchanged over Freeswitch after this. That means the calls between freeswitch and the gateway are still active. The gateway has a limit for concurrent calls. Therefore I want to call uuid_simplify when the bridge starts. For the gateway this would reduce the number of concurrent calls by two.

Am Mo., 30. Dez. 2019 um 20:57 Uhr schrieb Mike Jerris <mike@freeswitch.org>:
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

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--
Thanks,

Sagar