<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<br>
run kamailio with debug=3 in kamailio.cfg and you should see more
log messages that should give you more hints about what happens
there. If you can't sort them out, send the log messages during the
processing of the register to the mailing list and we will look at
them and provide guidelines.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 04/03/16 22:17, Bruno Henrique Gomes
Gouvêa wrote:<br>
</div>
<blockquote
cite="mid:CAFBSE6uE6zx97n7j2324KJUXUuUHMrR0HBsQQC-q9zs-qLm18Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>First excuse any mistakes in English. I'm working on a
platform that makes use of integrated Kamailio with asterisk
(Elastix mt).</div>
<div><br>
</div>
<div>This platform allows the login of my SIP clients via the
extension number and the client's domain, where the kamailio
after authentication change the username to sip EXTENSION + _
+ DOMAIN (expected by Asterisk) and sends to the asterisk.</div>
<div><br>
</div>
<div>I need the client can also send the sip user in standard
EXTENSION + _ + DOMAIN, for it changed the view subscriber to
also return a username record in the format that the softphone
is sending, but the platform still seems not authenticate the
REGISTER using new way functions in auth_check ("$ FD",
"subscriber", "0") and auth_challenge ("$ FD", "0").</div>
<div><br>
</div>
<div>Thus works:</div>
<div>Login: 101</div>
<div>Domain/server: <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a></div>
<div>Password: PASSWORD_PLAIN</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>This way does not work:</div>
<div>Login: <a moz-do-not-send="true"
href="http://101_pabx999999.ligou.me">101_pabx999999.ligou.me</a></div>
<div>Domain/server: <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a></div>
<div>Password: PASSWORD_PLAIN</div>
<div><br>
</div>
<div><br>
</div>
<div>Already got a good look at the documentation and could not
find the problem, could give me some help?</div>
<div><br>
</div>
<div><br>
</div>
<div>Kamailio.cfg: <a moz-do-not-send="true"
href="http://pasted.co/db8fb3a2">http://pasted.co/db8fb3a2</a></div>
<div>Execution debug log: <a moz-do-not-send="true"
href="http://pasted.co/49bfe5bf">http://pasted.co/49bfe5bf</a></div>
<div>Contents view subscriber:</div>
<div>+-----------------------------+---------------------+---------------+------+</div>
<div>| username | domain | ha1
| ha1b |</div>
<div>+-----------------------------+---------------------+---------------+------+</div>
<div>| admin | <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| adminIM | <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| 101 | <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| 103 | <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| 103IM | <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| <a moz-do-not-send="true"
href="http://admin_pabx999999.ligou.me">admin_pabx999999.ligou.me</a>
| <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| <a moz-do-not-send="true"
href="http://adminIM_pabx999999.ligou.me">adminIM_pabx999999.ligou.me</a>
| <a moz-do-not-send="true" href="http://pabx999999.ligou.me">pabx999999.ligou.me</a>
| PASSWORD_PLAIN| NULL |</div>
<div>| <a moz-do-not-send="true"
href="http://101_pabx999999.ligou.me">101_pabx999999.ligou.me</a>
| <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| <a moz-do-not-send="true"
href="http://103_pabx999999.ligou.me">103_pabx999999.ligou.me</a>
| <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div>| <a moz-do-not-send="true"
href="http://103IM_pabx999999.ligou.me">103IM_pabx999999.ligou.me</a>
| <a moz-do-not-send="true"
href="http://pabx999999.ligou.me">pabx999999.ligou.me</a> |
PASSWORD_PLAIN| NULL |</div>
<div><br>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr" style="font-size:12.8px">
<div>--------------------------------------------</div>
<div><br>
</div>
<div>Bruno H. G. Gouvêa</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div style="font-size:12.8px">
<div>---</div>
</div>
<br>
</div>
</div>
</div>
</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://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>
Kamailio Advanced Training, Berlin, March 7-9, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>