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


_______________________________________________
--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

Reply via email to