Maybe a per leg execute_on_ring or api_on_* ?

ie data=[api_on_...=bla]firsturi,[api_on_...=blb]seconduri...

On 11/28/2015 09:19 AM, huseyin kalyoncu wrote:
i think loopback will do the job

<action application="bridge" data="loopback/number"/>
instead of 
<action application="bridge" data="sofia/profile/number"/>

sorry for the noise

huseyin


On Sat, Nov 28, 2015 at 6:08 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello

Lets say i have a multiple bridge line like this:

<action application="bridge" data="sofia/some_interface/some_uri1,sofia/some_interface/some_uri2,sofia/some_interface/some_uri3"/>

or a single bridge:

<action application="bridge" data="sofia/some_interface/some_uri1"/>

Is there any way to execute different dialplan code for each bridge string
before directing call to endpoint?

i tried to set  force_transfer_context for even single bridge string like in given example on this page: 

https://wiki.freeswitch.org/wiki/Force_transfer_context_example


But it did not worked. It did not transfer call to given context as expected.
Instead, it executed bridge line directly.

I can use transfer instead of bridge but it only works for single extension not for multiple extensions.

Is there any way to achieve this? 

Thanks,

Huseyin



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org