[asterisk-users] Determination of billsec

joakimsen at gmail.com joakimsen at gmail.com
Wed Nov 7 13:33:23 CST 2007


That's odd because in my world I *NEVER* have a CDR show "ANSWERD" and
anything besides >1 billing seconds. Also -- Dave shows up with the
stuff and isn't confused about his name.

CSB -- I'd say the reason you are having this problem is you are
dialing a local channel. Have you tried otherwise? Which version of
Asterisk?

On 11/7/07, Doug <Doug at natel.net> wrote:
> At 02:47 11/7/2007, CSB wrote:
> >Content-Type: multipart/alternative;
> >         boundary="----=_NextPart_000_0007_01C82187.BC96F350"
> >Content-Language: en-nz
> >
> >How is the billsec field calculated in CDRs?
> >
> >I have a situation where billsec is being reported as 0 despite the
> >call being answered and a conversation occurring. An example record follows:
> >
> >'2007-11-06 21:36:50', '6495566778', '6495566778', '0116495566778',
> >'1100012_1', 'Local/0116495566778 at 1100012_1-887b,2',
> >'SIP/64.192.001.001-08893238', 'Dial',
> >'SIP/0116495566778 at 64.192.001.001||hH', 10, 0, 'ANSWERED', 3, '',
> >'1194338210.61', ''
> >
>
> Where did you get this CDR?  CDRs should look more
> like:
>
> http://www.asterisk.org/doxygen/1.2/AstCDR.html
>
> clid            Caller ID
> src             Source
> dst             Destination
> dcontext        Destination context
> channel         Channel name
> dstchannel      Destination channel
> lastapp         Last app executed
> lastdata        Last app's arguments
> start           Time the call started.
> answer          Time the call was answered.
> end             Time the call ended.
> duration        Duration of the call.
> billsec         Duration of the call once it was answered.
> disposition     ANSWERED, NO ANSWER, BUSY
> amaflags        DOCUMENTATION, BILL, IGNORE etc
> accountcode     The channel's account code.
> uniqueid        The channel's unique id.
> userfield       The channels uses specified field.
>
> A call can ring for 10 seconds, then be answered and
> hung up on (or dropped for some reason), and end up
> having billable seconds of zero.
>
> Where in this CDR is there evidence of a conversation
> having taken place?  A "conversation" would at least
> be 15-30 seconds:
>
>    "Hello?"
>
>    "Yeah, It's me--Dave.  I got the stuff, man."
>
>    "Dave?"
>
>    "Yeah.  'Dave'.  It's me."
>
>    "Dave's not here."  Click.
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list