[asterisk-users] pjsip: how to survive rejected registrations?

Administrator admin at tootai.net
Sat Feb 29 04:29:37 CST 2020

Le 28/02/2020 à 23:43, hw a écrit :
> On Thursday, February 27, 2020 3:03:47 PM CET hw wrote:
>> Hi,
>> sometimes 'pjsip show registrations' shows registrations to the VOIP
>> provider as Rejected.  I have already added
>> max_retries = 0
>> auth_rejection_permanent = no
>> in pjsip_wizard.conf and still asterisk does not recover.
>> I need asterisk to keep trying to register and to renew the registration
>> without requiring manual intervention.  How can I make asterisk do that?
> No ideas?
> If pjsip is not able to recover after the internet connection has gone away
> for a few minutes, it's totally useless.
A workaround is to have a cron script which looks if your asterisk is 
registered and if not to send again the register command


More information about the asterisk-users mailing list