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

Y Ateya (JIRA) noreply at issues.asterisk.org
Wed Jan 7 16:01:34 CST 2015


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

Y Ateya commented on ASTERISK-24664:
------------------------------------

I think handling UTF8 correctly is much better and should be the optimum solution.
But if this is complex and need long time; We can reject it with 488 Not Acceptable for now.

> 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