[OpenSIPS-Users] Load balancer behind NAT
Jose Suero
ms at mstn.com
Thu Aug 1 03:49:05 CEST 2013
Some aditional info,
I'm trying not to use RTPProxy for this, so I can have the load on
freeswitch servers as opposed to have all calls (RTP) on the opensips
server.
Any help would really be appreciated, i've searched all day with no
luck
thanks in advance
On 2013-07-31 13:52, Jose Suero wrote:
> Hello all
>
> I'm trying to setup opensips as proxy/loadbalancer for freeswitch,
> following
> http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS
>
> right now I'm able to register to opensips which sends the
> registration to freeswitch, and when I dial a number it goes to
> freeswitch and gets dialed, the problem is that the phone tries to
> connect to freeswitch server's internal IP.
>
> If I connect to freeswitch directly everything works fine, freeswitch
> advertises correct NAT address, but not thru opensips
>
> I'm using dispatcher for registration and LoadBalancer with this
> script
>
> if (is_method("INVITE")) {
> if (!load_balance("1","pstn","1")) {
> send_reply("503","Service Unavailable");
> exit;
> }
> }
> else if (is_method("REGISTER")) {
> if (!ds_select_dst("1", "0")) {
> send_reply("503","Service Unavailable");
> exit;
> }
> }
>
>
>
> thanks in advance
>
> Jose Suero
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list