Variable sip invite to uri

From FreeSWITCH Wiki
Jump to: navigation, search

sip_invite_to_uri

Sets the uri in the header To when calling bridge or originate.

Usage:

 originate {sip_invite_to_uri=<sip:11112222@test1.com>}sofia/internal/33334444@192.168.4.6 &park

Result:

 INVITE sip:33334444@192.168.4.6 SIP/2.0
 From: "" <sip:0000000000@192.168.2.7>;tag=N6K579y4g6j0D
 To: <sip:11112222@test1.com>

Alternatively, if you need to set just the username in the header To, you can pass it at the end of the dial string:

 originate sofia/internal/33334444@192.168.4.6^11112222 &park

Result:

 INVITE sip:33334444@192.168.4.6 SIP/2.0
 From: "" <sip:0000000000@192.168.2.7>;tag=Qr6pB00BBrZ5m
 To: <sip:11112222@@192.168.4.6>


See also:


Implemented By:

Module Name Source FileLast Revised
mod_sofia