Thanks for your help,

Unfortunatly neither the "[email protected]"@domain.com   nor the  '
[email protected]'@domain.com nor the [email protected]@domain.com worked

and when I try to do:
register = XXXXXXXXX:passw...@provider

[provider]
type=peer
host=domain.com
fromdomain=domain.com
username=XXXXXXXXX
fromuser=XXXXXXXXX
secret=password

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 :-(

Any other ideas?

Regards,
Laurent


On Sat, Jan 24, 2009 at 2:14 PM, D Tucny <[email protected]> wrote:

> 2009/1/22 Laurent Bonny <[email protected]>
>
> Hello,
>>
>> 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:
>> register = 
>> [email protected]:Password:[email protected]<assword%[email protected]>
>> @domain.com
>>
>> Unfortunately, as you can see,  my usernames have to be of the form
>> [email protected] which means that I had to put 2 @ at the end of my
>> line, 1 for the username and 1 for the domain.
>> In Asterisk 1.6 it doesn't seems to work anymore the @ being a reserved
>> sign, and something like this line being impossible.
>> Is it a bug from asterisk (as I don't see why I couldn't have a username
>> in this form)? Would you know of a way to register my users correctly?
>>
>
> Could you not do something like this?
>
> register = XXXXXXXXX:passw...@provider
>
> [provider]
> type=peer
> host=domain.com
> fromdomain=domain.com
> username=XXXXXXXXX
> fromuser=XXXXXXXXX
> secret=password
>
> Then it would register as [email protected]...
>
> d
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to