Hello,
I'm sorry, it was my fault, there was a view subscriber in kamailio scheme
and also in the asterisk scheme.
Thank you!
Bruno H. G. Gouvêa
CEO - CiberCloud LTDA
http://cibercloud.com.br
http://ligou.me
---
Bruno H. G. Gouvêa
Tel.: (31)
Hello,
do you have WITH_ASTERISK defined? If yes, is the asterisk database
having a subscriber table where you keep the usernames and passwords?
Cheers,
Daniel
On 09/03/16 09:09, Bruno Henrique Gomes Gouvêa wrote:
>
> Hello,
>
> Params here:
>
> # - auth_db params -
> #!ifdef WITH_AUTH
Hello,
Params here:
# - auth_db params -
#!ifdef WITH_AUTH modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "load_credentials", "")
#!ifdef WITH_ASTERISK
# subscriber table is actually a view in DBASTURL
modparam("auth_db", "use_domain", 1)
modparam("auth_db", "db_url", DBAST
Hello,
apparently it is ok in database table -- can you send here the modparams
for auth_db module and the piece of config how you execute the
auth_check() function?
Cheers,
Daniel
On 08/03/16 20:33, Bruno Henrique Gomes Gouvêa wrote:
> Hello,
>
>
> Record in subscriber table, i cant see any pro
Hello,
Record in subscriber table, i cant see any problem:
+-+-+---+--+
| username | domain | ha1| ha1b |
+-+-+---+--+
|101_pabx9
Hello,
On 08/03/16 09:27, Bruno Henrique Gomes Gouvêa wrote:
> Hello,
>
> Here new debug:
>
> Mar 8 03:25:10 p /usr/sbin/kamailio[1681]: ERROR: *** cfgtrace:
> c=[//etc/kamailio/kamailio.cfg] l=946 a=25 n=xlog
> Mar 8 03:25:10 p /usr/sbin/kamailio[1681]: ERROR:
Hello,
Here new debug:
Mar 8 03:25:10 p /usr/sbin/kamailio[1681]: ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=946 a=25 n=xlog
Mar 8 03:25:10 p /usr/sbin/kamailio[1681]: ERROR:
Can you add next line before the execution of auth_check() in your
config file:
xlog(" handling $rm ($ci) for authorization: $hdr(Authorization)\n");
Then test and send again the log messages.
Cheers,
Daniel
On 07/03/16 21:30, Bruno Henrique Gomes Gouvêa wrote:
> Sorry, my mail client chang
Sorry, my mail client change text, correct is (without blank space):
REGISTER sip:pabx99.ligou.me;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 189.13.125.28:49288
;branch=z9hG4bK-d8754z-f96a8271ea34f240-1---d8754z-
Max-Forwards: 70
Contact:
To:
From: ;tag
Hello,
have you mangled the sip message you pasted here? I see a white space in
front of username in From/To headers, which can lead in mismatching the
authentication username with caller id username.
Cheers,
Daniel
On 07/03/16 21:08, Bruno Henrique Gomes Gouvêa wrote:
> Hello,
>
> I did a tcpdu
Hello,
I did a tcpdump as directed, the softphone I use to test (Zoiper) tries to
send a register without authorization header when receiving sip 401, it
sends a new register with the authorization headers. This second attempt to
register is in the log and still does not allow the correct authent
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
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
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
guidelin
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 t
15 matches
Mail list logo