Hello, while doing a bridge or originate, is it possible to send a username in the header To that is different from the one in the Request-URI? This is to interoperate with a GW that understands this as a request for redirection (it will send a call to the PSTN with a parameter ISUP RedirectingNumber). br, Takeshi
----- Original Message ----- From: mayamatakeshi To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, February 24, 2010 8:12 AM Subject: [Freeswitch-users] Setting username in the header To Hello, while doing a bridge or originate, is it possible to send a username in the header To that is different from the one in the Request-URI? This is to interoperate with a GW that understands this as a request for redirection (it will send a call to the PSTN with a parameter ISUP RedirectingNumber). br, Takeshi ------------------------------------------------------------------------------ _______________________________________________ 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 Maybe with chanel variables on wiki
use the variable {sip_invite_to_uri=<desired number>} at the beginning of your dial string you can either supply a full sup uri or just then number alternatively, you can terminate your dial string with ^<desired number> On Wed, Feb 24, 2010 at 11:36 AM, Madovsky <infos@madovsky.org> wrote:
----- Original Message ----- *From:* mayamatakeshi <mayamatakeshi@gmail.com> *To:* freeswitch-users@lists.freeswitch.org *Sent:* Wednesday, February 24, 2010 8:12 AM *Subject:* [Freeswitch-users] Setting username in the header To
Hello, while doing a bridge or originate, is it possible to send a username in the header To that is different from the one in the Request-URI? This is to interoperate with a GW that understands this as a request for redirection (it will send a call to the PSTN with a parameter ISUP RedirectingNumber).
br, Takeshi
------------------------------
_______________________________________________ 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
Maybe with chanel variables on wiki
_______________________________________________ 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/ Twitter: http://twitter.com/FreeSWITCH_wire 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:+19193869900
Thanks, I have added an entry for it in the wiki: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_invite_to_uri On Thu, Feb 25, 2010 at 4:08 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
use the variable {sip_invite_to_uri=<desired number>} at the beginning of your dial string you can either supply a full sup uri or just then number alternatively, you can terminate your dial string with ^<desired number>
On Wed, Feb 24, 2010 at 11:36 AM, Madovsky <infos@madovsky.org> wrote:
----- Original Message ----- *From:* mayamatakeshi <mayamatakeshi@gmail.com> *To:* freeswitch-users@lists.freeswitch.org *Sent:* Wednesday, February 24, 2010 8:12 AM *Subject:* [Freeswitch-users] Setting username in the header To
Hello, while doing a bridge or originate, is it possible to send a username in the header To that is different from the one in the Request-URI? This is to interoperate with a GW that understands this as a request for redirection (it will send a call to the PSTN with a parameter ISUP RedirectingNumber).
br, Takeshi
------------------------------
_______________________________________________ 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
Maybe with chanel variables on wiki
_______________________________________________ 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/ Twitter: http://twitter.com/FreeSWITCH_wire
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:+19193869900
_______________________________________________ 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
Example when replying to the list... Please do not echo back the full headers of possible LIKE below. To answer your question this is possible if you set the sip_invite_to_uri (needs the full URI) /b On Feb 24, 2010, at 11:36 AM, Madovsky wrote:
----- Original Message ----- From: mayamatakeshi To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, February 24, 2010 8:12 AM Subject: [Freeswitch-users] Setting username in the header To
Hello, while doing a bridge or originate, is it possible to send a username in the header To that is different from the one in the Request-URI? This is to interoperate with a GW that understands this as a request for redirection (it will send a call to the PSTN with a parameter ISUP RedirectingNumber).
br, Takeshi
_______________________________________________ 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
Maybe with chanel variables on wiki _______________________________________________ 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
participants (4)
-
Anthony Minessale
-
Brian West
-
Madovsky
-
mayamatakeshi