Hello, what purpose does the username option for a peer serves in sip.conf? I saw a mention the you could for example define an extension like: [999] host=dynamic secret=blah username=blah@foo but this doesnt work like this. Asterisk writes that registration failed on the console, and ethereal shows 401 Unauthorized responce that * sends. but it works like: [blah] host=dynamic secret=blah the park in [] is used as a username always. But that would need one more string in extensions.conf, to forward 999 to sip extension. or am I doing something wrong. I use the latest CVS, this issue AFAIK has been the same since I`ve started using *. Thnx, -- Anton Yurchenko<phila@dg.net.ua> Digital Generation
I beleive the username should be without the @xxx roy On Monday 24 March 2003 13:58, Anton Yurchenko wrote:> Hello, > > > what purpose does the username option for a peer serves in sip.conf? I > saw a mention the you could for example define an extension like: > > [999] > host=dynamic > secret=blah > username=blah@foo > > but this doesnt work like this. Asterisk writes that registration failed > on the console, and ethereal shows 401 Unauthorized responce that * sends. > but it works like: > > [blah] > host=dynamic > secret=blah > > the park in [] is used as a username always. But that would need one > more string in extensions.conf, to forward 999 to sip extension. > > or am I doing something wrong. I use the latest CVS, this issue AFAIK > has been the same since I`ve started using *. > > Thnx,-- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.
Roy Sigurd Karlsbakk wrote:>I beleive the username should be without the @xxx > >nope, I`m trying to have a setting like: [1001] type=friend username=phila@dg secret=phila host=dynamic defaultip=172.20.0.199 canreinvite=yes ; Cisco poops on reinvite sometimes mailbox=1001 but changing to username=phila doesnt help. only when its like [phila] ... .. it works. Username is not taken into account it seems. thnks>roy > >On Monday 24 March 2003 13:58, Anton Yurchenko wrote: > > >>Hello, >> >> >>what purpose does the username option for a peer serves in sip.conf? I >>saw a mention the you could for example define an extension like: >> >>[999] >>host=dynamic >>secret=blah >>username=blah@foo >> >>but this doesnt work like this. Asterisk writes that registration failed >>on the console, and ethereal shows 401 Unauthorized responce that * sends. >>but it works like: >> >>[blah] >>host=dynamic >>secret=blah >> >>the park in [] is used as a username always. But that would need one >>more string in extensions.conf, to forward 999 to sip extension. >> >>or am I doing something wrong. I use the latest CVS, this issue AFAIK >>has been the same since I`ve started using *. >> >>Thnx, >> >> > > >-- Anton Yurchenko<phila@dg.net.ua> Digital Generation
http://www.xiph.org/press/2003/nonprofitspeex1/ John ------------------------------------------------------------------------- NetRom Internet Services 973-208-1339 voice john@netrom.com 973-208-0942 fax http://www.netrom.com -------------------------------------------------------------------------