Can you still do a 302 once you answer? 
I thought that only works before you answer.  it's a final response to an invite like a 488 etc.

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)
so it works on answered calls.

On Tue, Apr 22, 2008 at 8:08 AM, Jonas Gauffin <jonas.gauffin@gmail.com> wrote:
I do a transfer to an extension that is redirected to another one.

8888 => ivr app that transfers the call
1201 => uses the redirect app in the dialplan to 1203
1203 => extension that should be ringing

this works:
caller -> 1201 (redirects to 1203) -> 1203 is ringing
caller -> 8888 (doing transfer to 1201) -> 1201 (redirects to 1203) ->
1203 is not ringing

I have not touched the redirect at all in the dialplan between the two
test cases.

Do this to reproduce:
1. Create a extension in the diaplan that uses the redirect app to
another extension
2. Create a javascript which does: session.answer();
session.execute("transfer", "yourextension XML");


On Tue, Apr 22, 2008 at 3:00 PM, Anthony Minessale
>  Didn't you say you wanted to do 302?
> transfer app is a FS internal transfer.
>
> 302 is initiated with session.execute("redirect", "sip:foo@bar.com");
>
> If you do actually mean to transfer within FS, (meaning send the current
> call back to the dialplan)
> Be sure to exit your script as soon as you execute transfer because from
> that point you must quit your
> script so the core can return the call to the RING state.
>
>
>
>
> On Tue, Apr 22, 2008 at 7:32 AM, Brian West <brian@freeswitch.org> wrote:
> > can you provide the console output for this failure?
> >
> >
> >
> > On Apr 22, 2008, at 2:23 AM, Jonas Gauffin wrote:
> >
> > > The transfer is made with:
> > > session.setVariable("ringback", "%(1000,4000,425)");
> > > session.execute("transfer", user.extension + " XML");
> >
> >
> >
> >
> > Brian West
> > sip:brian@freeswitch.org
> >
> >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users@lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
>
>
> --
>
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> iax:guest@conference.freeswitch.org/888
> googletalk:conf+888@conference.freeswitch.org
> pstn:213-799-1400
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400