I am trying to find out why users get 401. This simple error got me. Server realm is siptest.corp.equinix.com so if (!www_authorize("siptest.corp.equinix.com", "subscriber")) {...}
The table subscriber, domain: displaying localhost. It should read siptest.corp.equinix.com. Based on the code under modules/auth sip gets stripped and ha1 creates: gen_ha1 marcelo localhost sermarcelo 2686e9018da810053455be71a35d6928 In subscriber ha1: 2686e9018da810053455be71a35d6928 (all OK so far with ha1)
But I forgot when I installed this version for some reason SIP_DOMAIN=localhost SO NEVER DO THAT! :)
--M
Btw: I am running ser 0.8.11pre29 (i386/netbsd) so far w/mysql all OK.
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Wednesday, July 09, 2003 2:36 PM To: serusers@lists.iptel.org Subject: Re: [Serusers] www_authorize()
What exactly do you need to know ? The documentation is in sip_router/modules/auth_db/doc
The function tries to verify user's credentials. It returns 1 if they are correct and -1 if not.
Jan.
On 09-07 14:24, Marcelo Schmidt wrote:
Could someone point me where I can read about this www_authorize()?
Thanks. --M
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello,
sorry, but I don't understand. Is there any problem or is it working ? If your users get 401 then enabled debugging (debug=9) and see the server outputs, there should be some messages from auth module.
Jan.
On 09-07 16:30, Marcelo Schmidt wrote:
I am trying to find out why users get 401. This simple error got me. Server realm is siptest.corp.equinix.com so if (!www_authorize("siptest.corp.equinix.com", "subscriber")) {...}
The table subscriber, domain: displaying localhost. It should read siptest.corp.equinix.com. Based on the code under modules/auth sip gets stripped and ha1 creates: gen_ha1 marcelo localhost sermarcelo 2686e9018da810053455be71a35d6928 In subscriber ha1: 2686e9018da810053455be71a35d6928 (all OK so far with ha1)
But I forgot when I installed this version for some reason SIP_DOMAIN=localhost SO NEVER DO THAT! :)
--M
Btw: I am running ser 0.8.11pre29 (i386/netbsd) so far w/mysql all OK.
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Wednesday, July 09, 2003 2:36 PM To: serusers@lists.iptel.org Subject: Re: [Serusers] www_authorize()
What exactly do you need to know ? The documentation is in sip_router/modules/auth_db/doc
The function tries to verify user's credentials. It returns 1 if they are correct and -1 if not.
Jan.
On 09-07 14:24, Marcelo Schmidt wrote:
Could someone point me where I can read about this www_authorize()?
Thanks. --M
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers