Hello,
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.
Cheers,
Daniel
On 04/03/16 22:17, Bruno Henrique Gomes Gouvêa wrote:
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 <http://pabx999999.ligou.me>
Password: PASSWORD_PLAIN
This way does not work:
Login: 101_pabx999999.ligou.me <http://101_pabx999999.ligou.me>
Domain/server: pabx999999.ligou.me <http://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
<http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| adminIM | pabx999999.ligou.me
<http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 101 | pabx999999.ligou.me
<http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 103 | pabx999999.ligou.me
<http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 103IM | pabx999999.ligou.me
<http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| admin_pabx999999.ligou.me <http://admin_pabx999999.ligou.me> |
pabx999999.ligou.me <http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| adminIM_pabx999999.ligou.me <http://adminIM_pabx999999.ligou.me> |
pabx999999.ligou.me <http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 101_pabx999999.ligou.me <http://101_pabx999999.ligou.me> |
pabx999999.ligou.me <http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 103_pabx999999.ligou.me <http://103_pabx999999.ligou.me> |
pabx999999.ligou.me <http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
| 103IM_pabx999999.ligou.me <http://103IM_pabx999999.ligou.me> |
pabx999999.ligou.me <http://pabx999999.ligou.me> | PASSWORD_PLAIN| NULL |
--------------------------------------------
Bruno H. G. Gouvêa
---
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, March 7-9, 2016 -
http://www.asipto.com