It\’s not easy to merge a VoIP network and the PSTN network. Recently, I\’ve been looking into how Asterisk handles phone numbers, SIP uri:s and Caller ID names. SIP is based on UTF-8, so it\’s very transparent in how it handles names with non-US character sets. Asterisk happily takes a Caller ID Name, the From: name from SIP utf-8 and stuffs it into the Caller ID Name field, which seems to be ASCII. In Asterisk we have not-so-well-defined \”extensions\” that are alphanumeric in a way, but in a lot of cases expects a phone number only. It will strip off \”un-necessary\” characters, like \”()-.\”. Of course, a SIP address being \”firstname.lastname\” will be changed by these routines. In phone numbers, stripping these characters does not change the phone number. In SIP, it changes the address to something that is a different address. Just one example of many that needs to be fixed.We need to come up with a way to handle this properly and always be aware of the character set, character set encoding and be able to convert from one to another without loosing the ability to place calls and return calls.And it does not surprise me a bit that even in the 21st century, I still have to work with character set handling problems, conversions between character sets and teaching us/english programmers about the need to use national characters like our Swedish \”åäö\”.
Archived Entry
- Post Date:
- Friday, Apr 29th, 2005 at 9:20
- Category:
- Asterisk news
- Do More:
- You can leave a response, or trackback from your own site.
Elsewhere
- Latest
- IPv6Friday.org :: Trying to inspire people to learn more about IPv6
- SIP ten years later – much more than RFC 3261
- Video from Voip2Day in Madrid – My talk
- Keeping the SIP connection open – RFC 5923
- SIP 2011: Good bye UDP!
- SIP and security: Clarifications and specifications needed
- Testing dual stacks – something we need to do for SIP software
- SMS via SIP MESSAGE requires TLS and S/MIME – who knew?
- SIP security thoughts – whiteboards and discussion partners needed!
- This year’s Voip2day presentation: Watch out! The SIP world is changing!
© Copyright 2000-2011 Edvina AB, Sollentuna, Sweden. All rights reserved. You may not copy the material and publish without our consent.
However, you are free and welcome to link to our site.
In Swedish:
Materialet får inte spridas i någon form utan vårt godkännande. Vi är öppna för dialog, så fråga oss
om du har något tänkt användningsområde. Du får gärna länka till voip-forum.com!
Edvina AB, Runbovägen 10, SE-192 48 Sollentuna, Sweden
Powered by WordPress 3.3. using the disconnected Theme.
