[asterisk-users] AMI and CDR(answer)

Matthew Jordan mjordan at digium.com
Wed Oct 15 14:41:01 CDT 2014


On Wed, Oct 15, 2014 at 1:44 PM, Murthy Gandikota <mgandikota at nts.net> wrote:
> Hi All
>
>
>
> I am unable to obtain CDR(answer) in AMI.
>
>
>
> Tried the following:
>
>
>
> $ telnet 127.0.0.1 5038
>
> Trying 127.0.0.1...
>
> Connected to localhost.
>
> Escape character is '^]'.
>
> Asterisk Call Manager/1.0
>
>
>
> Action: Login
>
> ActionID: 1
>
> Username: admin
>
> Secret: secret5
>
>
>
> Action: Getvar
>
> Channel: xxx
>
> Variable: CDR(start)
>
>
>
> Response: Success
>
> Variable: CDR(start)
>
> Value: 2014-10-15 11:35:37
>
>
>
> Action: Getvar
>
> Channel: xxx
>
> Variable: CDR(answer)
>
>
>
> Response: Success
>
> Variable: CDR(answer)
>
> Value:
>
>

Are you sure the channel is answered?

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list