<div class="gmail_quote">2009/1/22 Laurent Bonny <span dir="ltr">&lt;<a href="mailto:laurent.bonny@gmail.com">laurent.bonny@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I am trying to connect an asterisk 1.6 to a trunking plate forme. With asterisk 1.4.x I added to sip.conf a line asking for registration in the form of:<br>register = XXXXXXXXX@domain.com:P<a href="mailto:assword%3AXXXXXXXXX@domain.com" target="_blank">assword:XXXXXXXXX@domain.com</a>@<a href="http://domain.com" target="_blank">domain.com</a><br>

<br>Unfortunately, as you can see,&nbsp; my usernames have to be of the form <a href="mailto:XXXXXX@domain.com" target="_blank">XXXXXX@domain.com</a> which means that I had to put 2 @ at the end of my line, 1 for the username and 1 for the domain.<br>

In Asterisk 1.6 it doesn&#39;t seems to work anymore the @ being a reserved sign, and something like this line being impossible.<br>Is it a bug from asterisk (as I don&#39;t see why I couldn&#39;t have a username in this form)? Would you know of a way to register my users correctly?<br>

</blockquote><div><br>Could you not do something like this?<br><br>register = XXXXXXXXX:password@provider<br><br>[provider]<br>type=peer<br>host=<a href="http://domain.com">domain.com</a><br>fromdomain=<a href="http://domain.com">domain.com</a><br>
username=XXXXXXXXX<br>fromuser=XXXXXXXXX<br>secret=password<br><br>Then it would register as XXXXXXXXX@domain.com...<br><br></div></div>d<br>