Can you still do a 302 once you answer?&nbsp; <br>I thought that only works before you answer.&nbsp; it&#39;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 &lt;<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>&gt; 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 =&gt; ivr app that transfers the call<br>
1201 =&gt; uses the redirect app in the dialplan to 1203<br>
1203 =&gt; extension that should be ringing<br>
<br>
this works:<br>
caller -&gt; 1201 (redirects to 1203) -&gt; 1203 is ringing<br>
caller -&gt; 8888 (doing transfer to 1201) -&gt; 1201 (redirects to 1203) -&gt;<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(&quot;transfer&quot;, &quot;yourextension XML&quot;);<br>
<br>
<br>
On Tue, Apr 22, 2008 at 3:00 PM, Anthony Minessale<br>
<div class="Ih2E3d">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
</div><div><div></div><div class="Wj3C7c">&gt; &nbsp;Didn&#39;t you say you wanted to do 302?<br>
&gt; transfer app is a FS internal transfer.<br>
&gt;<br>
&gt; 302 is initiated with session.execute(&quot;redirect&quot;, &quot;<a href="mailto:sip%3Afoo@bar.com">sip:foo@bar.com</a>&quot;);<br>
&gt;<br>
&gt; If you do actually mean to transfer within FS, (meaning send the current<br>
&gt; call back to the dialplan)<br>
&gt; Be sure to exit your script as soon as you execute transfer because from<br>
&gt; that point you must quit your<br>
&gt; script so the core can return the call to the RING state.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 22, 2008 at 7:32 AM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br>
&gt; &gt; can you provide the console output for this failure?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Apr 22, 2008, at 2:23 AM, Jonas Gauffin wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; The transfer is made with:<br>
&gt; &gt; &gt; session.setVariable(&quot;ringback&quot;, &quot;%(1000,4000,425)&quot;);<br>
&gt; &gt; &gt; session.execute(&quot;transfer&quot;, user.extension + &quot; XML&quot;);<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Brian West<br>
&gt; &gt; <a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<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;<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;<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; 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>
<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