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

hw hw at gc-24.de
Tue Mar 17 07:54:11 CDT 2020


On Saturday, February 29, 2020 11:29:37 AM CET Administrator wrote:
> 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

Thanks, I'll try that if I can find out which command that is :)

This shouldn't be necessary, though.  Before switching to PJSIP, there was no 
problem with registrations going away and not coming back.  Is PJSIP still too 
buggy to be used and not recommended?

Maybe I'll make a bug report ...






More information about the asterisk-users mailing list