[asterisk-bugs] [JIRA] (ASTERISK-24664) PJSIP exception on non-ascii sip callerid

Y Ateya (JIRA) noreply at issues.asterisk.org
Tue Jan 6 15:43:34 CST 2015


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

Y Ateya edited comment on ASTERISK-24664 at 1/6/15 3:43 PM:
------------------------------------------------------------

Yes, any sip client capable of sending UTF8 will do this. You can try it using sipp; and it is not just arabic (I changed the title). Any UNICODE will do the same exception:

 sipp -sn uac_pcap -s ΟΠΡΣΤΥΦ 127.0.0.1


[Jan  6 23:35:40] ERROR[7928] pjsip:    sip_transport. Error processing 589 bytes packet from UDP 127.0.0.1:5061 : PJSIP syntax error exception when parsing '' header on line 1 col 12:
INVITE sip:ΟΠΡΣΤΥΦ@127.0.0.1:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.1.1:5061;branch=z9hG4bK-25427-7-0
From: sipp <sip:sipp at 127.0.1.1:5061>;tag=25427SIPpTag097
To: ΟΠΡΣΤΥΦ <sip:ΟΠΡΣΤΥΦ@127.0.0.1:5060>
Call-ID: 7-25427 at 127.0.1.1
CSeq: 1 INVITE
Contact: sip:sipp at 127.0.1.1:5061
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length:   188



was (Author: yateya):
Yes, any sip client capable of sending UTF8 will do this. You can try it using sipp; and it is not just arabic (I changed the title). Any UNICODE will do the same exception:

 sipp -sn uac_pcap -s ΟΠΡΣΤΥΦ 127.0.0.1


> PJSIP exception on non-ascii sip callerid
> -----------------------------------------
>
>                 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
>            Assignee: 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 Arabic, like this (first one appears in the log)
> - اسماعيل 
> - ٥٠٣٩٤٠٥٠
> - ٩٩٥٠
> - إبراهيم
> This call is rejected from asterisk; and asterisk continues as normal.



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



More information about the asterisk-bugs mailing list