Summary: | ASTERISK-19861: External MWI subscriptions: Asterisk not responding to auth request | ||
Reporter: | Josh Patten (joshpatten) | Labels: | |
Date Opened: | 2012-05-11 09:29:13 | Date Closed: | |
Priority: | Major | Regression? | |
Status: | Open/New | Components: | Channels/chan_sip/Subscriptions |
Versions: | 1.8.7.2 13.18.4 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When adding an MWI subscription request to Asterisk in sip.conf: mwi => 200:redacted@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@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@172.16.1.109>;tag=as236247f3 To: <sip:200@sip.corp.ezuce.com> Contact: <sip:200@172.16.1.109:5060> Call-ID: 12f2aa19793b94d021bc2bfc1a4bb4fa@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@172.16.1.109>;tag=as236247f3 To: <sip:200@sip.corp.ezuce.com>;tag=M1ZWLc Call-Id: 12f2aa19793b94d021bc2bfc1a4bb4fa@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@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@172.16.1.109>;tag=as236247f3 To: <sip:200@sip.corp.ezuce.com> Contact: <sip:200@172.16.1.109:5060> Call-ID: 12f2aa19793b94d021bc2bfc1a4bb4fa@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@172.16.1.109>;tag=as236247f3 To: <sip:200@sip.corp.ezuce.com>;tag=M1ZWLc Call-Id: 12f2aa19793b94d021bc2bfc1a4bb4fa@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. | ||
Comments: |