[OpenSIPS-Users] I never see 404 not found
Binan AL Halabi
binanalhalabi at yahoo.com
Thu Sep 13 12:03:44 CEST 2012
hej Sajjad,
If you mean the "username" in Authorization header is invalid in step-3 you can do:
adjust
your script to send "404 Not Found" since the proxy_authorize and www_
authorize return value is number and if this number is equal to -1 (invalid user) - authentication user does
not exist.
http://www.opensips.org/html/docs/modules/devel/auth_db.html#id250235
//Binan
--- On Fri, 9/7/12, sajjad purmohseni <spurmohseni at yahoo.com> wrote:
From: sajjad purmohseni <spurmohseni at yahoo.com>
Subject: Re: [OpenSIPS-Users] I never see 404 not found
To: "Muhammad Shahzad" <shaheryarkh at googlemail.com>, "users at lists.opensips.org" <users at lists.opensips.org>
Date: Friday, September 7, 2012, 7:45 AM
Hello Muhammad; thanks for your pursuing;
Yes, second Invite or Register contains authentication header; this is the scenario I mean
1 client -------------------------------Invite-------------------------------> proxy2 client <-------------------407 with nonce---------------------------- Proxy3 client ------------Invite with calculated nonce-------------------> Proxy4 client <----------------100 giving a try--------------------------------- Proxy5 client <----------------180 ringing--------------------------------------- Proxy
I
mean when client uses invalid "From URI" in authentication header in
the third step; proxy should send an "404 not found"; but as I see;
server just sends
407 message. As you know, if URI is valid, and calculated
response in authentication header is invalid server sends 407 message
too. This causes I cannot understand the URI binding is valid or not. I
except if "from URI" binding is invalid in authentication process;
server send me an 404 not found message. Is it possible and typical
option in SIP proxy servers?
Thank you
-------------------------------------------------- kind regards; Sajad Pourmohseni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120913/330ec700/attachment.htm>
More information about the Users
mailing list