View previous topic :: View next topic |
Author |
Message |
tzury.by at reguluslab... Guest
|
Posted: Wed Sep 16, 2009 9:06 am Post subject: [Freeswitch-users] How can I configure TO and FROM in the in |
|
|
Hi,
Currently, the invite message looks as follows
INVITE sip:1002@CLIENT_IP:5060 SIP/2.0
Via: SIP/2.0/UDP SERVER_IP;rport;branch=z9hG4bKgvD702De7e0Se
Max-Forwards: 69
From: "Extension 1001" <sip:1001@SERVER_IP>;tag=2rH67Q3aa1rpe
To: <sip:1002@CLIENT_IP:5060>
Is there a way to configure FS so the message will look like this:
INVITE sip:1002@CLIENT_IP:5060 SIP/2.0
Via: SIP/2.0/UDP SERVER_IP;rport;branch=z9hG4bKgvD702De7e0Se
Max-Forwards: 69
From: "Extension 1001" <sip:1001@ACCOUNT_DOMAIN>;tag=2rH67Q3aa1rpe
To: <sip:1002@ACCOUNT_DOMAIN:5060>
That is, at "From" having the account's domain name (e.g.
sip:1001@example.com) instead of the server's IP address.
and having the same at "To"
thanks
@tzury
_______________________________________________
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 |
|
Back to top |
|
|
jmesquita at freeswitc... Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 16, 2009 10:40 am Post subject: [Freeswitch-users] How can I configure TO and FROM in the in |
|
|
Or you setup a gateway and set the from-domain
/b
On Sep 16, 2009, at 10:00 AM, Joćo Mesquita wrote:
|
|
Back to top |
|
|
tzury.by at reguluslab... Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Sep 17, 2009 8:19 am Post subject: [Freeswitch-users] How can I configure TO and FROM in the in |
|
|
You can do that in your dialplan. Not sure it'll fix all your options
unless you do both the gateway and the sip_invite_domain.
/b
On Sep 17, 2009, at 4:19 AM, Tzury Bar Yochay wrote:
Quote: | in which file under which section should I specify this
<action application="bridge"
data="{sip_invite_domain=${sip_from_host}}sofia/gateway/
gw1/$1@domain.org"/>
|
_______________________________________________
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 |
|
Back to top |
|
|
|