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
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
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 <mailto: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
Hello Tristan i checked them. but loopback is the better choice for us. thanks for your reply huseyin On Tue, Dec 1, 2015 at 1:24 AM, Tristan Mahé <t.mahe@b-and-c.net> wrote:
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> 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.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
You can use lua script for generate dialstring example <?xml version="1.0" encoding="UTF-8"?> <include> <user id="2494"> <params> <param name="dial-string" value="${lua(dialstring.lua ${dialed_user}@${dialed_domain})}"/> <param name="password" value="password"/> <param name="vm-enabled" value="false"/> </params> <variables> <variable name="effective_caller_id_name" value="Extension 2494"/> <variable name="outbound_caller_id_name" value="Extension 2494"/> </variables> </user> </include> To execute transfer from directory please use my PR https://freeswitch.org/jira/browse/FS-8209 On Tue, Dec 1, 2015 at 10:55 AM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello Tristan
i checked them. but loopback is the better choice for us. thanks for your reply
huseyin
On Tue, Dec 1, 2015 at 1:24 AM, Tristan Mahé <t.mahe@b-and-c.net> wrote:
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> 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.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (3)
-
huseyin kalyoncu
-
Sergey Safarov
-
Tristan Mahé