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?
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.
Administrator
2020-Feb-29 10:29 UTC
[asterisk-users] pjsip: how to survive rejected registrations?
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 -- Daniel