[asterisk-bugs] [JIRA] (ASTERISK-19861) External MWI subscriptions: Asterisk not responding to auth request

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 05:55:07 CST 2017


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

Joshua Colp updated ASTERISK-19861:
-----------------------------------

    Affects Version/s: 13.18.4

> External MWI subscriptions: Asterisk not responding to auth request
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-19861
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19861
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: 1.8.7.2, 13.18.4
>            Reporter: Josh Patten
>
> When adding an MWI subscription request to Asterisk in sip.conf:
> mwi => 200:redacted at sip.corp.ezuce.com/200
> Asterisk will never authenticate to the challenge sent by the remote UA:
> --- (18 headers 3 lines) ---
> Retransmitting #1 (no NAT) to 172.16.1.5:5060:
> SUBSCRIBE sip:200 at sip.corp.ezuce.com SIP/2.0
> Via: SIP/2.0/UDP 172.16.1.109:5060;branch=z9hG4bK12a7f622
> Max-Forwards: 70
> From: "asterisk" <sip:200 at 172.16.1.109>;tag=as236247f3
> To: <sip:200 at sip.corp.ezuce.com>
> Contact: <sip:200 at 172.16.1.109:5060>
> Call-ID: 12f2aa19793b94d021bc2bfc1a4bb4fa at 172.16.1.109:5060
> CSeq: 102 SUBSCRIBE
> User-Agent: Asterisk PBX 1.8.7.1
> Date: Thu, 10 May 2012 15:59:14 GMT
> Event: message-summary
> Accept: application/simple-message-summary
> Expires: 3600
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
> Supported: replaces, timer
> Content-Length: 0
> ---
> <--- SIP read from UDP:172.16.1.5:5060 --->
> SIP/2.0 401 Unauthorized
> Record-Route: <sip:172.16.1.5:5060;lr;x-sipX-done>
> From: "asterisk" <sip:200 at 172.16.1.109>;tag=as236247f3
> To: <sip:200 at sip.corp.ezuce.com>;tag=M1ZWLc
> Call-Id: 12f2aa19793b94d021bc2bfc1a4bb4fa at 172.16.1.109:5060
> Cseq: 102 SUBSCRIBE
> Via: SIP/2.0/UDP 172.16.1.109:5060;branch=z9hG4bK12a7f622
> Www-Authenticate: Digest realm="sip.corp.ezuce.com", nonce="d37800372dbd1aa6d2f0a8cf988fb8864fabe5d3", qop="auth"
> User-Agent: sipXecs/4.4.0 sipXecs/publisher (Linux)
> Date: Thu, 10 May 2012 15:59:15 GMT
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE
> Accept-Language: en
> Supported: sip-cc-01, timer
> Content-Length: 0
> <------------->
> --- (14 headers 0 lines) ---
> Retransmitting #2 (no NAT) to 172.16.1.5:5060:
> SUBSCRIBE sip:200 at sip.corp.ezuce.com SIP/2.0
> Via: SIP/2.0/UDP 172.16.1.109:5060;branch=z9hG4bK12a7f622
> Max-Forwards: 70
> From: "asterisk" <sip:200 at 172.16.1.109>;tag=as236247f3
> To: <sip:200 at sip.corp.ezuce.com>
> Contact: <sip:200 at 172.16.1.109:5060>
> Call-ID: 12f2aa19793b94d021bc2bfc1a4bb4fa at 172.16.1.109:5060
> CSeq: 102 SUBSCRIBE
> User-Agent: Asterisk PBX 1.8.7.1
> Date: Thu, 10 May 2012 15:59:14 GMT
> Event: message-summary
> Accept: application/simple-message-summary
> Expires: 3600
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
> Supported: replaces, timer
> Content-Length: 0
> ---
> <--- SIP read from UDP:172.16.1.5:5060 --->
> SIP/2.0 401 Unauthorized
> Record-Route: <sip:172.16.1.5:5060;lr;x-sipX-done>
> From: "asterisk" <sip:200 at 172.16.1.109>;tag=as236247f3
> To: <sip:200 at sip.corp.ezuce.com>;tag=M1ZWLc
> Call-Id: 12f2aa19793b94d021bc2bfc1a4bb4fa at 172.16.1.109:5060
> Cseq: 102 SUBSCRIBE
> Via: SIP/2.0/UDP 172.16.1.109:5060;branch=z9hG4bK12a7f622
> Www-Authenticate: Digest realm="sip.corp.ezuce.com", nonce="d37800372dbd1aa6d2f0a8cf988fb8864fabe5d3", qop="auth"
> User-Agent: sipXecs/4.4.0 sipXecs/publisher (Linux)
> Date: Thu, 10 May 2012 15:59:15 GMT
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE
> Accept-Language: en
> Supported: sip-cc-01, timer
> Content-Length: 0
> ----------------
> This bug is to investigate why Asterisk is not responding with authentication credentials to the remote UA.



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



More information about the asterisk-bugs mailing list