[Freeswitch-users] Skinny shared reg and load balancing

Nathan Neulinger nneul at mst.edu
Sat Jul 26 03:57:42 MSD 2014


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



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