BTW, moving the line: case WRONG_CREDENTIALS_STATE: after the break line will do the trick: opensips will keep continue to re-register, but if the credentials are wrong, it will just hammer the server.
If you end-it up in this state not due to wrong credentials, please let me know and I will fix it, just provide me enough details to hunt down the error. Regards, Ovidiu Sas On Tue, May 22, 2012 at 11:18 AM, Ovidiu Sas <[email protected]> wrote: > State 6 is WRONG_CREDENTIALS_STATE. > The reason that the server doesn't try to re-register is because the > credentials are no longer valid. > The credentials should be updated and the server restarted to take > into account the updated credentials. > > Regards, > Ovidiu Sas > > On Wed, May 16, 2012 at 1:37 AM, [email protected] > <[email protected]> wrote: >> Sometimes i have see my registration in state 6 and opensips not >> sending REGISTER any more for this account. I read that it's normal, >> but i need to resend REGISTER. >> If i do some hack in registrant.c such as: >> >> at line: 735: >> case REGISTERING_STATE: >> case AUTHENTICATING_STATE: >> break; >> case WRONG_CREDENTIALS_STATE: >> case REGISTER_TIMEOUT_STATE: >> case INTERNAL_ERROR_STATE: >> >> is that hack help me sent REGISTER when stat=6? >> >> -- >> Pavel Eremin >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > -- > VoIP Embedded, Inc. > http://www.voipembedded.com -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
