Is there any way that you could trigger events based upon actual pickup of calls and hangups of lines in ALL cases(parked calls, queued calls, calls triggerd by .call queue files)? It seems like Asterisk needs something a little lower level to allow for this, is it even possible? MATT--- -----Original Message----- From: asterisk@analitica.md [mailto:asterisk@analitica.md] Sent: Thursday, October 09, 2003 8:57 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] real billing time for a call yes, you're right, i tried to put a ast_cdr_answer when queue makes the ast_cdr_setdstchan, but it didn't work, or maybe, apps like backgound and playback should not issue an ast_cdr_answer, so it is ussued only when the answer is actually answered by someone.> is you used the queue app, don't you also see a 20 sec event for that ? > > asterisk@analitica.md wrote: > >>hello, >> >>I am working with asterisk and looking for some stats about operators, >>then i've found that there is no real time of the call in asterisk when i >>use an autoattend context. >> >>looking into the cdr.c i can see that applications can call a ?set >>destination? or something to update the CDR record so you can know the >>real destination of the call, but i can't found something to make the >>apps(queue,dial, etc.) to update also the real time of the answer for >> that >>call. >>When the exten,s,1, is executed the answer time is setted and it remains >>that way, so if for example, a person dials a PBX, the autoattend starts >>telling him about the menu and the extensions and the person just dial an >>extension, lets say it took him 15 secs, then the Dial app is executed, >>for example it could be a queue app, and the extension start ringing, for >>lets say 5 sec and we have 20 secs so far and no real answer for that >>call, when anotehr person actually answers the call and they talk about >> 20 >>secs, the CDR will tell me that the specific call i'm talking about had >> 40 >>secs with 40 secs billables, when the real thing is that it was 20 secs >>what the real call last, i mean for real when a person actually gives >>attention to the caller. >> >>anyone has opinions? >> >>i think it could be very usefull, cause sometimes you need to know, for >>example, if operators are answering the calls for real or not, or if they >>just let it ring. with actual statistics.. i can't know that. >> >> >>thanks in advance. >>_______________________________________________ >>Asterisk-Users mailing list >>Asterisk-Users@lists.digium.com >>lists.digium.com/mailman/listinfo/asterisk-users >> >> >> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com lists.digium.com/mailman/listinfo/asterisk-users
Sistemas - ANALITICA MD
2003-Oct-09 06:22 UTC
[Asterisk-Users] real billing time for a call
really, for that, CDR needs to be rewritten in some parts, cause one thing you could use is to know the full path of a call, based on an identifier or something, so you can now the cal last 10 seconds on the prompt, 15 seconds on a queue, the 20 seconds talking, after that was parked for 10 seconds and then 5 secs after picked up and transfered and of ourse actual call last 120 secs. I mean a CDR entrance for each application.. don't yopu think? but that work is quite hard... i think.. What do you say mark? <cita quien="mattf">> Is there any way that you could trigger events based upon actual pickup of > calls and hangups of lines in ALL cases(parked calls, queued calls, calls > triggerd by .call queue files)? > > It seems like Asterisk needs something a little lower level to allow for > this, is it even possible? > > MATT--- > > -----Original Message----- > From: asterisk@analitica.md [mailto:asterisk@analitica.md] > Sent: Thursday, October 09, 2003 8:57 AM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] real billing time for a call > > > yes, you're right, i tried to put a ast_cdr_answer when queue makes the > ast_cdr_setdstchan, but it didn't work, or maybe, apps like backgound and > playback should not issue an ast_cdr_answer, so it is ussued only when the > answer is actually answered by someone. > > >> is you used the queue app, don't you also see a 20 sec event for that ? >> >> asterisk@analitica.md wrote: >> >>>hello, >>> >>>I am working with asterisk and looking for some stats about operators, >>>then i've found that there is no real time of the call in asterisk when >>> i >>>use an autoattend context. >>> >>>looking into the cdr.c i can see that applications can call a ?set >>>destination? or something to update the CDR record so you can know the >>>real destination of the call, but i can't found something to make the >>>apps(queue,dial, etc.) to update also the real time of the answer for >>> that >>>call. >>>When the exten,s,1, is executed the answer time is setted and it remains >>>that way, so if for example, a person dials a PBX, the autoattend starts >>>telling him about the menu and the extensions and the person just dial >>> an >>>extension, lets say it took him 15 secs, then the Dial app is executed, >>>for example it could be a queue app, and the extension start ringing, >>> for >>>lets say 5 sec and we have 20 secs so far and no real answer for that >>>call, when anotehr person actually answers the call and they talk about >>> 20 >>>secs, the CDR will tell me that the specific call i'm talking about had >>> 40 >>>secs with 40 secs billables, when the real thing is that it was 20 secs >>>what the real call last, i mean for real when a person actually gives >>>attention to the caller. >>> >>>anyone has opinions? >>> >>>i think it could be very usefull, cause sometimes you need to know, for >>>example, if operators are answering the calls for real or not, or if >>> they >>>just let it ring. with actual statistics.. i can't know that. >>> >>> >>>thanks in advance. >>>_______________________________________________ >>>Asterisk-Users mailing list >>>Asterisk-Users@lists.digium.com >>>lists.digium.com/mailman/listinfo/asterisk-users >>> >>> >>> >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> lists.digium.com/mailman/listinfo/asterisk-users >> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users >-- Sistemas - ANALITCA - MD