<div dir="ltr">Hello,<div><br></div><div>Thanks for the reply.</div><div><br></div><div>Debug log: <a href="http://pasted.co/63d576ae">http://pasted.co/63d576ae</a><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr" style="font-size:12.8000001907349px"><div>--------------------------------------------</div><div><br></div><div>Bruno H. G. Gouvêa</div><div><br></div><div>CEO - CiberCloud LTDA</div><div><a href="http://cibercloud.com.br/" style="color:rgb(17,85,204)" target="_blank">http://cibercloud.com.br</a></div><div><a href="http://ligou.me/" style="color:rgb(17,85,204)" target="_blank">http://ligou.me</a><br></div><div><br></div></div><div style="font-size:12.8000001907349px"><br clear="all"><div>--- <br> Bruno H. G. Gouvêa<br><br><br> Tel.: <a href="tel:%2831%2999554646" value="+553199554646" style="color:rgb(17,85,204)" target="_blank">(31)99554646</a><br>---</div></div><br></div></div></div></div>
<br><div class="gmail_quote">2016-03-04 18:17 GMT-03:00 Bruno Henrique Gomes Gouvêa <span dir="ltr"><<a href="mailto:brunohenriquebh@gmail.com" target="_blank">brunohenriquebh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 href="http://pabx999999.ligou.me" target="_blank">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 href="http://101_pabx999999.ligou.me" target="_blank">101_pabx999999.ligou.me</a></div><div>Domain/server: <a href="http://pabx999999.ligou.me" target="_blank">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 href="http://pasted.co/db8fb3a2" target="_blank">http://pasted.co/db8fb3a2</a></div><div>Execution debug log: <a href="http://pasted.co/49bfe5bf" target="_blank">http://pasted.co/49bfe5bf</a></div><div>Contents view subscriber:</div><div>+-----------------------------+---------------------+---------------+------+</div><div>| username                    | domain              | ha1           | ha1b |</div><div>+-----------------------------+---------------------+---------------+------+</div><div>| admin                       | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| adminIM                     | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| 101                         | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| 103                         | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| 103IM                       | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| <a href="http://admin_pabx999999.ligou.me" target="_blank">admin_pabx999999.ligou.me</a>   | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| <a href="http://adminIM_pabx999999.ligou.me" target="_blank">adminIM_pabx999999.ligou.me</a> | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| <a href="http://101_pabx999999.ligou.me" target="_blank">101_pabx999999.ligou.me</a>     | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| <a href="http://103_pabx999999.ligou.me" target="_blank">103_pabx999999.ligou.me</a>     | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div>| <a href="http://103IM_pabx999999.ligou.me" target="_blank">103IM_pabx999999.ligou.me</a>   | <a href="http://pabx999999.ligou.me" target="_blank">pabx999999.ligou.me</a> | PASSWORD_PLAIN| NULL |</div><div><br></div><div><div><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>
</blockquote></div><br></div>