Ronald Wiplinger wrote:

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 ?

Short answer is Yes.
I use a similar astcc.agi call for "in-network" calls.
The cost will depend on how you've implemented TARIFF and whether it adds to or bypasses the cost field for your 600x SIP route.

--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.
_______________________________________________
--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