FreeSWITCH IP wrong when make outbound call
Hi all, I have a problem when make outbound call from FS. I have two networks interface and two ip address on my server. Assume are IP1 and IP2. In FS configuration (internal.xml, external.xml, event_socket.conf.xml, etc...), I set all parameter relate ip address is IP1. But, when I make outbound call via ESL, ip address of FS is become IP2. Please guide me fix this problem. Thanks, Khue.
I normally set ip in vars.xml <X-PRE-PROCESS cmd="set" data="local_ip_v4=A.B.C.D"/> Then reload. Lloyd * * * <http://www.sunteltech.ca/blog/>* On Wed, Jul 24, 2013 at 5:27 AM, Khue Nguyen Minh <khuenm@vega.com.vn>wrote:
Hi all,
I have a problem when make outbound call from FS. I have two networks interface and two ip address on my server. Assume are IP1 and IP2. In FS configuration (internal.xml, external.xml, event_socket.conf.xml, etc...), I set all parameter relate ip address is IP1. But, when I make outbound call via ESL, ip address of FS is become IP2. Please guide me fix this problem.
Thanks, Khue.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
That sets a variable used in the default SIP profiles to bind to a single interface & IP. In a multihomed server this isn't sufficient. You'll need a profile listening on each IP you want to use and set sip-ip and rtp-ip yourself to the IP of the interface the profile is for, then using the dialstring select the outgoing interface by selecting the profile to call out through. -Steve On 24 July 2013 14:00, Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> wrote:
I normally set ip in vars.xml
<X-PRE-PROCESS cmd="set" data="local_ip_v4=A.B.C.D"/>
Then reload.
Lloyd * * * <http://www.sunteltech.ca/blog/>*
On Wed, Jul 24, 2013 at 5:27 AM, Khue Nguyen Minh <khuenm@vega.com.vn>wrote:
Hi all,
I have a problem when make outbound call from FS. I have two networks interface and two ip address on my server. Assume are IP1 and IP2. In FS configuration (internal.xml, external.xml, event_socket.conf.xml, etc...), I set all parameter relate ip address is IP1. But, when I make outbound call via ESL, ip address of FS is become IP2. Please guide me fix this problem.
Thanks, Khue.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
thanks you. It work normal. 2013/7/24 Lloyd Aloysius <lloyd.aloysius@sunteltech.ca>
I normally set ip in vars.xml
<X-PRE-PROCESS cmd="set" data="local_ip_v4=A.B.C.D"/>
Then reload.
Lloyd * * * <http://www.sunteltech.ca/blog/>*
On Wed, Jul 24, 2013 at 5:27 AM, Khue Nguyen Minh <khuenm@vega.com.vn>wrote:
Hi all,
I have a problem when make outbound call from FS. I have two networks interface and two ip address on my server. Assume are IP1 and IP2. In FS configuration (internal.xml, external.xml, event_socket.conf.xml, etc...), I set all parameter relate ip address is IP1. But, when I make outbound call via ESL, ip address of FS is become IP2. Please guide me fix this problem.
Thanks, Khue.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Khue Nguyen Minh
-
Lloyd Aloysius
-
Steven Ayre