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
- SIPit26 summary now published
- SIPit26: IPv6 tests and experiences
- SIPit 26 - Thank you!
- IPv6 and SIP is a hot topic - The SIP Forum and the IPv6 Forum forge partnership
- SIPit 26 - Why SIP testing is important to Asterisk and to you
- Robert Sparks on the importance of John Postel’s robustness principle
- Realtime communication - the Open way
- Important security advisory for Asterisk :: Dialstring injections
- Asterisk 1.8 LTS wishlist #1: New media negiotiation framework
- Why should the VoIP users care about IPv6?
© Copyright 2000-2008 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 2.3.2. using the disconnected Theme. Best Viewed with Firefox.








