Making Freeswitch listen on 2 IP addresses
Hi Is it possible to make freeswitch listen on more than one IP for requests within the same profile? I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch. In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes. My profile.xml file currently has this entry: <param name="sip-ip" value="$${local_ip_v4}"/> So I can't see how freeswitch can be told to listen on more than one IP for a profile. Is this possible?
Sorry, each profile is for exactly one IP and one port (other than a second port for TLS). Simply copy the profile and change the profile name and IP settings to make it listen on the second one. -Avi On Wed, Aug 24, 2011 at 10:30 AM, Pete Kelly <pkelly@gmail.com> wrote:
Hi
Is it possible to make freeswitch listen on more than one IP for requests within the same profile?
I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch.
In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes.
My profile.xml file currently has this entry:
<param name="sip-ip" value="$${local_ip_v4}"/>
So I can't see how freeswitch can be told to listen on more than one IP for a profile.
Is this possible?
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
Why not use 2 profiles ? Am 24.08.2011 um 09:30 schrieb Pete Kelly:
Hi
Is it possible to make freeswitch listen on more than one IP for requests within the same profile?
I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch.
In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes.
My profile.xml file currently has this entry:
<param name="sip-ip" value="$${local_ip_v4}"/>
So I can't see how freeswitch can be told to listen on more than one IP for a profile.
Is this possible?
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
Michal Bielicki Geschäftsführer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, Büro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Geschäftsführer: Michal Bielicki Persönlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de ----
Why not setup DNS? On Wed, Aug 24, 2011 at 5:52 PM, Michal Bielicki <michal.bielicki@seventhsignal.de> wrote:
Why not use 2 profiles ? Am 24.08.2011 um 09:30 schrieb Pete Kelly:
Hi Is it possible to make freeswitch listen on more than one IP for requests within the same profile? I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch. In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes. My profile.xml file currently has this entry: <param name="sip-ip" value="$${local_ip_v4}"/> So I can't see how freeswitch can be told to listen on more than one IP for a profile. Is this possible? 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
Michal Bielicki Geschäftsführer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, Büro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Geschäftsführer: Michal Bielicki Persönlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de
----
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 for the replies, I'm going to give the 2 profiles a go. On 24 August 2011 09:13, Alec Taylor <alec.taylor6@gmail.com> wrote:
Why not setup DNS?
On Wed, Aug 24, 2011 at 5:52 PM, Michal Bielicki <michal.bielicki@seventhsignal.de> wrote:
Why not use 2 profiles ? Am 24.08.2011 um 09:30 schrieb Pete Kelly:
Hi Is it possible to make freeswitch listen on more than one IP for requests within the same profile? I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch. In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes. My profile.xml file currently has this entry: <param name="sip-ip" value="$${local_ip_v4}"/> So I can't see how freeswitch can be told to listen on more than one IP for a profile. Is this possible? 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
Michal Bielicki Geschäftsführer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, Büro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Geschäftsführer: Michal Bielicki Persönlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de
----
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
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
Worked brilliantly btw, thanks for the replies :) On 24 August 2011 10:10, Pete Kelly <pkelly@gmail.com> wrote:
Thanks for the replies, I'm going to give the 2 profiles a go.
On 24 August 2011 09:13, Alec Taylor <alec.taylor6@gmail.com> wrote:
Why not setup DNS?
On Wed, Aug 24, 2011 at 5:52 PM, Michal Bielicki <michal.bielicki@seventhsignal.de> wrote:
Why not use 2 profiles ? Am 24.08.2011 um 09:30 schrieb Pete Kelly:
Hi Is it possible to make freeswitch listen on more than one IP for requests within the same profile? I would like to assign a VIP to a pair of freeswitch boxes, for the purposes of failover if one of the boxes should fail or go down. The VIP can then be used by web applications which have to send XMLRPC requests to freeswitch. In addition I would like each of the boxes to listen on their "normal" eth0 IP too, so systems like opensips which support load balancing can evenly distribute load across the two boxes. My profile.xml file currently has this entry: <param name="sip-ip" value="$${local_ip_v4}"/> So I can't see how freeswitch can be told to listen on more than one IP for a profile. Is this possible? 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
Michal Bielicki Geschäftsführer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, Büro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Geschäftsführer: Michal Bielicki Persönlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de
----
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
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 (4)
-
Alec Taylor
-
Avi Marcus
-
Michal Bielicki
-
Pete Kelly