I have found this to be true also. [whatever] has to match username=
It appears that it ignores the username field for IAX users. -Jonathan > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Tomas Komarek > Sent: Monday, March 27, 2006 8:43 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] registration with different username > > Well, I did, but the reason is still the same, if the username is > different from the phone number, asterisk rejects the registration :-( > > > > Dovid Bender napsal(a): > > --- Tomas Komarek <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >> > >> I am trying to register to the asterisk with > >> different phone number, > >> login and password. This is my setting in the > >> sip.conf: > >> > >> [246079011] > >> type=friend > >> context=cisco > >> secret=XXX > >> host=dynamic > >> username=tomas > >> allow=alaw > >> nat=yes > >> canreinvite=no > >> mailbox=246079011 > >> > >> but I get this reply: > >> > >> Mar 27 13:17:00 NOTICE[5144]: chan_sip.c:10889 > >> handle_request_register: > >> Registration from > >> '246079011<sip:[EMAIL PROTECTED]>' failed > >> for > >> '195.122.204.149' - Username/auth name mismatch > >> > > Double check the user id and pass. Seems that asterisk > > is rejecting for that reason. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
