Ami and CDR problems (Channel SIP)

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:


ianplain said “use the local channel”, but why? Should I use only the Local channel for AMI if I want to check my cdr?


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?


Can you post pls manager.conf settings.

By the way on cdr_manager.conf file it should be enabled.

And cdr_manager module should be loaded too

show modules like


enabled = yes
;webenabled = yes
port = 5038
bindaddr =

secret = test
read = originate,system,call,log,verbose,command,agent,user
write = originate,system,call,log,verbose,command,agent,user

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. … ger+events