[Freeswitch-users] Modify sip_invite_req_uri, sip_invite_to_uri

Brian Foster bdfoster at endigotech.com
Fri Jan 20 17:55:11 MSK 2012


In this example:

send 1149 bytes to udp/[<extension_ip>]:5060 at 14:47:46.972424:
   ------------------------------------------------------------------------
   INVITE sip:<extension>@<extension_ip> SIP/2.0
   Via: SIP/2.0/UDP 204.93.201.164;rport;branch=z9hG4bKDZKU0eQBtr3Be
   Max-Forwards: 64
   From: "UNKNOWN" <sip:<caller_id_number>@<FS_ip>>;tag=FFr3B9gSB0KZK
   To: <sip:<extension>@<extension_ip>:5060>
   ...

I need to change sip_invite_req_uri and sip_invite_to_uri so that the
switch downstream can route the call based on the DID they have with me.
I've tried setting this several different ways but no avail. I'd like it to
be global if possible. Is there a good spot to set these variables?


-- 
Brian D. Foster
Endigo Computer LLC
Email: bdfoster at endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA

This message contains confidential information and is intended for those
listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If
you are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120120/3f9a157c/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list