Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
tzury.by at reguluslab...
Guest





PostPosted: Wed Sep 16, 2009 9:06 am    Post subject: [Freeswitch-users] How can I configure TO and FROM in the in Reply with quote

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





PostPosted: Wed Sep 16, 2009 10:16 am    Post subject: [Freeswitch-users] How can I configure TO and FROM in the in Reply with quote

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@reguluslabs.com> wrote:
Quote:
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 ([email]sip%3A1001@example.com[/email])) instead of the server's IP address.
and having the same at "To"

thanks
@tzury

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Wed Sep 16, 2009 10:40 am    Post subject: [Freeswitch-users] How can I configure TO and FROM in the in Reply with quote

Or you setup a gateway and set the from-domain

/b

On Sep 16, 2009, at 10:00 AM, Joćo Mesquita wrote:
Quote:
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@reguluslabs.com> wrote:
Quote:
Hi,
Currently, the invite message looks as follows

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

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

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

That is, at "From" having the account's domain name (e.g.
sip:1001@example.com ([email]sip%3A1001@example.com[/email])) instead of the server's IP address.
and having the same at "To"

thanks
@tzury

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
tzury.by at reguluslab...
Guest





PostPosted: Thu Sep 17, 2009 4:24 am    Post subject: [Freeswitch-users] How can I configure TO and FROM in the in Reply with 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
brian at freeswitch.org
Guest





PostPosted: Thu Sep 17, 2009 8:19 am    Post subject: [Freeswitch-users] How can I configure TO and FROM in the in Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services