[asterisk-bugs] [JIRA] (ASTERISK-18055) Attempting to register to remote server that returns 404 causes no further registration attempts

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Feb 14 06:27:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-18055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215244#comment-215244 ] 

Matt Jordan commented on ASTERISK-18055:
----------------------------------------

So this patch is not the right solution to this problem. If a server returns a 404, in 99% of the cases, Asterisk has been misconfigured, and continuing to send REGISTER requests to that server would be a bad idea.

As it is, I don't think this is actually a bug, but an improvement.

A better way of solving this would be to extend the {{register_retry_403}} to all failure return codes (note: we should have probably picked a less specific name for that option :-)). That would still solve this problem without breaking the behaviour of failed registrations.

                
> Attempting to register to remote server that returns 404 causes no further registration attempts
> ------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-18055
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18055
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Registration
>    Affects Versions: 1.8.4
>            Reporter: Jacco van Tuijl
>            Severity: Minor
>         Attachments: ASTERISK-18055.patch
>
>
> some sip servers will return a 404 when trying to register to it while they are still booting.
> Asterisk stops retying in this case and connections won't be reastablished
> how can I upload a patch for this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list