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
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
>
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
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,
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