Solved

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

Posted on 2011-03-07
4
456 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now