View previous topic :: View next topic |
Author |
Message |
brad.tuan at gmail.com Guest
|
Posted: Sun Sep 20, 2009 11:13 pm Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? |
|
|
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
|
Posted: Sun Sep 20, 2009 11:35 pm Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? |
|
|
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
|
Posted: Mon Sep 21, 2009 4:36 am Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? |
|
|
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
|
Posted: Mon Sep 21, 2009 4:51 am Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? |
|
|
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
|
Posted: Mon Sep 21, 2009 9:05 am Post subject: [Freeswitch-users] How to set the IP of REGISTER message?? |
|
|
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 |
|
|
|