Solved

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

Posted on 2011-03-07
4
469 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

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?
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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