[asterisk-bugs] [JIRA] (ASTERISK-25933) Asterisk ignores expires header value

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Apr 18 11:19:56 CDT 2016


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

Richard Mudgett updated ASTERISK-25933:
---------------------------------------

    Description: 
Asterisk sends the following error message:
Received subscription for extension "xxxxxxx" context "xxxxxx" with Expire header less than 'subminexpire' limit. Received "Expire: 30" min is 60

even though the sip client (Yealink T-22) has the Sip Server Expires set to 60

The SUBSCRIBE packet looks like this:
{noformat}
<--- SIP read from UDP:xx.xx.xx.xx:5070 --->
[Apr 17 19:48:43] SUBSCRIBE sip:xxxxxx at xxx.xxxx.xxx:5060 SIP/2.0
[Apr 17 19:48:43] Via: SIP/2.0/UDP 192.168.10.218:5070;rport;branch=z9hG4bK1205608596
[Apr 17 19:48:43] From: "Bill" <sip:xxxxxxxx at xxxr.net>;tag=831028773
[Apr 17 19:48:43] To: "Bill" <sip:xxxxxxxx at xxx.net>
[Apr 17 19:48:43] Call-ID: 746099495 at 192.168.10.218
[Apr 17 19:48:43] CSeq: 1 SUBSCRIBE
[Apr 17 19:48:43] Contact: <sip:xxxxxxx at 192.168.10.218:5070>
[Apr 17 19:48:43] Accept: application/simple-message-summary
[Apr 17 19:48:43] Max-Forwards: 70
[Apr 17 19:48:43] User-Agent: Yealink SIP-T22P 7.72.0.50
[Apr 17 19:48:43] Expires: 30
[Apr 17 19:48:43] Event: message-summary
[Apr 17 19:48:43] Content-Length: 0
{noformat}

Note the Expires:30 even though the phone is set to 60

  was:
Asterisk sends the following error message:
Received subscription for extension "xxxxxxx" context "xxxxxx" with Expire header less than 'subminexpire' limit. Received "Expire: 30" min is 60

even though the sip client (Yealink T-22) has the Sip Server Expires set to 60

The SUBSCRIBE packet looks like this:
<--- SIP read from UDP:xx.xx.xx.xx:5070 --->
[Apr 17 19:48:43] SUBSCRIBE sip:xxxxxx at xxx.xxxx.xxx:5060 SIP/2.0
[Apr 17 19:48:43] Via: SIP/2.0/UDP 192.168.10.218:5070;rport;branch=z9hG4bK1205608596
[Apr 17 19:48:43] From: "Bill" <sip:xxxxxxxx at xxxr.net>;tag=831028773
[Apr 17 19:48:43] To: "Bill" <sip:xxxxxxxx at xxx.net>
[Apr 17 19:48:43] Call-ID: 746099495 at 192.168.10.218
[Apr 17 19:48:43] CSeq: 1 SUBSCRIBE
[Apr 17 19:48:43] Contact: <sip:xxxxxxx at 192.168.10.218:5070>
[Apr 17 19:48:43] Accept: application/simple-message-summary
[Apr 17 19:48:43] Max-Forwards: 70
[Apr 17 19:48:43] User-Agent: Yealink SIP-T22P 7.72.0.50
[Apr 17 19:48:43] Expires: 30
[Apr 17 19:48:43] Event: message-summary
[Apr 17 19:48:43] Content-Length: 0

Note the Expires:30 even though the phone is set to 60


> Asterisk ignores expires header value
> -------------------------------------
>
>                 Key: ASTERISK-25933
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25933
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.8.0, 13.8.1
>         Environment: OS=centos7
> Yealink T-22 phone
>            Reporter: Bill Neely
>            Assignee: Unassigned
>
> Asterisk sends the following error message:
> Received subscription for extension "xxxxxxx" context "xxxxxx" with Expire header less than 'subminexpire' limit. Received "Expire: 30" min is 60
> even though the sip client (Yealink T-22) has the Sip Server Expires set to 60
> The SUBSCRIBE packet looks like this:
> {noformat}
> <--- SIP read from UDP:xx.xx.xx.xx:5070 --->
> [Apr 17 19:48:43] SUBSCRIBE sip:xxxxxx at xxx.xxxx.xxx:5060 SIP/2.0
> [Apr 17 19:48:43] Via: SIP/2.0/UDP 192.168.10.218:5070;rport;branch=z9hG4bK1205608596
> [Apr 17 19:48:43] From: "Bill" <sip:xxxxxxxx at xxxr.net>;tag=831028773
> [Apr 17 19:48:43] To: "Bill" <sip:xxxxxxxx at xxx.net>
> [Apr 17 19:48:43] Call-ID: 746099495 at 192.168.10.218
> [Apr 17 19:48:43] CSeq: 1 SUBSCRIBE
> [Apr 17 19:48:43] Contact: <sip:xxxxxxx at 192.168.10.218:5070>
> [Apr 17 19:48:43] Accept: application/simple-message-summary
> [Apr 17 19:48:43] Max-Forwards: 70
> [Apr 17 19:48:43] User-Agent: Yealink SIP-T22P 7.72.0.50
> [Apr 17 19:48:43] Expires: 30
> [Apr 17 19:48:43] Event: message-summary
> [Apr 17 19:48:43] Content-Length: 0
> {noformat}
> Note the Expires:30 even though the phone is set to 60



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list