Solved

Asterix- How do register a sip acount username with @ in it?

Posted on 2011-03-07
4
465 Views
Last Modified: 2012-05-11
Hi,

I have a running Asterix solution with different sip accounts in it. All working fine. The usernames are just the phone number. Now I have a new account I have to register, but the username have a @ in it. And I just cannot get to work. Any ideers ?

Tia!

Lasse
0
Comment
Question by:melfarit
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:feptias
ID: 35096422
You cannot have @ in the username because the full format for all SIP URI's is like this:
sip:<username>@<sip-domain>

It might be possible to have an auth id containing @, but it is best avoided. The display name can be different to the username and could potentially contain funny chars like @. You can use @ in the password too.

Who is suggesting that you should use @ in the username? Surely not a VoIP service provider.
0
 

Author Comment

by:melfarit
ID: 35115023
Hi, Feptias!

Well unfortunately is it a voip service provider, in a small foreign country, that is giving me a username with @ in it. I dont think they have much experience with voip, but they are the only providers, so I dont have any choice. Can I do like this sip:<username@>@<sip-domain>

?

Best regards

Lasse
0
 
LVL 19

Accepted Solution

by:
feptias earned 500 total points
ID: 35122719
"Can I do it like this..." - I would say not because a URI containing two @ characters will be ambiguous. Surely this is a question to put to the foreign service provider!

Are you sure they aren't giving you the complete URI, with the @ symbol separating the user-id from the sip-domain? By the way, when I described the general format for a SIP URI above, the angle brackets are not part of the format, they were to identify the component parts of the URI. For example, if username is 1234567 and the sip-domain is foreign-service.com then the URI would be sip:1234567@foreign-service.com

The only trick I can think of would be to use percent encoding - it is explained quite nicely in wikipedia:
http://en.wikipedia.org/wiki/Percent-encoding

The percent-encoded version of @ is %40. This might work as I have seen it used in SIP messages between IP phones and SIP PBX's like Asterisk. So a username of fred@bloggs would be entered as fred%40bloggs. Give it a try.
0
 

Author Closing Comment

by:melfarit
ID: 35440195
I havent been able to test it jet properly, since the voip compagni havent returned my calls yet.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question