[asterisk-bugs] [JIRA] (ASTERISK-24877) Subsequent MWI NOTIFY R-URI truncated
Anthony Messina (JIRA)
noreply at issues.asterisk.org
Sat Mar 14 12:24:34 CDT 2015
Anthony Messina created ASTERISK-24877:
------------------------------------------
Summary: Subsequent MWI NOTIFY R-URI truncated
Key: ASTERISK-24877
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24877
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip_mwi
Affects Versions: 13.2.0
Environment: asterisk-13.2.0-5.fc21.x86_64 (branches/13 at 432614)
pjproject-2.3-6.fc21.x86_64
kernel-3.18.9-200.fc21.x86_64
Reporter: Anthony Messina
When subscribing to Asterisk MWI via Kamailio, I've noticed that after the initial SUBSCRIBE immediately after REGISTER, Asterisk will send a NOTIFY to the proper contact URI in the NOFITY R-URI. However, when a new voicemail is created, the subsequent NOTIFY attempts truncate the contact URI in the NOFITY R-URI and Asterisk's NOTIFY is retried several times after never reaches the UAC and eventually gets a timeout back from Kamailo.
Initial SUBSCRIBE with immediate NOTIFY from Asterisk:
{code}
m: "Test User" <sip:172.16.4.7;line=sr-D8G7CE2.5PUeK-xuarl7NYDdNYDxNYlFUYoeUeQ8Cw.6DE2vDdyJDAa4TliwC84OC82LK-2ehwl7NYDdNYDxNYlFUAm6UYzm0gme>;+sip.ice
...
NOTIFY sip:172.16.4.7;line=sr-D8G7CE2.5PUeK-xuarl7NYDdNYDxNYlFUYoeUeQ8Cw.6DE2vDdyJDAa4TliwC84OC82LK-2ehwl7NYDdNYDxNYlFUAm6UYzm0gme SIP/2.0
...
SIP/2.0 408 Request Timeout
{code}
Subsequent NOTIFY from Asterisk after a new voicemail is left:
{code}
NOTIFY sip:172.16.4.7;line=sr-D8G7CE2.5PUeK-xuarl7NYDdNYDxNYlFUYoeUeQ8Cw.6DE2vDdyJDAa4TliwC84O SIP/2.0
{code}
The subsequent NOTIFY R-URI is truncated, missing the remainder of the original Contact URI:
{code}
C82LK-2ehwl7NYDdNYDxNYlFUAm6UYzm0gme
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list