[asterisk-bugs] [JIRA] (ASTERISK-24664) PJSIP Error processing packet on SIP requests with non-ascii characters in INVITE or REGISTER

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sat Feb 14 13:37:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224925#comment-224925 ] 

Joshua Colp commented on ASTERISK-24664:
----------------------------------------

As it is this would require changes in pjproject to accomplish. The parser itself is considering it invalid, so it never reaches Asterisk itself thus it's not possible to send a response (even a 488).

> PJSIP Error processing packet on SIP requests with non-ascii characters in INVITE or REGISTER
> ---------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24664
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24664
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.1.0
>         Environment: Ubuntu 12.04 x86_64; pjproject build from source https://github.com/asterisk/pjproject using `./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr`
>            Reporter: Y Ateya
>         Attachments: pjproject_strange_callerid.txt
>
>
> While investigating messages.log for my asterisk server; I found multiple occurrences of this pjsip exception (see attached log).
> It happens when the sip caller id is non-ascii, like this (first one appears in the log)
> - اسماعيل 
> - ٩٩٥٠
> - ΟΠΡΣΤΥΦ
> This call is rejected from asterisk; and asterisk continues as normal.
> [Edit by Rusty - The call is *ignored* by Asterisk, with no response to the client. Asterisk produces an error type log message as below]
> {noformat}
> [Jan  7 15:24:40] ERROR[17677]: pjsip:0 <?>: 	sip_transport. Error processing 538 bytes packet from UDP 10.24.18.124:62265 : PJSIP syntax error exception when parsing '' header on line 4 col 29:
> {noformat}



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



More information about the asterisk-bugs mailing list