Answering Agent

Home » Asterisk Users » Answering Agent
Asterisk Users 3 Comments

Hello friends, when a call arrives in the queue, a CDR record is created, but there is no info about which agent has picked up the call. I can find that info only in queue_log.

Is there a way to have that info in the CDR or maybe in a variable in the
“h” context, when the call is ended?


3 thoughts on - Answering Agent

  • I do this by writing custom CDR. I write the agents extension write into the CDR records. This makes is easy to just parse through the CDR and get all the info you need about the call.

    Google something like “asterisk custom CDR”

  • CgpTZW50IGZyb20gbXkgVmVyaXpvbiBXaXJlbGVzcyA0RyBMVEUgRFJPSUQKCkdvcGFsYWtyaXNo bmFuIE4gPGdvcGFsYWtyaXNobmFuLmFuQGdtYWlsLmNvbT4gd3JvdGU6Cgo+LS0gCj5fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX18KPi0tIEJhbmR3aWR0aCBhbmQgQ29sb2NhdGlvbiBQcm92aWRlZCBieSBodHRwOi8vd3d3
    LmFwaS1kaWdpdGFsLmNvbSAtLQo+TmV3IHRvIEFzdGVyaXNrPyBKb2luIHVzIGZvciBhIGxpdmUg aW50cm9kdWN0b3J5IHdlYmluYXIgZXZlcnkgVGh1cnM6Cj4gICAgICAgICAgICAgICBodHRwOi8v d3d3LmFzdGVyaXNrLm9yZy9oZWxsbwo+Cj5hc3Rlcmlzay11c2VycyBtYWlsaW5nIGxpc3QKPlRv IFVOU1VCU0NSSUJFIG9yIHVwZGF0ZSBvcHRpb25zIHZpc2l0Ogo+ICAgaHR0cDovL2xpc3RzLmRp Z2l1bS5jb20vbWFpbG1hbi9saXN0aW5mby9hc3Rlcmlzay11c2Vycw=