[SR-Users] REGISTER OK but on send "407 Proxy Authentication Required" with no ACK

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Jan 30 10:53:19 CET 2013


Carsten,

On 01/29/2013 08:25 PM, Carsten Maass wrote:
> Or does it mean, the authentication is rejected because the local part
> 030123456789 in URI does not match the subscriber 979?

Indeed, this is what happens when you call auth_check with flag "1":

if (!auth_check("$fd", "subscriber", "1")) {..}

flags - set of flags to control the behaviour of the function. If it is
1, then the function will check to see if the authentication username
matches either To or From header username, a matter of whether it is for
a REGISTER request or not..

Glad you solved it.

Andrew



More information about the sr-users mailing list