› VitalPBX Community Support › General Discussion › Registration retry even after 404 Not found
- This topic has 8 replies, 3 voices, and was last updated 1 year ago by
pftech-pf.
- Post
-
- December 17, 2019 at 9:42 am
Hi there,
is it possible in some ways to retry registration even after a 404 Not found registration error?
In the past few days our sip provider got an attack and sometimes our Vitalpbx got this message and hangs on registration. I’ve to reload trunk settings and in that way start registering again and if the provider doesn’t have problem, works perfectly. Is there a way to do something like a re-registration even after this error?
Detailed error in log is:
chan_sip.c: Got 404 Not found on SIP register to service xxxxxxxx@xxxxxxx.xxxx.com, giving up
Regards,
Paolo
0
- Replies
-
- December 18, 2019 at 5:42 am
It seems I’ve found a why to “turn around” to this problem setting a registration string like this:
[phonenumber]:[password]@[server.ext]:5060/[phonenumber]~7200
Adding ~7200 at the end of registration string, should tell asterisk to register only after 7200 seconds again on server, in this way, since this voip server still have sometimes some problem, I’ll get less often into the problem.
By the way, I still can’t understand why, voip ata like Cisco SPA112, set up at 1800 seconds registration time, doesn’t get any registration problem at all and still retry even if it get a 404 Not Found error.
It would be nice if we could set a retry time over Vitalpbx to avoid these problems…
Regards,
Paolo
0- December 18, 2019 at 2:32 pm
- December 18, 2019 at 3:21 pm
It can be useful, sometimes we get something like “Reject” or something else in the registration and the Vital doesnt try again, but the cause of the problem is the remote host end its temporary, so, if the Vital tryes to register again, it will work fine.
In the moment we are “reloading” to force the Vital to re-register.0- December 18, 2019 at 3:31 pm
- December 19, 2019 at 5:22 am
Sadly our provider doesn’t support PJSIP.
We’ve this problem on VitalPBX:
VitalPBX 2.4.0-1
Asterisk 16.6.2-1and even on:
VitalPBX 2.3.8-3
Asterisk 16.6.0-1and even on a hold FreePBX 14
I agree that this is a problem of our provider and I’ve already contacted them to fix this, but I was hoping that could be possible doing some re-registration in some way, even after 404 Not Found error.
Regards,
Paolo
0- December 23, 2019 at 2:32 pm
- December 23, 2019 at 2:37 pm
- You must be logged in to reply to this topic.