<div dir="ltr"><action application="transfer" data="-bleg 2103" /><br><br>if the call is currently in a bridge it will transfer the other side of the call instead of itself.<br>also<br><br><action application="transfer" data="-both 2103" /><br>
<br>would transfer both legs of the call to the same ext. i.e a conference extension etc.<br><br><br><br><br><br><div class="gmail_quote">On Fri, Aug 15, 2008 at 10:28 AM, Francisco de Ezcurra <span dir="ltr"><<a href="mailto:francisco@deezcurra.com.ar">francisco@deezcurra.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anthony<br>
<br>
I was not answering the call originated via mod_event_socket so that was why<br>
it didn't work as I expected. My fault. :(<br>
<br>
I tried to use the -bleg with transfer but i could not figure out how to use<br>
it so used uuid_transfer like this and it is working as I need.<br>
<div class="Ih2E3d"><br>
<extension name="intercept"><br>
<condition field="destination_number" expression="2101"><br>
</div> <action application="set"<br>
data="bleg=c0153280-6ad8-11dd-85e3-9108b1fae78b"/><br>
<action application="answer" /><br>
<action application="export" data="hangup_after_bridge=false"/><br>
<action application="set" data="api_hangup_hook=uuid_transfer<br>
${bleg} 2102" /><br>
<action application="intercept" data="${bleg}"/><br>
<action application="transfer" data="2103" /><br>
</condition><br>
</extension><br>
<br>
Is there any way to use the transfer application with -bleg in the dialplan ?<br>
If yes, how is the syntax ?<br>
<br>
Thanks in advance<br>
Panchi<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Thursday 14 August 2008, Anthony Minessale wrote:<br>
The extension that executed the intercept app is the one that will be able<br>
to move on in the dialplan after the call because it's the effective A leg<br>
and that is the extension that had a dialplan instruction set.<br>
<br>
BTW,<br>
you can execute transfer with the -bleg option to perform the transfer on<br>
the opposite leg of the call.<br>
<br>
<br>
<br>
On Thu, Aug 14, 2008 at 3:07 PM, Francisco de Ezcurra <<br>
<br>
<a href="mailto:francisco@deezcurra.com.ar">francisco@deezcurra.com.ar</a>> wrote:<br>
> The fix works if i hangup the channel that makes the intercept. The other<br>
> leg<br>
> goes back to the fifo. But when i hangup the other leg the channel that<br>
> made<br>
> the intercept is hung up.<br>
><br>
> What I expect with this (ext. 2101) dialplan is that the channel that<br>
> makes<br>
> the intercept executes the transfer to 2102 when the other leg hangs up.<br>
><br>
> Is this possible? I can not use the variable api_hangup_hook on the<br>
> channel created in the originate via MES because I don't know at that<br>
> moment the other leg.<br>
><br>
><br>
> Thanks<br>
> Panchi<br>
<br>
</div></div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>