in that case, it'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"><<a href="mailto:harry@vangberg.name">harry@vangberg.name</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;">
Not exactly, as I said, if the original B-leg doesn'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 '1'<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 'default'<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>
>From 18:29:48 to 19:30:09 nothing happens - it's first then it'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 <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>>:<br>
<div><div></div><div class="h5">> because it's waiting for the other party to answer<br>
><br>
> if you want to hear ringback or music while you are waiting<br>
> see:<br>
> <a href="http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones" target="_blank">http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones</a><br>
><br>
> specifically transfer_ringback<br>
><br>
><br>
> On Thu, Sep 24, 2009 at 1:35 PM, Harry Vangberg <<a href="mailto:harry@vangberg.name">harry@vangberg.name</a>> wrote:<br>
>><br>
>> Hello<br>
>><br>
>> My setup is this (I've simplified everything, because a lot of my<br>
>> logic isn't necesarry for showcasing this): A calls in, transfer is<br>
>> bound as meta app, B is bridged. When the meta app is processed, the<br>
>> call is transfered to a new extension, which rebridges A. But! After<br>
>> triggering the meta app, it hangs 20 seconds, until transfering to the<br>
>> new extension, unless the B-leg hangs up manually.<br>
>><br>
>> It should be noted that I've set dtmf-type=sip-info, as I would like<br>
>> to bypass media–if there's a better solution to get DTMF events while<br>
>> bypassing media, please say so, as I know the SIP INFO solution is<br>
>> kinda havoced.<br>
>><br>
>> This is my dialplan:<br>
>><br>
>> <include><br>
>> <context name="public"><br>
>><br>
>> <extension name="ff-ivr"><br>
>> <condition field="destination_number" expression="^(\d+)$"><br>
>> <action application="answer" /><br>
>> <action application="bind_meta_app" data="1 b a<br>
>> transfer::ff-transfer XML public" /><br>
>> <action application="bridge"<br>
>> data="sofia/gateway/<a href="http://gw1.fonet.dk/46934488" target="_blank">gw1.fonet.dk/46934488</a>" /><br>
>> </condition><br>
>> </extension><br>
>><br>
>> <extension name="ff-transfer"><br>
>> <condition field="destination_number" expression="^ff-transfer$"><br>
>> <action application="bridge"<br>
>> data="sofia/gateway/<a href="http://gw1.fonet.dk/31354228" target="_blank">gw1.fonet.dk/31354228</a>" /><br>
>> </condition><br>
>> </extension><br>
>> ...<br>
>> </context><br>
>> </include><br>
>><br>
>> A full trace of a session with A calling in, B answering, B triggering<br>
>> meta app, waiting for transfer, and finally bridge to C is attached.<br>
>><br>
>> This is using freeswitch-trunk@14962<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>
>><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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" target="_blank">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>
><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>
><br>
><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>