Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 12:13 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: charging without entering a destination number
PostPosted: Sun Mar 02, 2008 11:40 am 
Offline

Joined: Sun Mar 02, 2008 11:14 am
Posts: 1
Hi,

I have a call in number XXXXXXXX connected to asterisk. when customer call this number I send the call to differnet predefined destinatins (PSTN)using customers callerid. I want to give the customers lets say 5 hours for 10$ for this service. Is there away that I can charge customers in a2billing without customers need to enter a destinatin number?

Thanks in advance/
MMT


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 3:19 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
You could match the CLI in the Asterisk dialplan and based on this invoke A2Billing with different destinations. In the following example 011111111 is a CLI and 0121212 is the destination it calls.
Code:
exten => _X./0111111111,1,Goto(a2billing-standard,0121212,1)
exten => _X./0222222222,1,Goto(a2billing-standard,0132323,1)

[a2billing-standard]
exten => _X.,1,DeadAGI(a2billing.php|1)
; (or however you usually launch A2Billing)

There is related functionality already in A2Billing, but I don't think it can easily be used to do what you want here. See Ratecard -> Create new Ratecard -> CallerID Prefix.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 21 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group