[Freeswitch-users] uuid_simplify after intercept/bridge

Mitchell Langs napole at gmail.com
Tue Jan 7 21:00:23 UTC 2020


No, in my setup I originate 2 calls and only after they are both answered
bridge/intercept them. Therefore api_on_post_originate will run before they
are bridged.

Am Di., 7. Jan. 2020 um 16:37 Uhr schrieb Dmitriy Borisov <
borik.internet at gmail.com>:

> You can use api_on_originate or api_on_post_originate to run some API
> command (such uuid_simplify) on a successful bridge
>
> ср, 1 янв. 2020 г. в 20:16, Mitchell Langs <napole at gmail.com>:
>
>> This doesn't work because the bridge has not been established when uuid_simplify
>> is executed.
>>
>> Am Mi., 1. Jan. 2020 um 15:14 Uhr schrieb sagar malam <
>> sagarmalam at gmail.com>:
>>
>>> 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 at 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 at freeswitch.org>:
>>>>
>>>>>
>>>>> https://freeswitch.org/confluence/display/FREESWITCH/bypass_media_after_bridge
>>>>>
>>>>> On Dec 29, 2019, at 9:57 AM, Mitchell Langs <napole at 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 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
>>>>
>>>>
>>>> _________________________________________________________________________
>>>>
>>>> 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 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
>>>
>>>
>>>
>>> --
>>> Thanks,
>>>
>>> Sagar
>>> _________________________________________________________________________
>>>
>>> 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 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
>>
>> _________________________________________________________________________
>>
>> 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 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
>
>
>
> --
> With best regards
>    Dmitry Borisov
> _________________________________________________________________________
>
> 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200107/96467958/attachment-0001.html>


More information about the FreeSWITCH-users mailing list