[asterisk-bugs] [JIRA] (ASTERISK-14870) Asterisk does not use the “expires=” from the SIP contact header during registration

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Feb 23 22:28:19 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-14870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-14870.
----------------------------------

    Resolution: Not A Bug
    
> Asterisk does not use the “expires=” from the SIP contact header during registration
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-14870
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-14870
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Registration
>            Reporter: tpsast
>            Severity: Minor
>         Attachments: 1.6.1.7-rc1 SIP debug (console).txt, 1.6.1.7-rc1 SIP debug.txt
>
>
> When registering against a SIP provider, the reply from the registrar (SIP 200 OK message) includes an “expires =” in the SIP contact header, but Asterisk always use the “defaultexpiry” value instead.
> Example:
> ------------
> Asterisk sends “Expires: 3600” when register, but if the registrar replies with “expires=3170” in the contact header, then Asterisk always scheduling for a reregistration in 3585 s. anyway, and therefore the registration expires before Asterisk sends a reregister.
> I have tested with Asterisk versions: 1.6.0.5, 1.6.0.3-rc1, 1.6.0.9, 1.6.1-beta4, 1.6.1.0, 1.6.1.1, 1.6.0.13, 1.6.1.4, 1.6.1.5, 1.6.1.6, 1.6.1.7-rc1 and SVN revision: 219891 (Asterisk SVN-branch-1.6.1-r219820).
> The problem seems to exist in all above versions.
> With Asterisk 1.6.2.0-beta3, beta4, rc1 and rc2 the registration doesn’t work at all.
> SIP/2.0 403 Forbidden 
> (WARNING[3584]: chan_sip.c:17273 handle_response_register: Forbidden - wrong password on authentication for REGISTER …)
> ;I will attach the debug output for the 1.6.2.0 registration problem in a new issue!
> Asterisk sip settings:
> ---------------------------
> Global Signalling Settings:
> ----------------------------------
> Reg. min duration: 60 secs
> Reg. max duration: 4000 secs
> Reg. default duration: 3600 secs
> Register in sip.conf:
> -------------------------
> [sip-trunk]
> type=peer
> callbackextension=extension
> defaultuser=xxxxxxxxxx
> fromuser= xxxxxxxxxx
> secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list