in that case, it&#39;s probably a delay in the media stream where the app is queued when you press the key<br><br>try updating to trunk and add the new i flag to the flags param i.e. 1 b ai transfer::ff-transfer XML public<br>
<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 2:04 PM, Harry Vangberg <span dir="ltr">&lt;<a href="mailto:harry@vangberg.name">harry@vangberg.name</a>&gt;</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;">
Not exactly, as I said, if the original B-leg doesn&#39;t hang up, it will<br>
wait 20 second before transfering to the new extension (check the<br>
timestamps!) - but if the original B leg hangs up, it gets transfered<br>
to the extension immediately.<br>
<br>
Look at this:<br>
<br>
2009-09-24 18:29:48.138326 [DEBUG] switch_ivr_async.c:2042<br>
sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> Processing meta digit &#39;1&#39;<br>
[transfer::ff-transfer XML public]<br>
2009-09-24 18:29:48.138326 [DEBUG] switch_core_session.c:813 Send<br>
signal sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> [BREAK]<br>
2009-09-24 18:29:48.138326 [DEBUG] switch_ivr_bridge.c:228<br>
sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> receive message [UNBRIDGE]<br>
2009-09-24 18:29:48.138326 [DEBUG] switch_core_session.c:630 Send<br>
signal sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> [BREAK]<br>
2009-09-24 18:29:48.278342 [DEBUG] switch_core_session.c:813 Send<br>
signal sofia/external/46934488 [BREAK]<br>
2009-09-24 18:29:48.298341 [DEBUG] switch_ivr_bridge.c:228<br>
sofia/external/46934488 receive message [UNBRIDGE]<br>
2009-09-24 18:29:48.298341 [DEBUG] switch_core_session.c:630 Send<br>
signal sofia/external/46934488 [BREAK]<br>
2009-09-24 18:29:48.438320 [DEBUG] switch_ivr.c:540<br>
sofia/external/46934488 Command Execute playback(local_stream://moh)<br>
EXECUTE sofia/external/46934488 playback(local_stream://moh)<br>
2009-09-24 18:29:48.438320 [WARNING] mod_local_stream.c:318 Unknown<br>
source moh, trying &#39;default&#39;<br>
2009-09-24 18:29:48.438320 [ERR] mod_local_stream.c:327 Unknown source default<br>
2009-09-24 18:29:48.438320 [DEBUG] switch_ivr_bridge.c:231<br>
sofia/external/46934488 receive message [BRIDGE]<br>
2009-09-24 18:29:48.438320 [DEBUG] switch_core_session.c:630 Send<br>
signal sofia/external/46934488 [BREAK]<br>
2009-09-24 18:29:48.438320 [DEBUG] switch_ivr_bridge.c:233 Send signal<br>
sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> [BREAK]<br>
2009-09-24 18:30:09.111448 [DEBUG] switch_ivr.c:540<br>
sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> Command Execute<br>
transfer(ff-transfer XML public)<br>
EXECUTE sofia/external/<a href="mailto:hemmeligt@129.142.224.250">hemmeligt@129.142.224.250</a> transfer(ff-transfer<br>
XML public)<br>
<br>
&gt;From 18:29:48 to 19:30:09 nothing happens - it&#39;s first then it&#39;s<br>
transferred to the new extension, and first after that that the new<br>
B-leg will even get called.<br>
<br>
2009/9/24 Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; because it&#39;s waiting for the other party to answer<br>
&gt;<br>
&gt; if you want to hear ringback or music while you are waiting<br>
&gt; see:<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones" target="_blank">http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones</a><br>
&gt;<br>
&gt; specifically transfer_ringback<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Sep 24, 2009 at 1:35 PM, Harry Vangberg &lt;<a href="mailto:harry@vangberg.name">harry@vangberg.name</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello<br>
&gt;&gt;<br>
&gt;&gt; My setup is this (I&#39;ve simplified everything, because a lot of my<br>
&gt;&gt; logic isn&#39;t necesarry for showcasing this): A calls in, transfer is<br>
&gt;&gt; bound as meta app, B is bridged. When the meta app is processed, the<br>
&gt;&gt; call is transfered to a new extension, which rebridges A. But! After<br>
&gt;&gt; triggering the meta app, it hangs 20 seconds, until transfering to the<br>
&gt;&gt; new extension, unless the B-leg hangs up manually.<br>
&gt;&gt;<br>
&gt;&gt; It should be noted that I&#39;ve set dtmf-type=sip-info, as I would like<br>
&gt;&gt; to bypass media–if there&#39;s a better solution to get DTMF events while<br>
&gt;&gt; bypassing media, please say so, as I know the SIP INFO solution is<br>
&gt;&gt; kinda havoced.<br>
&gt;&gt;<br>
&gt;&gt; This is my dialplan:<br>
&gt;&gt;<br>
&gt;&gt; &lt;include&gt;<br>
&gt;&gt;  &lt;context name=&quot;public&quot;&gt;<br>
&gt;&gt;<br>
&gt;&gt;    &lt;extension name=&quot;ff-ivr&quot;&gt;<br>
&gt;&gt;      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;<br>
&gt;&gt;        &lt;action application=&quot;answer&quot; /&gt;<br>
&gt;&gt;        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b a<br>
&gt;&gt; transfer::ff-transfer XML public&quot; /&gt;<br>
&gt;&gt;        &lt;action application=&quot;bridge&quot;<br>
&gt;&gt; data=&quot;sofia/gateway/<a href="http://gw1.fonet.dk/46934488" target="_blank">gw1.fonet.dk/46934488</a>&quot; /&gt;<br>
&gt;&gt;      &lt;/condition&gt;<br>
&gt;&gt;    &lt;/extension&gt;<br>
&gt;&gt;<br>
&gt;&gt;    &lt;extension name=&quot;ff-transfer&quot;&gt;<br>
&gt;&gt;      &lt;condition field=&quot;destination_number&quot; expression=&quot;^ff-transfer$&quot;&gt;<br>
&gt;&gt;        &lt;action application=&quot;bridge&quot;<br>
&gt;&gt; data=&quot;sofia/gateway/<a href="http://gw1.fonet.dk/31354228" target="_blank">gw1.fonet.dk/31354228</a>&quot; /&gt;<br>
&gt;&gt;      &lt;/condition&gt;<br>
&gt;&gt;    &lt;/extension&gt;<br>
&gt;&gt;    ...<br>
&gt;&gt;   &lt;/context&gt;<br>
&gt;&gt; &lt;/include&gt;<br>
&gt;&gt;<br>
&gt;&gt; A full trace of a session with A calling in, B answering, B triggering<br>
&gt;&gt; meta app, waiting for transfer, and finally bridge to C is attached.<br>
&gt;&gt;<br>
&gt;&gt; This is using freeswitch-trunk@14962<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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>