[Freeswitch-users] How can I configure TO and FROM in the invite message

Tzury Bar Yochay tzury.by at reguluslabs.com
Wed Sep 16 06:58:04 PDT 2009


Hi,
Currently, the invite message looks as follows

INVITE sip:1002 at CLIENT_IP:5060 SIP/2.0
Via: SIP/2.0/UDP SERVER_IP;rport;branch=z9hG4bKgvD702De7e0Se
Max-Forwards: 69
From: "Extension 1001" <sip:1001 at SERVER_IP>;tag=2rH67Q3aa1rpe
To: <sip:1002 at CLIENT_IP:5060>

Is there a way to configure FS so the message will look like this:

INVITE sip:1002 at CLIENT_IP:5060 SIP/2.0
Via: SIP/2.0/UDP SERVER_IP;rport;branch=z9hG4bKgvD702De7e0Se
Max-Forwards: 69
From: "Extension 1001" <sip:1001 at ACCOUNT_DOMAIN>;tag=2rH67Q3aa1rpe
To: <sip:1002 at ACCOUNT_DOMAIN:5060>

That is, at "From" having the account's domain name (e.g.
sip:1001 at example.com) instead of the server's IP address.
and having the same at "To"

thanks
@tzury




More information about the FreeSWITCH-users mailing list