Laurent Bonny
2009-Jan-22 15:21 UTC
[asterisk-users] registration problem using asterisk 1.6
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 = XXXXXXXXX at domain.com:Password:XXXXXXXXX at domain.com<assword%3AXXXXXXXXX at domain.com> @domain.com Unfortunately, as you can see, my usernames have to be of the form XXXXXX at domain.com 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? Thanks for your help. Laurent -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090122/5f5d00c1/attachment.htm
Danny Nicholas
2009-Jan-22 15:29 UTC
[asterisk-users] registration problem using asterisk 1.6
I'd try XXXXXXXXX\@domain.com:Password:XXXXXXXXX\@domain.com <mailto:assword%3AXXXXXXXXX at domain.com> @domain.com Or 'XXXXXXXXX at domain.com':Password: <mailto:assword%3AXXXXXXXXX at domain.com> 'XXXXXXXXX at domain.com'@domain.com _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Laurent Bonny Sent: Thursday, January 22, 2009 9:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion; sgueye.ext at orange-ftgroup.com Subject: [asterisk-users] registration problem using asterisk 1.6 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 = XXXXXXXXX at domain.com:Password:XXXXXXXXX at domain.com <mailto:assword%3AXXXXXXXXX at domain.com> @domain.com Unfortunately, as you can see, my usernames have to be of the form XXXXXX at domain.com 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? Thanks for your help. Laurent -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090122/6e1ac862/attachment-0001.htm
2009/1/22 Laurent Bonny <laurent.bonny at gmail.com>> 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 = XXXXXXXXX at domain.com:Password:XXXXXXXXX at domain.com<assword%3AXXXXXXXXX at domain.com> > @domain.com > > Unfortunately, as you can see, my usernames have to be of the form > XXXXXX at domain.com 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:password at provider [provider] type=peer host=domain.com fromdomain=domain.com username=XXXXXXXXX fromuser=XXXXXXXXX secret=password Then it would register as XXXXXXXXX at domain.com... d -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090124/a546ce5b/attachment.htm