[asterisk-bugs] [JIRA] (ASTERISK-24877) Subsequent MWI NOTIFY R-URI truncated

Anthony Messina (JIRA) noreply at issues.asterisk.org
Tue Mar 24 15:53:34 CDT 2015


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

Anthony Messina updated ASTERISK-24877:
---------------------------------------

    Attachment: asterisk-NOTIFY-truncate-RURI.txt

This attachment is the SIP request trace from the example I used to file the original report.

> 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
>            Assignee: Anthony Messina
>         Attachments: asterisk-NOTIFY-truncate-RURI.txt
>
>
> 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