Hi all!
I have some problems using AMI and SIP Channel. In fact, calls are made with no problem but a CDR is not inserted.
Is there any restriction about it? I mean using AMI and SIP Channel with CDR.
I saw this:
viewtopic.php?f=1&t=75536&p=149028&hilit=no+cdr+ami&sid=1879aaa3b2a6d670e3ab92fa9ccc08a9#p149028
ianplain said “use the local channel”, but why? Should I use only the Local channel for AMI if I want to check my cdr?
thanks!
Do you mean to mysql or file?
İf mysql then run this in cli
Cdr mysql status
Of course, everything is working fine if I make regular calls without using AMI. I mean if I make calls using a softphone (or whatever) the CDR is inserted (MySQL).
Hi guys,
Any idea why CDR is not inserted If I want to use SIP channel and AMI together?
thanks.
Can you post pls manager.conf settings.
By the way on cdr_manager.conf file it should be enabled.
enabled=yes
And cdr_manager module should be loaded too
show modules like cdr_manager.so
Asterisk 1.6.2.6
manager.conf
[general]
enabled = yes
;webenabled = yes
port = 5038
bindaddr = 0.0.0.0
[test]
secret = test
read = originate,system,call,log,verbose,command,agent,user
write = originate,system,call,log,verbose,command,agent,user
;deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0
cdr_manager.conf
[general]
enabled = yes
As you can see my conf files are ok and every module involved are loaded.
well there is another way to save mysql or any other database with AMI but I don’t know if it works for you.
You can catch all calls with ami cdr event in your code and save to database.
voip-info.org/wiki/view/aste … ger+events