<div dir="ltr">You can use lua script for generate dialstring<div>example</div><div><br></div><div><div><?xml version="1.0" encoding="UTF-8"?></div><div><include></div><div> <user id="2494"></div><div> <params></div><div> <param name="dial-string" value="${lua(dialstring.lua ${dialed_user}@${dialed_domain})}"/><br></div><div> <param name="password" value="password"/></div><div> <param name="vm-enabled" value="false"/></div><div> </params></div><div> <variables></div><div> <variable name="effective_caller_id_name" value="Extension 2494"/><br></div><div> <variable name="outbound_caller_id_name" value="Extension 2494"/></div><div> </variables></div><div> </user></div><div></include></div><div><br></div><div>To execute transfer from directory please use my PR</div><div><br></div><div><a href="https://freeswitch.org/jira/browse/FS-8209">https://freeswitch.org/jira/browse/FS-8209</a><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 10:55 AM, huseyin kalyoncu <span dir="ltr"><<a href="mailto:hkalyoncu@gmail.com" target="_blank">hkalyoncu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Tristan<div><br></div><div>i checked them. but loopback is the better choice for us. </div><div>thanks for your reply<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>huseyin</div></font></span><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 1:24 AM, Tristan Mahé <span dir="ltr"><<a href="mailto:t.mahe@b-and-c.net" target="_blank">t.mahe@b-and-c.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Maybe a per leg execute_on_ring or api_on_* ?<br>
<br>
ie data=[api_on_...=bla]firsturi,[api_on_...=blb]seconduri...<div><div><br>
<br>
<div>On 11/28/2015 09:19 AM, huseyin
kalyoncu wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">i think <b>loopback</b> will do the job
<div><br>
</div>
<div><action application="bridge" data="loopback/number"/></div>
<div>instead of </div>
<div><action application="bridge"
data="sofia/profile/number"/></div>
<div><br>
</div>
<div>sorry for the noise</div>
<div><br>
</div>
<div>huseyin</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Nov 28, 2015 at 6:08 PM,
huseyin kalyoncu <span dir="ltr"><<a href="mailto:hkalyoncu@gmail.com" target="_blank"></a><a href="mailto:hkalyoncu@gmail.com" target="_blank">hkalyoncu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font face="verdana, sans-serif">Hello<br>
<br>
Lets say i have a multiple bridge line like this:<br>
<br>
<action application="bridge"
data="sofia/some_interface/some_uri1,sofia/some_interface/some_uri2,sofia/some_interface/some_uri3"/><br>
<br>
or a single bridge:<br>
<br>
<action application="bridge"
data="sofia/some_interface/some_uri1"/><br>
<br>
Is there any way to execute different dialplan code for
each bridge string<br>
before directing call to endpoint?<br>
<br>
i tried to set force_transfer_context for even single
bridge string like in given example on this page: <br>
<br>
<a href="https://wiki.freeswitch.org/wiki/Force_transfer_context_example" target="_blank">https://wiki.freeswitch.org/wiki/Force_transfer_context_example</a></font><br>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div><font face="verdana, sans-serif">But it did not
worked. It did not transfer call to given context as
expected.</font></div>
<div><font face="verdana, sans-serif">Instead, it executed
bridge line directly.</font></div>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div><font face="verdana, sans-serif">I can use transfer
instead of bridge but it only works for single
extension not for multiple extensions.</font></div>
<div><span style="font-family:verdana,sans-serif"><br>
</span></div>
<div><span style="font-family:verdana,sans-serif">Is there
any way to achieve this? </span></div>
<div><span style="font-family:verdana,sans-serif"><br>
</span></div>
<div><span style="font-family:verdana,sans-serif">Thanks,</span></div>
<div><span style="font-family:verdana,sans-serif"><br>
</span></div>
<div><span style="font-family:verdana,sans-serif">Huseyin</span></div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>