[Freeswitch-users] Skinny shared reg and load balancing

Michael Jerris mike at jerris.com
Mon Jul 28 22:05:13 MSD 2014


Nathan, We did put together a core registration db facility a while back, I wonder if we could look at moving the mod to use that exclusively.  We should discuss and see if this is even possible.  Are you going to be at Cluecon?

On Jul 25, 2014, at 7:57 PM, Nathan Neulinger <nneul at mst.edu> wrote:

> Yeah, this definitely isn't something supported by the code at this point.
> 
> About the only way with the current code that I could think you _might_ be able to accomplish this would be coming up 
> with something like a fallback dial of extension - configure each skinny extension that does the:
> 
> 	<action application="bridge" data="skinny/internal/NNNNNNNNNNN">
> 
> to try that, and if the bridge fails, try a sip bridge via the other server.
> 
> i.e. on server 1 something like:
> 
> 	<action application="set" data="continue_on_fail=whatever-the-code-is" />
> 	<action application="bridge" data="skinny/internal/AAABBBCCCC" />
> 	<action application="bridge" data="sofia/gateway/server2/AAABBBCCCC" />
> 
> and on server 2:
> 
> 	<action application="set" data="continue_on_fail=whatever-the-code-is" />
> 	<action application="bridge" data="skinny/internal/AAABBBCCCC" />
> 	<action application="bridge" data="sofia/gateway/server1/AAABBBCCCC" />
> 
> and then just have the port 2000 connection randomly selected for those phones. (Or use one of the sequential syntaxes like:
> 
> <action application="bridge" data="skinny/internal/AAABBBCCCC|sofia/gateway/server1/AAABBBCCCC" />
> 
> Note - I haven't tried either of these approaches at this point (and going just on throwing together config idea), but 
> if you do try it out and have success, please respond to the list with a summary of your resulting configuration in case 
> it's of use to others.
> 
> -- Nathan
> 
> On 07/25/2014 04:51 AM, Nick Zaitsev wrote:
>> 
>> Nathan, good day to you.
>> Thank you for your reply.
>> The thing is: Now i have opensips(dispathcer and load balancer modules) in front of multiple freeswitch servers to
>> balance register and invite requests,moreover i have shared mod_sofia between multiple fs,so,in that way i could make
>> calls between all of the nodes.So i would like to introduce skinny the same way. Could you advice how can i do that?
>> Because sharing reg in the database does not work with skinny, ext on different nodes can not reach each other. And,in
>> addition, i do not know how i can balance skinny to get redundancy.
>> Thank you for your time.
>> Best regards
>> 
>> --
>> Nick Zaitsev
> 
> -- 
> ------------------------------------------------------------
> Nathan Neulinger                       nneul at mst.edu
> Missouri S&T Information Technology    (573) 612-1412
> System Administrator - Architect
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list