Hi,

quick questions:
- Do you have the Dispatcher Activity detection turned on?
- Do you do something like "ds_mark_dst()" in your failure route?
- Can you send me your config, so i can verify a few things?

Thanks,
Carsten



2014-12-18 15:14 GMT+01:00 José Seabra <joseseab...@gmail.com>:
> Hello Daniel,
> Thank you for your reply,
>
> Please check out the attachment with kamailio logs in mode debug 3, i didn't
> find any errors, the only thingh that is confusing me is this line:
> /usr/local/sbin/kamailio[13690]: DEBUG: dispatcher [dispatch.c:1745]:
> ds_select_dst_limit(): alg hash [0]
>
> I don't know if this "ds_select_dst_limit(): alg hash [0]" is related with
> algorithm parameter in function ds_select_dst, but, if yes i cannot
> understand why it is 0 because I'm using algorithm 4.
>
> BR
> José Seabra
>
>
> 2014-12-18 11:35 GMT+00:00 Daniel-Constantin Mierla <mico...@gmail.com>:
>>
>> Hello,
>>
>> I asked in the first email - do you get error messages in syslog? If not,
>> then you have to run with debug=3 and look at the log messages to see if you
>> get further hints.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 18/12/14 12:29, José Seabra wrote:
>>
>> Hello Daniel,
>> Do you need more information from my kamailio settup, in order to try
>> understand why this issue happens?
>> Thank you
>> BR
>> José Seabra
>>
>>
>> 2014-12-16 12:16 GMT+00:00 José Seabra <joseseab...@gmail.com>:
>>>
>>> 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 <joseseab...@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 <mico...@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 list
>>>>> sr-users@lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>>
>>>>> --
>>>>> Daniel-Constantin Mierla
>>>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>> sr-users@lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>
>>>>
>>>> --
>>>> Cumprimentos
>>>> José Seabra
>>>
>>>
>>>
>>> --
>>> Cumprimentos
>>> José Seabra
>>
>>
>>
>> --
>> Cumprimentos
>> José Seabra
>>
>>
>> --
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
>
>
> --
> Cumprimentos
> José Seabra
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:cars...@ng-voice.com

Office +49 40 5247593-0
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to