I think it will always work. But I am not 100% sure. On Tue, Apr 22, 2008 at 8:44 AM, Jonas Gauffin <jonas.gauffin@gmail.com> wrote:
Ahh. doh. Never thought of that. You are of course correct.
Do deflect work both with unanswered and answered calls? Or do I need to use a check whether the call have been answered when it hits the dialplan?
On Tue, Apr 22, 2008 at 3:18 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
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
<anthony.minessale@gmail.com> 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:foo@bar.com<sip%3Afoo@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 <sip%3Abrian@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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400