[Asterisk-Users] astcc and inwards billing
Ronald Wiplinger
ronald at elmit.com
Mon Apr 17 11:35:52 MST 2006
I (cannot sleep and I) am thinking if there is a way to make inwards
billing easy possible.
To dial out we use something like:
exten =>
_9011N.,4,DeadAGI(astcc.agi,${CALLERID(num)},${EXTEN:${TRUNKMSD}},${TARIFF})
(I have an extra field TARIFF, what allows me to use different prices
for different users)
To dial to a phone we use something like:
exten => 888888888,1,Dial(SIP/6001,20,tr)
Can we use something like:
exten => 888888888,4,DeadAGI(astcc.agi,${EXTEN},6001,${TARIFF},3)
and use TARIFF with all location as x cents ?
bye
Ronald Wiplinger
More information about the asterisk-users
mailing list