[Home]

Summary:ASTERISK-23072: MWI subscription from Cisco SPA fails with PJSIP
Reporter:Bob M (manchicken)Labels:
Date Opened:2013-12-26 14:12:07.000-0600Date Closed:2014-01-31 16:09:03.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_mwi
Versions:12.0.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:Configured a Cisco SPA 504G to subscribe to MWI but the SIP URI doesn't contain the name and PJSIP can't match an AOR, giving the error:

WARNING[24350]: res_pjsip_mwi.c:481 mwi_new_subscribe: Unable to locate aor . MWI subscription failed.

Example SUBSCRIBE coming from the Cisco:

{noformat}
<--- Received SIP request (707 bytes) from UDP:192.168.1.117:5060 --->
SUBSCRIBE sip:metallus.lan.burner.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.117:5060;branch=z9hG4bK-a9881076
From: "Home" <sip:Office@metallus.lan.burner.com>;tag=de3eda6dc9d3e17f
To: <sip:metallus.lan.burner.com>
Call-ID: 1746e46e-de19d1eb@192.168.1.117
CSeq: 1002 SUBSCRIBE
Max-Forwards: 70
Authorization: Digest username="Office",realm="asterisk",nonce="zzzzz",uri="sip:metallus.lan.burner.com",algorithm=MD5,response="zzzzz",opaque="243931e645750182",qop=auth,nc=00000001,cnonce="d3b4c585"
Contact: "Home" <sip:Office@192.168.1.117:5060>
Expires: 86400
Event: message-summary
User-Agent: Cisco/SPA504G-7.5.5
Content-Length: 0

[Dec 26 02:18:02] WARNING[16132]: res_pjsip_mwi.c:481 mwi_new_subscribe: Unable to locate aor . MWI subscription failed.


<--- Transmitting SIP response (339 bytes) to UDP:192.168.1.117:5060 --->
SIP/2.0 500 Internal Server Error
Via: SIP/2.0/UDP 192.168.1.117:5060;rport;received=192.168.1.117;branch=z9hG4bK-a9881076
Call-ID: 1746e46e-de19d1eb@192.168.1.117
From: "Home" <sip:Office@metallus.lan.burner.com>;tag=de3eda6dc9d3e17f
To: <sip:metallus.lan.burner.com>;tag=z9hG4bK-a9881076
CSeq: 1002 SUBSCRIBE
Content-Length:  0
{noformat}
Comments: