Hello, can you look at the SIP traffic and see if the realm parameter for authrozation is matching what you have in the config. The logs messages show:
Mar 7 10:59:13 p /usr/sbin/kamailio[29558]: ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=946 a=27 n=auth_check Mar 7 10:59:13 p /usr/sbin/kamailio[29558]: DEBUG: auth_db [authorize.c:486]: auth_check(): realm [pabx999999.ligou.me] table [subscriber] flags [0] Mar 7 10:59:13 p /usr/sbin/kamailio[29558]: DEBUG: auth [api.c:86]: pre_auth(): auth:pre_auth: Credentials with realm 'pabx999999.ligou.me' not found Mar 7 10:59:13 p /usr/sbin/kamailio[29558]: DEBUG: auth_db [authorize.c:252]: digest_authenticate_hdr(): no credentials Meaning that headers with expected realm were not found. You can eventually make available the output of ngrep for a registration exposing the issue. Cheers, Daniel On 07/03/16 17:10, Bruno Henrique Gomes Gouvêa wrote: > Hello, > > Thanks for the reply. > > Debug log: http://pasted.co/63d576ae > > -------------------------------------------- > > Bruno H. G. Gouvêa > > CEO - CiberCloud LTDA > http://cibercloud.com.br <http://cibercloud.com.br/> > http://ligou.me <http://ligou.me/> > > > --- > Bruno H. G. Gouvêa > > > Tel.: (31)99554646 <tel:%2831%2999554646> > --- > > > 2016-03-04 18:17 GMT-03:00 Bruno Henrique Gomes Gouvêa > <brunohenriqu...@gmail.com <mailto:brunohenriqu...@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 <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@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
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users