[Asterisk-Users] Billing inbound calls per minute
Darren Wiebe
darren at aleph-com.net
Fri Feb 10 21:32:50 MST 2006
Are you running a relatively recent version of ASTCC? Say within the
last 6 months. The answeredtime = 0 bug was supposed to have been fixed
by http://bugs.digium.com/view.php?id=4300 Unless something has changed
in Asterisk that affects this....
bbench at mail.bg wrote:
>On Monday 06 February 2006 09:25, JP Carballo wrote:
>
>
>>Michiel van Baak wrote:
>>
>>
>>>On 00:30, Mon 06 Feb 06, bbench at mail.bg wrote:
>>>
>>>
>>>>Hi,
>>>>Does anyone have a neat idea as how to
>>>>bill inbound calls per minute(second) real time?
>>>>
>>>>I've been pplaying with astcc, but while
>>>>'billseconds' stays empty, 'billcost' has
>>>>strange behavior - either stays ampty
>>>>or takes ONCE the "Connect fee"(if I put one)
>>>>and keeps it that way no matter how long
>>>>the call is ...( if no "Connect fee" -stays empty).
>>>>
>>>>i.e.
>>>>[inbound]
>>>>exten => 1122334455,1,Set(CALLERID(number)=${EXTEN})
>>>>exten => 1122334455,2,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN},4)
>>>>exten => 1122334455,3,Hangup
>>>>
>>>>
>>>DeadAGI is for hungup channels, not for active channels.
>>>That might be a problem.
>>>
>>>Try this:
>>>exten => h,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN},4)
>>>
>>>
>>ASTCC works fine here. The duration and billseconds fields in my cdrs as
>>well as ASTCC's cdr are filled.
>>I don't use the connect fee field though and all are set to 0.
>>
>>
>Would you share with me how'd you do billing on a DID
>(if you do), and through what Technology?
>Anything that goes Local here is ANSWEREDTIME zero.
>Thanks,
>benchev
>_______________________________________________
>--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
>
>
--
Darren Wiebe
darren at aleph-com.net
Aleph Communications
ASTPP - Open Source Voip Billing & Calling Cards
www.aleph-com.net/astpp
More information about the asterisk-users
mailing list