Thanks for your help,<br><br>Unfortunatly neither the &quot;<a href="mailto:XXXXX@domain.com">XXXXX@domain.com</a>&quot;@<a href="http://domain.com">domain.com</a> &nbsp; nor the&nbsp; &#39;<a href="mailto:XXXXX@domain.com">XXXXX@domain.com</a>&#39;@<a href="http://domain.com">domain.com</a> nor the XXXXX\@<a href="http://domain.com">domain.com</a>@<a href="http://domain.com">domain.com</a> worked<br>
<br>and when I try to do:<br>register = XXXXXXXXX:password@provider<br><br>[provider]<br>type=peer<br>host=<a href="http://domain.com/" target="_blank">domain.com</a><br>fromdomain=<a href="http://domain.com/" target="_blank">domain.com</a><br>

username=XXXXXXXXX<br>fromuser=XXXXXXXXX<br>secret=password<br><br>asteirsk does not add the domain to the username (nor than the authuser)... In fact my auth user is not exactly my fromuser (prefix), and it seems that only the user declared in the register count... so nothing work :-(<br>
<br>Any other ideas?<br><br>Regards,<br>Laurent<br><br><br><div class="gmail_quote">On Sat, Jan 24, 2009 at 2:14 PM, D Tucny <span dir="ltr">&lt;<a href="mailto:d@tucny.com">d@tucny.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote">2009/1/22 Laurent Bonny <span dir="ltr">&lt;<a href="mailto:laurent.bonny@gmail.com" target="_blank">laurent.bonny@gmail.com</a>&gt;</span><div><div></div><div class="Wj3C7c"><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></div><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" target="_blank">domain.com</a><br>fromdomain=<a href="http://domain.com" target="_blank">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>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>