[SR-Users] SIP Autentication Failed

Bruno Henrique Gomes Gouvêa brunohenriquebh at gmail.com
Mon Mar 7 17:10:19 CET 2016


Hello,

Thanks for the reply.

Debug log: http://pasted.co/63d576ae

--------------------------------------------

Bruno H. G. Gouvêa

CEO - CiberCloud LTDA
http://cibercloud.com.br
http://ligou.me


---
 Bruno H. G. Gouvêa


 Tel.: (31)99554646
---


2016-03-04 18:17 GMT-03:00 Bruno Henrique Gomes Gouvêa <
brunohenriquebh at gmail.com>:

> Hello,
>
> First excuse any mistakes in English. I'm working on a platform that makes
> use of integrated Kamailio with asterisk (Elastix mt).
>
> 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.
>
> 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").
>
> Thus works:
> Login: 101
> Domain/server: pabx999999.ligou.me
> Password: PASSWORD_PLAIN
>
>
>
> This way does not work:
> Login: 101_pabx999999.ligou.me
> Domain/server: pabx999999.ligou.me
> Password: PASSWORD_PLAIN
>
>
> Already got a good look at the documentation and could not find the
> problem, could give me some help?
>
>
> Kamailio.cfg: http://pasted.co/db8fb3a2
> Execution debug log: http://pasted.co/49bfe5bf
> Contents view subscriber:
>
> +-----------------------------+---------------------+---------------+------+
> | username                    | domain              | ha1           | ha1b
> |
>
> +-----------------------------+---------------------+---------------+------+
> | admin                       | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | adminIM                     | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 101                         | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 103                         | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 103IM                       | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | admin_pabx999999.ligou.me   | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | adminIM_pabx999999.ligou.me | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 101_pabx999999.ligou.me     | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 103_pabx999999.ligou.me     | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
> | 103IM_pabx999999.ligou.me   | pabx999999.ligou.me | PASSWORD_PLAIN|
> NULL |
>
> --------------------------------------------
>
> Bruno H. G. Gouvêa
>
>
> ---
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160307/143b2675/attachment.html>


More information about the sr-users mailing list