[OpenSIPS-Users] Load balancer retcode question on OpenSIPS 1.6.2

k1028 mrprotocols at gmail.com
Wed Jul 28 20:36:31 CEST 2010


I am using OpenSIPS 1.6.2 and followed the tutorial
http://www.opensips.org/Resources/DocsTutLoadbalancing to use the load
balancer module. 
The Tutorial use $retcode<0 for Service Full reply. I get $rectcode = 1
instead of 0. What is the correct retcode load_balance("id","resource") when
resource is full? 

This work for me 
if ( $retcode=1 ) {
sl_send_reply("500","Service full");
exit;
}



-- 
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Load-balancer-retcode-question-on-OpenSIPS-1-6-2-tp5346088p5346088.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list