Hello! Asterisk box receiving calls. Is there some way to get information about current calls from external or AGI application? I'm interested in: - duration, how long calls already in the system (billing and actual time); - source/destination phone numbers; - etc. In other words can I receive information which we are usually getting in CDRs during the time when the call is still active? Thanks, Dmitry
On Tue, 13 Apr 2004, Dmitry Mishchenko waxed:> In other words can I receive information which we are usually getting in CDRs > during the time when the call is still active?Yes, via the manager interface. Check manager.conf, it lets * talk on port 5038. --Chris -- Chris Maj, Rochester cmaj_at_freedomcorpse_dot_com Pronunciation Guide: Maj == May
Hi!> On Tue, 13 Apr 2004, Dmitry Mishchenko waxed: > > > In other words can I receive information which we are usually getting in CDRs > > during the time when the call is still active? > > Yes, via the manager interface. Check manager.conf, it > lets * talk on port 5038.The other option is that you write your own AGI that triggers at the beginning of the call and records the info that you want. Then you can add another script that checks for "show channels" or something similar and removes the temporary Db entry the first script created in case the call has been completed. Downside: You don't get to trace what happened in between, i.e. you are missing all the transfer and parking games. And all the queue fun. Cheers, Philipp