[SR-Users] exit after www_challenge

2019-10-08 Thread PICCORO McKAY Lenz
i have the code with an exit, i dont know if are correct that "exit" in that line? or not? help me please? # authenticate the REGISTER requests (uncomment to enable auth) #!ifdef WITH_ASTERISK if (!www_authorize("$td", "sipusers")) #!else if (!www_authorize("$td", "subscriber")) #!endif { www_chal

Re: [SR-Users] exit after www_challenge

2019-10-08 Thread Alex Balashov
Seems reasonable to me. On Tue, Oct 08, 2019 at 11:07:44AM -0400, PICCORO McKAY Lenz wrote: > i have the code with an exit, i dont know if are correct that "exit" > in that line? or not? help me please? > > # authenticate the REGISTER requests (uncomment to enable auth) > #!ifdef WITH_ASTERISK >

Re: [SR-Users] exit after www_challenge

2019-10-08 Thread Daniel Tryba
On Tue, Oct 08, 2019 at 11:07:44AM -0400, PICCORO McKAY Lenz wrote: > i have the code with an exit, i dont know if are correct that "exit" > in that line? or not? help me please? They are correct (to me). After calling www_challenge() you want to stop any further processing. Same for your 403 cond

Re: [SR-Users] exit after www_challenge

2019-10-08 Thread David Villasmil
And this is because the next message (response to the authentication challenge) will come in as a different packet. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Oct 8, 2019 at 4:57 PM Daniel Tryba wrote: > On Tue, Oct 08, 2019 at 11:07:44AM -0400,

Re: [SR-Users] exit after www_challenge

2019-10-08 Thread PICCORO McKAY Lenz
2019-10-08 12:13 GMT-04:00, David Villasmil : > And this is because the next message (response to the authentication > challenge) will come in as a different packet. umm David gimme to me the most reasonable response.. maybe i must shared a more expanded code.. to property see if are reasonable a