What about using system(echo) to push stuff into a text file, or the mysql
plugin to push stuff over to a database?

Paul Hales
Technical Manager
AsteriskIT

----- Original Message ----- 
From: "Clint Tevlin" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Sent: Sunday, March 26, 2006 9:36 PM
Subject: [Asterisk-Users] Hopefully a Simple Question?


> Hi Guys,
>
> I'm writing an app that receives a call on an incoming channel (A), the
> caller
> negotiates through a series of prompts and is transferred to an outgoing
> channel (B) using the Dial cmd. That part works perfectly!
>
> For billing I'd like to be able to charge for the time that the first
caller
> is connected to the callee on channel (B) so I can pass on my own outgoing
> voip costs.
>
> How do I do this?
>
> I can get the DIALTIME and END time of the call from the cdr but there
> doesn't seem to be a way of capturing the ANSWERTIME of channel (B) from
the
> dialplan.
>
> Any suggestions would be greatly appreciated.
>
> clint_in_sydney
>
>
> _______________________________________________
> --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
>

_______________________________________________
--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

Reply via email to