[OpenSIPS-Devel] Hang due to "no more nonces can be generated"

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Dec 4 17:05:00 CET 2008


Hi Inaki,

Iñaki Baz Castillo wrote:
> 2008/12/4 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
>
>   
>> Btw, you should reduce the registration rate  - make no sense to use
>> registration as keep alive mechanism when you have a  proofed  and
>> dedicated mechanism for this (try OPTIONS -or sipping). The load on your
>> system will dramatically reduce.
>>     
>
> The problem arrives when the clients use TCP:
> - OpenSIPS cannot send NOTIFY/OPTIONS as keep-alive with TCP (due to
> its design).
> - Many clients don't implement keep-alive by itself.
> - tcp_persistent_flag also depends on the client not closing the connection.
>
> It's sad, but the only """reliable""" and always working solution to
> mantain a TCP connection through NAT is using short interval (<32 sec)
> for registration. Am I wrong?
>   
I have to agree on this - TCP is not as simple as UDP - I mean, to keep 
the connection up, you need cooperation from both parties....
> PD: please please... implement keep-alive for TCP in OpenSIPS :)
>   
you mean as the one per UDP ?

Regards,
Bogdan




More information about the Devel mailing list