[OpenSIPS-Users] opensips as load-balancer - configuration
Pasan Meemaduma
pasan_5 at yahoo.com
Fri Dec 20 01:40:12 EST 2019
Hi Abu,
For first try putting some xlog debugging lines and see whats happening with your request.
For ex:
if(!t_relay()) {xlog(" From $fu DEST $du");
sl_reply_error();
}
Put xlog every condition you have to get an idea whats happening when opensips executing the script for your request :) This was it'll give you more undestanding what could go wrong.
from my understanding you get 404 after t_relay(0 function so it appears opensips having issues sending the request to final destination ?
Distinguishing What && How !
On Wednesday, 18 December 2019, 11:00:50 pm GMT+5:30, Abu Ibrahim via Users <users at lists.opensips.org> wrote:
Hi,
I recently started using opensips and installed 3.0 version by following the steps available at opensips.org. My requirement is just to set up Opensips as load-balancer between two backend sip servers (actually two freeswitch servers) which will be working as registrars and call routing servers. So my opensips will just be load balancing REGISTER and INVITEs to my two backend freeswitch servers.
After installing the opensips, I've tried route scripts mentioned on the following two links but none of them is working and calls are always failed with 404 not found.
https://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9https://freeswitch.org/confluence/display/FREESWITCH/Enterprise+deployment+OpenSIPS
I am attaching my configuration details in the text file here.
Can someone please help me further what exact or minimal configuration and routing script required at opensips side to accept my traffic and load balance as mentioned above? Also, can someone please let me know a good tutorial/link where basic call routing, endpoints definition or related information for opensips are explained and will be helpful for me to start off with the call testing. Thanks in advance
Regards
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191220/6418f2d6/attachment.html>
More information about the Users
mailing list