Can you still do a 302 once you answer? <br>I thought that only works before you answer. it's a final response to an invite like a 488 etc.<br><br>You can try the deflect app instead which is similar in the end result redirect but it sends a SIP refer (like a blind transfer on a sip phone)<br>
so it works on answered calls.<br><br><div class="gmail_quote">On Tue, Apr 22, 2008 at 8:08 AM, Jonas Gauffin <<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I do a transfer to an extension that is redirected to another one.<br>
<br>
8888 => ivr app that transfers the call<br>
1201 => uses the redirect app in the dialplan to 1203<br>
1203 => extension that should be ringing<br>
<br>
this works:<br>
caller -> 1201 (redirects to 1203) -> 1203 is ringing<br>
caller -> 8888 (doing transfer to 1201) -> 1201 (redirects to 1203) -><br>
1203 is not ringing<br>
<br>
I have not touched the redirect at all in the dialplan between the two<br>
test cases.<br>
<br>
Do this to reproduce:<br>
1. Create a extension in the diaplan that uses the redirect app to<br>
another extension<br>
2. Create a javascript which does: session.answer();<br>
session.execute("transfer", "yourextension XML");<br>
<br>
<br>
On Tue, Apr 22, 2008 at 3:00 PM, Anthony Minessale<br>
<div class="Ih2E3d"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="Wj3C7c">> Didn't you say you wanted to do 302?<br>
> transfer app is a FS internal transfer.<br>
><br>
> 302 is initiated with session.execute("redirect", "<a href="mailto:sip%3Afoo@bar.com">sip:foo@bar.com</a>");<br>
><br>
> If you do actually mean to transfer within FS, (meaning send the current<br>
> call back to the dialplan)<br>
> Be sure to exit your script as soon as you execute transfer because from<br>
> that point you must quit your<br>
> script so the core can return the call to the RING state.<br>
><br>
><br>
><br>
><br>
> On Tue, Apr 22, 2008 at 7:32 AM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
> > can you provide the console output for this failure?<br>
> ><br>
> ><br>
> ><br>
> > On Apr 22, 2008, at 2:23 AM, Jonas Gauffin wrote:<br>
> ><br>
> > > The transfer is made with:<br>
> > > session.setVariable("ringback", "%(1000,4000,425)");<br>
> > > session.execute("transfer", user.extension + " XML");<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > Brian West<br>
> > <a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br>
> ><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>
> ><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>
><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>
> 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>
<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