[asterisk-bugs] [JIRA] (ASTERISK-26065) chan_pjsip Parse Error On Voicemail Notify

Ross Beer (JIRA) noreply at issues.asterisk.org
Thu May 26 06:51:56 CDT 2016


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

Ross Beer updated ASTERISK-26065:
---------------------------------

    Comment: was deleted

(was: Should there be just a "\n" used in the following code:

{quote}
      ast_str_append(mwi, 0, "Messages-Waiting: %s\r\n",
                        counter->new_msgs ? "yes" : "no");
        ast_str_append(mwi, 0, "Voice-Message: %d/%d (0/0)\r\n",
                        counter->new_msgs, counter->old_msgs);
        if (!ast_strlen_zero(counter->message_account))  {
                ast_str_append(mwi, 0, "Message-Account: %s\r\n", counter->message_account);
{quote}

Looking a other NOTIFY messages which contain XML, the body contains just "\n")

> chan_pjsip Parse Error On Voicemail Notify
> ------------------------------------------
>
>                 Key: ASTERISK-26065
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26065
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.9.1
>         Environment: CentOS 7
>            Reporter: Ross Beer
>
> PJSIP is reporting mail formed packets when sending voicemail Notifications:
> [2016-05-26 10:20:22] ERROR[22460]: pjproject:0 <?>:    sip_transport. Error processing 620 bytes packet from UDP <IP Removed>: PJSIP syntax error exception when parsing 'Status Line' header on line 2 col 2:
> SIP/2.0 400 ../../rutil/ParseBuffer.cxx:669, Parse failed Expected a digit, got: sip:1571@<IP Removed>:5060
>  in context: Contents
> Messages-Waiting: no
> Voice-Message: 0/0 (0/0)
> Message-Account: sip:1571@<IP Removed>:5060[CRLF]
>                  ^[CRLF]
> Via: SIP/2.0/UDP <IP Removed>:5060;rport=5060;branch=z9hG4bKPj1bf70ab5-b450-49e9-923e-fb1e1228b48a
> To: <sip:<ACCOUNT REMOVED>@<IP Removed>;rinstance=784a071431a881b7>;tag=1da26c29
> From: <sip:<ACCOUNT REMOVED>@<IP Removed>>;tag=66f68e25-0513-4aec-89e5-7ac7c629add6
> Call-ID: dfd314b5-c634-481a-9d82-39d0b35fc12e
> CSeq: 30479 NOTIFY
> Accept-Language: en
> Content-Length: 0



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



More information about the asterisk-bugs mailing list