[asterisk-users] How to collect Call duration, Dialout Call files?

Marco Mouta marco.mouta at gmail.com
Fri Jul 7 06:15:26 MST 2006


both cases.

And i would like to control call duration when the calls are bridged:

call "A" number pstn
then call "B" number sip or pstn

and CDR the call duration of  real call between "A" and "B", is there
something that does this?

Best regards,


On 7/7/06, Jon Schøpzinsky <jos at detele.dk> wrote:
> 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 at lists.digium.com [mailto:asterisk-users-bounces at 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 at 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 at lists.digium.com [mailto:asterisk-users-bounces at 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 at detele.dk> wrote:
> > > Hello
> > >
> > > Just use NoCDR() in the non bridged local context.
> > >
> > > Jon
> > >
> > > -----Oprindelig meddelelse-----
> > > Fra: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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
>
> _______________________________________________
> --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



More information about the asterisk-users mailing list