Solved

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

In my office we had 10 Cisco 7940G IP phones that were useless as they were showing PROTOCOL APPLICATION INVALID when started. I searched through Google and worked for a week continuously on those phones, and finally got them working. This is a di…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

929 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

15 Experts available now in Live!

Get 1:1 Help Now