Re: [Freeswitch-users] dialplan and move temporarily
if you want to do that, Just use the "transfer" application. <action application="transfer" data="6000"/> you don't even need to bother with any sip then. 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 ----- Original Message ---- From: Jonas Gauffin <jonas.gauffin@gmail.com> To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, January 23, 2008 2:10:30 AM Subject: Re: [Freeswitch-users] dialplan and move temporarily Can I make freeswitch to use the dialplan for the redirect number too? That is, to run the dialplan again, but for the new number. (and by doing so, i will be able to provide a new extension instead of a complete sip uri) On Jan 22, 2008 3:10 PM, Anthony Minessale <anthmct@yahoo.com> wrote:
Yes you can use the "redirect" application to send a channel a protocol specific redirect response.
In the case of a SIP channel it will be a 302 and the arg should be the full sup uri (including sip:)
<action application="redirect" data="sip:user@domain.com"/>
you can wrap this in <condition field="source" expression="mod_sofia"
break="never"></condition>
if you want to only send it on sip channels.
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
----- Original Message ---- From: Jonas Gauffin <jonas.gauffin@gmail.com> To: freeswitch-users@lists.freeswitch.org Sent: Tuesday, January 22, 2008 6:46:50 AM Subject: [Freeswitch-users] dialplan and move temporarily
Hello
Can I in some way specify that an extension have moved temporarily (status 302) in the dialplan? I'm using my own server to provide FS with dialplans, and some times the user have forwarded their extension(s) using my web interface.
Regards, Jonas
_______________________________________________ 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
________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. _______________________________________________ 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
_______________________________________________ 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 ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
participants (1)
-
Anthony Minessale