[SR-Users] kamailio dispatcher module stops processing REGISTER

José Seabra joseseabra4 at gmail.com
Tue Dec 16 13:16:07 CET 2014


Update:
My last email has the wrong  example, the correct code is:

if(!ds_select_dst("9", "4"))
{
xlog("L_ERR", "Failed to select proxy - R=$ru ID=$ci\n");
sl_send_reply("503", "No proxy available, try again later");
exit;
}

I'm using algorithm 4.

2014-12-16 12:14 GMT+00:00 José Seabra <joseseabra4 at gmail.com>:
>
> Hello Daniel,
>
> Yes it enter inside a condition.
>
> my code is:
>
> if(!ds_select_dst("9", "0"))
> {
> xlog("L_ERR", "Failed to select proxy - R=$ru ID=$ci\n");
> sl_send_reply("503", "No proxy available, try again later");
> exit;
> }
> and all sip registrers sent receives a sip reply 503 "No proxy available,
> try again later"
>
>
> BR
> José Seabra
>
> 2014-12-16 12:06 GMT+00:00 Daniel-Constantin Mierla <miconda at gmail.com>:
>>
>>  Hello,
>>
>> what do you mean starts returning null?
>>
>> Does it enter inside a condition like:
>>
>> if(!ds_select_dst(...))
>>
>> Are there any error messages in syslog?
>>
>> Daniel
>>
>>
>> On 16/12/14 12:51, José Seabra wrote:
>>
>> Hello there,
>>
>>  I'm doing stress testing against kamailio (sip load balancer role)
>> sending sip registrar, my stress test software is sending 50 registrations
>> per second, after 30 seconds and 1000 registers processed the function
>> ds_select_dst (I'm using algorithm 4) returns null for all registers sent
>> from my software, and all registrar sip servers are available and in active
>> mode, if I reduce the software to  send 20 registrar's per second, the
>> issue only happens after 60 seconds and kamailio (sip load balancer role)
>>  process 4000 registrers, after this, function ds_select_dst starts
>> returning null
>>
>>
>>  Anyone has any idea why it is happening?
>> My kamailio version is 4.2
>>
>>  Best Regards
>>  --
>>  Cumprimentos
>> José Seabra
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> --
> Cumprimentos
> José Seabra
>


-- 
Cumprimentos
José Seabra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141216/e9618784/attachment.html>


More information about the sr-users mailing list