Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-03-07
4
Medium Priority
?
475 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 1500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

824 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