asterisk2billing.org
http://forum.asterisk2billing.org/

How to A2Billing call direct ?
http://forum.asterisk2billing.org/viewtopic.php?f=23&t=8229
Page 1 of 1

Author:  ryan_mu [ Tue Oct 05, 2010 1:51 pm ]
Post subject:  How to A2Billing call direct ?

Hi all,
I have installed successfully with Asterisk 1.4x and A2Billing 1.7.1.
And I have configured my system with extension as following :
Code:
[from-internal-custom]
exten => 666,1,Answer
exten => 666,2,Wait(2)
exten => 666,3,DeadAGI(a2billing.php,1)
exten => 666,4,Wait(2)
exten => 666,5,Hangup

It means that my trunk has a number called is 666, and the client calls this number and enters the destination.

But I want to configure that the client calls direct the number destination (not use the number fixed of trunk as 666 ) and the A2Billing works to calculate this call. Example : the client calls direct : 06 83 83 75 91 and A2Billing will call to destination.
How do I write the extension to configure the call direct ?

Thank in advance for all helps!
T.Q.Tuan

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/