uuid_simplify after intercept/bridge
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
https://freeswitch.org/confluence/display/FREESWITCH/bypass_media_after_brid... <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
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_brid...
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
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_brid...
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
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@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@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_brid...
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 _________________________________________________________________________
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
Bridge requires some time to establish. I believe you should use sched_api when call uuid_simplify. -- Regards, Oleg. On Wed, Jan 1, 2020 at 8:58 PM Mitchell Langs <napole@gmail.com> wrote:
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@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@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_brid...
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 _________________________________________________________________________
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
Thank you Oleg. I guess I will have to use that. Am Do., 2. Jan. 2020 um 09:53 Uhr schrieb Oleg Belousov <obelousov@gmail.com
:
Bridge requires some time to establish. I believe you should use sched_api when call uuid_simplify. -- Regards, Oleg.
On Wed, Jan 1, 2020 at 8:58 PM Mitchell Langs <napole@gmail.com> wrote:
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@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@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_brid...
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 _________________________________________________________________________
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
_________________________________________________________________________
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
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@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@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@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_brid...
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 _________________________________________________________________________
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
-- With best regards Dmitry Borisov
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@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@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@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@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_brid...
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 _________________________________________________________________________
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
-- 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@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
participants (5)
-
Dmitriy Borisov
-
Mike Jerris
-
Mitchell Langs
-
Oleg Belousov
-
sagar malam