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 <[EMAIL PROTECTED]>
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
> <[EMAIL PROTECTED]> wrote:
> > Didn't you say you wanted to do 302?
> > transfer app is a FS internal transfer.
> >
> > 302 is initiated with session.execute("redirect", "sip:[EMAIL
> > PROTECTED]<[EMAIL PROTECTED]>
> ");
> >
> > 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 <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Freeswitch-users mailing list
> > > [email protected]
> > > 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > iax:[EMAIL PROTECTED]/888
> > googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > pstn:213-799-1400
> > _______________________________________________
> > Freeswitch-users mailing list
> > [email protected]
> > 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
> [email protected]
> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org