Re: [OpenSIPS-Users] How to tell if uac_auth() is successful

2016-07-29 Thread Bogdan-Andrei Iancu
Hi Ben, All functions have a return code. If there is nothing particulary mentioned, the stanard interpretation of the return codesis: false ( <0) - function failed true (>0) - function succeeded Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] How to tell if uac_auth() is successful

2016-07-28 Thread Newlin, Ben
Bogdan, You are right. I must have made a mistake in my previous test. Thanks! The module documentation does not mention that the function returns a result. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, July 27, 2016 at 3:51 AM To: OpenSIPS users mailling list

Re: [OpenSIPS-Users] How to tell if uac_auth() is successful

2016-07-27 Thread Bogdan-Andrei Iancu
Hi Ben The uac_auth() should return true if the authentication was successfully performed. Are you sure you correctly perform the test on the return code? Do you see any error log from the function ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] How to tell if uac_auth() is successful

2016-07-25 Thread Newlin, Ben
I am using the UAC and UAC_AUTH modules to perform trunk authentication. The uac_auth() function will only use credentials when the realm matches one in the 401/407 challenge. Is there any way to tell whether there was a successful authentication match? The function doesn’t provide any return