[asterisk-dev] Asterisk 1.8 and character sets

Örn Arnarson orn at arnarson.net
Wed Nov 3 05:02:07 CDT 2010


I sent this first to the Asterisk users list, but this question
probably belongs on the dev list, so here goes:

Caller-ID behavior is different -- now when I set the caller-id name
to something with special characters (Ö, for example), the SIP INVITE
now has %C3%96 instead of the Ö character. I've tried doing
Set(CALLERID(name-charset)=utf8) as well as iso8859-1, but it's always
the same behavior.

Here's the header as it appears in 1.6.2.11 CLI output:

INVITE sip:1502 at 192.168.10.169:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.10.3:5060;branch=z9hG4bK73713002;rport
Max-Forwards: 70
From: "SIP ehf/Örn Arnarson" <sip:7712552 at 192.168.10.3>;tag=as2813a8fe
To: <sip:1502 at 192.168.10.169:5060;transport=udp>
Contact: <sip:7712552 at 192.168.10.3>

Here is the header with the same caller-id information in 1.8.0:

INVITE sip:1502 at 192.168.10.169:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.10.3:5060;branch=z9hG4bK1ff411d7
Max-Forwards: 70
From: "SIP ehf/%C3%96rn Arnarson" <sip:7712552 at 192.168.10.3>;tag=as701c8835
To: <sip:1502 at 192.168.10.169:5060;transport=udp>
Contact: <sip:7712552 at 192.168.10.3:5060>

I have also attached PCAP files (from a different call setup, but with
same information) for each scenario.

Maybe some end-devices support translating these characters into
viewable ones, but Aastra 6757i and 6731i do not, nor does the Doro
IP880.

Best regards,
Örn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.6.2.11.pcap
Type: application/x-extension-pcap
Size: 3716 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20101103/f6ec064b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.8.0.pcap
Type: application/x-extension-pcap
Size: 3688 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20101103/f6ec064b/attachment-0001.bin 


More information about the asterisk-dev mailing list