[Asterisk-Users] ASTCC gives me only the time, but no cost
Darren Wiebe
darren at aleph-com.net
Sat Jul 23 08:08:13 MST 2005
The included seconds field is not taken into account when billing the
connect charge. IMHO this is a bug but I've not gotten enough feedback
to put the patch through. Therefore the patch has been closed. :-)
Darren Wiebe
darren at aleph-com.net
Ronald Wiplinger wrote:
> Darren Wiebe wrote:
>
>> The problem is in the line beginning with eval. It should read as
>> follows.
>>
>> my $adjtime = eval { $adjtime = int((($answeredtime -
>> $numdata->{includedseconds}) + $increment - 1) / $increment) *
>> $increment;
>> return $adjtime };
>>
> Thanks, I solved it by removing "$adjtime = eval"
>
> Are there other errors in the cvs verion?
>
>
> bye
>
> Ronald Wiplinger
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list