Jon Schøpzinsky
2006-Jul-07 04:40 UTC
SV: [asterisk-users] How to collect Call duration, Dialout Call files?
Hello Just use NoCDR() in the non bridged local context. Jon -----Oprindelig meddelelse----- Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta Sendt: 7. juli 2006 11:22 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: [asterisk-users] How to collect Call duration, Dialout Call files? Hi all, I've been planing to implement a webcall portal to dial SIP extensions from my pbx, I've implemented this with dialout call files. Could you advice me on the best way to collect call duration of this calls, only this way i can allow my users to place external outgoing calls. I've need to use local_chan to avoid CDR missing details. But this way i get CDR of two calls, and what I wanna get is the call duration of the bridged call. By default i get 2 calls in CDR, instead of the bridged final call. Is it much better to use Asterisk Manager API instead of Dialout Call files? Marco Mouta _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006
Marco Mouta
2006-Jul-07 04:54 UTC
[asterisk-users] How to collect Call duration, Dialout Call files?
Sorry i didn't get your idea. could you explain me what you mean? Are you saying to make CDR in only one of the legs? Best regards, Marco Mouta On 7/7/06, Jon Sch?pzinsky <jos@detele.dk> wrote:> Hello > > Just use NoCDR() in the non bridged local context. > > Jon > > -----Oprindelig meddelelse----- > Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta > Sendt: 7. juli 2006 11:22 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: [asterisk-users] How to collect Call duration, Dialout Call files? > > Hi all, > > I've been planing to implement a webcall portal to dial SIP > extensions from my pbx, I've implemented this with dialout call files. > > Could you advice me on the best way to collect call duration of this > calls, only this way i can allow my users to place external outgoing > calls. > > I've need to use local_chan to avoid CDR missing details. But this way > i get CDR of two calls, and what I wanna get is the call duration of > the bridged call. By default i get 2 calls in CDR, instead of the > bridged final call. > > Is it much better to use Asterisk Manager API instead of Dialout Call files? > > Marco Mouta > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Com os melhores cumprimentos, Marco Mouta
Jon Schøpzinsky
2006-Jul-07 05:07 UTC
SV: [asterisk-users] How to collect Call duration, Dialout Call files?
When I used the .call files, I made so that the call went through a Local extension, where I didn't record the call, so that it would only be logged on the outgoing channel Jon -----Oprindelig meddelelse----- Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta Sendt: 7. juli 2006 13:55 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [asterisk-users] How to collect Call duration, Dialout Call files? Sorry i didn't get your idea. could you explain me what you mean? Are you saying to make CDR in only one of the legs? Best regards, Marco Mouta On 7/7/06, Jon Sch?pzinsky <jos@detele.dk> wrote:> Hello > > Just use NoCDR() in the non bridged local context. > > Jon > > -----Oprindelig meddelelse----- > Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta > Sendt: 7. juli 2006 11:22 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: [asterisk-users] How to collect Call duration, Dialout Call files? > > Hi all, > > I've been planing to implement a webcall portal to dial SIP > extensions from my pbx, I've implemented this with dialout call files. > > Could you advice me on the best way to collect call duration of this > calls, only this way i can allow my users to place external outgoing > calls. > > I've need to use local_chan to avoid CDR missing details. But this way > i get CDR of two calls, and what I wanna get is the call duration of > the bridged call. By default i get 2 calls in CDR, instead of the > bridged final call. > > Is it much better to use Asterisk Manager API instead of Dialout Call files? > > Marco Mouta > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Com os melhores cumprimentos, Marco Mouta _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006
Jon Schøpzinsky
2006-Jul-07 05:55 UTC
SV: [asterisk-users] How to collect Call duration, Dialout Call files?
I switched to using the Manager API, as I thought it was easier to use. I use it from a PHP script, which uses the flaAPI.php class. Just use the originate action, set the channel to a Local channel and connect to a context. Are both calls going out over PSTN, or are one of them going via SIP? -----Oprindelig meddelelse----- Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta Sendt: 7. juli 2006 14:15 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [asterisk-users] How to collect Call duration, Dialout Call files? did u try asterisk manager api? On 7/7/06, Jon Sch?pzinsky <jos@detele.dk> wrote:> When I used the .call files, I made so that the call went through a Local extension, where I didn't record the call, so that it would only be logged on the outgoing channel > > Jon > > -----Oprindelig meddelelse----- > Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta > Sendt: 7. juli 2006 13:55 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: Re: [asterisk-users] How to collect Call duration, Dialout Call files? > > Sorry i didn't get your idea. > > could you explain me what you mean? Are you saying to make CDR in only > one of the legs? > > Best regards, > Marco Mouta > > On 7/7/06, Jon Sch?pzinsky <jos@detele.dk> wrote: > > Hello > > > > Just use NoCDR() in the non bridged local context. > > > > Jon > > > > -----Oprindelig meddelelse----- > > Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Marco Mouta > > Sendt: 7. juli 2006 11:22 > > Til: Asterisk Users Mailing List - Non-Commercial Discussion > > Emne: [asterisk-users] How to collect Call duration, Dialout Call files? > > > > Hi all, > > > > I've been planing to implement a webcall portal to dial SIP > > extensions from my pbx, I've implemented this with dialout call files. > > > > Could you advice me on the best way to collect call duration of this > > calls, only this way i can allow my users to place external outgoing > > calls. > > > > I've need to use local_chan to avoid CDR missing details. But this way > > i get CDR of two calls, and what I wanna get is the call duration of > > the bridged call. By default i get 2 calls in CDR, instead of the > > bridged final call. > > > > Is it much better to use Asterisk Manager API instead of Dialout Call files? > > > > Marco Mouta > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > Com os melhores cumprimentos, > > Marco Mouta > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Com os melhores cumprimentos, Marco Mouta _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04-07-2006