<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
sending 407 for INVITE is the correct behaviour, as in SIP all
initial requires should be authenticated for security reasons.<br>
<br>
The phone should follow up with another INVITE that has
Proxy-Authorization header.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 12/4/13 9:03 PM, mohammed alyaseen
wrote:<br>
</div>
<blockquote
cite="mid:1386187418.80277.YahooMailNeo@web172005.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:14pt">
<div><span>Hi all...I need help ...</span></div>
<div style="color: rgb(0, 0, 0); font-size: 18.88888931274414px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; background-color:
transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 18.88888931274414px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; background-color:
transparent; font-style: normal;"><span>I am using Kamailio as
SIP server... I tried to do call between two sip clients
(MyMonster)..The clients can register with kamailio without
any problems. But when I try to do call between two clients,
It doesn't work. Once the kamailio gets the first invite
from the client, it </span><span style="font-size: 14pt;">directly</span><span
style="background-color: transparent;"> replies with "407
Proxy Authentication Required". In the kamailio.cfg the
domain is "kamailio.test" in the kamctlr I also use </span><span
style="font-size: 14pt;">"kamailio.test" as SIP domain..</span></div>
<div style="color: rgb(0, 0, 0); font-size: 14pt; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;"><span style="font-size: 14pt;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 18.88888931274414px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; background-color:
transparent; font-style: normal;"><span style="font-size:
14pt;">In the Log of Kamailio I see this:</span></div>
<div style="color: rgb(0, 0, 0); font-size: 14pt; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent;
font-style: normal;"><span style="font-size: 14pt;"><br>
</span></div>
<div style="background-color: transparent;">2(16979) DEBUG:
corex [corex_lib.c:189]: corex_check_self(): check self domain
match: 0:kamailio.test:0</div>
<div style="background-color: transparent;"> 2(16979) DEBUG:
auth_db [authorize.c:476]: auth_check(): realm [kamailio.test]
table [subscriber] flags [1]</div>
<div style="background-color: transparent;"> 2(16979) DEBUG:
auth [api.c:86]: pre_auth(): auth:pre_auth: Credentials with
realm 'kamailio.test' not found</div>
<div style="background-color: transparent;"> 2(16979) DEBUG:
auth_db [authorize.c:252]: digest_authenticate(): no
credentials</div>
<div style="background-color: transparent;"> 2(16979) DEBUG:
auth [challenge.c:127]: get_challenge_hf():
build_challenge_hf: realm='kamailio.test'</div>
<div style="background-color: transparent;"><span></span></div>
<div style="background-color: transparent;"> 2(16979) DEBUG:
auth [challenge.c:269]: get_challenge_hf(): auth:
'Proxy-Authenticate: Digest realm="kamailio.test",
nonce="Up+EuVKfg42WYOrC87GTm+rvMNFeNe3/BCf5m4A="</div>
<div style="background-color: transparent;"><br>
</div>
<div style="background-color: transparent; color: rgb(0, 0, 0);
font-size: 18.88888931274414px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; font-style: normal;">Thanks in advance...</div>
<div style="color: rgb(0, 0, 0); font-size: 18.88888931274414px;
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; background-color:
transparent; font-style: normal;"><span style="font-size:
14pt;"><br>
</span></div>
<div><br>
</div>
<div style="color:rgb(17, 17, 17);font-weight:bold;"><font
size="3">Medo</font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>