Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] How to set the IP of REGISTER message??


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
brad.tuan at gmail.com
Guest





PostPosted: Sun Sep 20, 2009 11:13 pm    Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? Reply with quote

If my PC has two IP address, How to decide the IP which using to send REGISTER message??
 
For example, I have two IP , 172.30.30.XXX for External and 192.168.60.XXX for Internal,
 
and now i want to add two gateway, one is 210.XXX.XXX.XXX and the other one is 192.168.60.30,
 
How to change the IP that i want to use??
Back to top
frank at carmickle.com
Guest





PostPosted: Sun Sep 20, 2009 11:35 pm    Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? Reply with quote

Hello Brad

On Mon, Sep 21, Brad Tuan wrote:
Quote:
If my PC has two IP address, How to decide the IP which using to send
REGISTER message??

You need to create different sofia profiles for each. Then you can define the gateway in each.

--FC

_______________________________________________
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: Mon Sep 21, 2009 4:36 am    Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? Reply with quote

No you no longer have to do this. Please refer to the internal.xml
profile in the default config. If you set the local-network-acl and
then set ext-sip-ip and ext-rtp-ip then the profile will figure out
which IP to use based on the destination or source of the request/
response.

/b

On Sep 20, 2009, at 11:27 PM, Frank Carmickle wrote:

Quote:
You need to create different sofia profiles for each. Then you can
define the gateway in each.

--FC


_______________________________________________
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
frank at carmickle.com
Guest





PostPosted: Mon Sep 21, 2009 4:51 am    Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? Reply with quote

On Mon, Sep 21, Brian West wrote:
Quote:
No you no longer have to do this. Please refer to the internal.xml
profile in the default config. If you set the local-network-acl and
then set ext-sip-ip and ext-rtp-ip then the profile will figure out
which IP to use based on the destination or source of the request/
response.

With two interfaces? Isn't it required for both of the interfaces to be bound to sofia? If that is true then isn't it only possible to bind one address per profile?

--FC


_______________________________________________
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: Mon Sep 21, 2009 9:05 am    Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? Reply with quote

yes but you can lie about IP's in the via/to and from if you set the
local-network-acl ... I'm not talking two physical interfaces on
FreeSWITCH... because that is one of the harder scenarios to setup...
I'm talking single interface on FS sitting behind a nat router which
is the most common.

/b

On Sep 21, 2009, at 4:45 AM, Frank Carmickle wrote:

Quote:
With two interfaces? Isn't it required for both of the interfaces
to be bound to sofia? If that is true then isn't it only possible
to bind one address per profile?

--FC


_______________________________________________
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