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>
----- Original Message -----From: mayamatakeshiSent: Wednesday, February 24, 2010 8:12 AMSubject: [Freeswitch-users] Setting username in the header ToHello,
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 variableson 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