[Asterisk-Users] Accurate Billing
Xisco
xmateu at dtpspain.com
Mon Jul 7 05:23:58 MST 2003
Hi everybody,
I have the same problem severals month ago, and the only solution that I
found was modify code on app_dial.c in order to return severals values:
-Return the time when the call have been established (time() unix time),
so you have to see this value and calculate time just before dial. In order
to get the seconds if the call is established.
-And return 0 or -1 if the call hasn't established.
I use AGI scripting with this modification.
Bye.
----- Original Message -----
From: "marrandy" <marrandy at chaossolutions.org>
To: <asterisk-users at lists.digium.com>
Sent: Monday, July 07, 2003 1:46 PM
Subject: Re: [Asterisk-Users] Accurate Billing
> On Sunday 06 July 2003 11:07 pm, surajee at infotechs.lk wrote:
> > <P>hi everyone,</P>
> > <P>I know this issue has been raised many times before, i think still
the
> problem remains. When a call is made through a Zap channel, whether it is
> actually made or not (irrespective of whether, engaged, busy, or actually
> answered), asterisk logs it in CDRs as a call made. This makes it
impossible
> to do an accurate billing. Has anybody found a way to overcome this
problem,
> if yes, please let me/us know.</P>
> > <P>Thank you inadvance,</P>
> > <P>Surajee</P><br>
> >
>
> Do you know your sending in HTML ???
>
> --
> Claret is the liquor for boys; port for men; but he who aspires to be a
hero
> ... must drink brandy.
> -- Samuel Johnson
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list