Jesse
Jesse

Reputation: 79

Asterisk 1.4 -- SQL -- how to determine transferred and missed calls by certain queue

Is it possible to determine, if a call was ended in the target queue (let's say 720) or it was transferred and answered in another queue (let's say 721)?

Is there a parameter that describes transferred call state?

Upvotes: 0

Views: 332

Answers (2)

viktike
viktike

Reputation: 733

There is a patch for Asterisk 1.4 (which is way too old by the way) to write a queue log to MySQL.

But you need to recompile.

Upvotes: 0

arheops
arheops

Reputation: 15259

No, there are no easy way

You will have only answered/hanguped state in queue_log.

To manage transfer you need also add special dialplan or event listener.

Simple way - add in dialplan some variable like __ENTERED_QUEUE=720(duble __ mean it have be moved to sub-channels on new channels create) and read that variable in dialplan.

More complex way - AMI event listener which track calls and mark it.

Upvotes: 1

Related Questions