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

Brian West brian at freeswitch.org
Wed Sep 16 08:18:02 PDT 2009


Or you setup a gateway and set the from-domain

/b

On Sep 16, 2009, at 10:00 AM, João Mesquita wrote:

> Is this what you are looking for?
>
> http://wiki.freeswitch.org/wiki/Channel_Variables#sip_invite_domain
>
> jmesquita
>
> On Wed, Sep 16, 2009 at 10:58 AM, Tzury Bar Yochay <tzury.by at reguluslabs.com 
> > wrote:
> 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
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090916/3a07c37f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list