[asterisk-users] pjsip: how to survive rejected registrations?
ian.gilmour.x at gmail.com
Tue Mar 17 08:23:20 CDT 2020
This sets the maximum number of registration attempts that are made
before stopping any further attempts.*
If set to 0 then upon failure no further attempts are made.*
On 17/03/2020 12:54, hw wrote:
> 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:
>>>> 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
>>> 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 ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users