Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 4:28 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: A2billing Asterisk Dialplan
PostPosted: Sat Apr 26, 2014 6:30 pm 
Offline

Joined: Sat Mar 22, 2014 8:45 pm
Posts: 3
Hello everyone,

I am trying to setup billing among the extensions on my system, however, it doen't seem to work(add credit remains after call).
Also, when the attendant asks for a number dial, i am getting an error saying thatthe number is unavailable. any thoughts?

Code:
[Phones]

exten => 120,1,Set(CDR(accountcode)=9980951060)
exten => 120,n,AGI(a2billing.php,2)

include => a2billing
include => exts


[a2billing]
exten => _X.,n,AGI(a2billing.php,1)

exten => 5001,1,Set(CDR(accountcode)=9980951060)
exten => 5001,n,Dial(SIP/SOFT1,15)

exten => 5002,1,Set(CDR(accountcode)=9980951060)
exten => 5002,n,Dial(SIP/SOFT2,15)

[exts]
exten => _X.,1,Set(CDR(DNID)=5555${EXTEN})
exten => _X.,2,Goto(a2billing,5555${EXTEN},1)


Top
 Profile  
 
 Post subject: Re: A2billing Asterisk Dialplan
PostPosted: Mon Apr 28, 2014 12:19 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Calls have to launch a2billing.php in order to be billed.

If you want to allow calling between your customers, then we recommend you use the DID functionality.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group