Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 4:43 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Jun 02, 2007 9:12 pm 
Offline

Joined: Tue Mar 27, 2007 5:23 am
Posts: 93
I think this would be more feasible to do since callers without callerid MUST be reentering their card numbers each time.
*** UPDATED CODE THAT ACTUALLY WORKS ***
Code:
[custom-callingcard]

exten => _225,1,Answer
exten => _225,2,Wait,1
exten => _225,3,Gotoif($[${REGEX("[0-9]." ${CALLERID(num))}]?normal)
exten => _225,4,DeadAGI(a2billing.php|3)  ; Make a [agi-conf3] with no callerid check
exten => _225,5(normal),DeadAGI(a2billing.php|1) ; standard callerid check.
exten => _225,6,Wait,2
exten => _225,7,Hangup


This way, anyone who calls into the system with no callerid will not get free credits from the previous caller.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 03, 2007 5:28 am 
Offline

Joined: Tue Mar 27, 2007 5:23 am
Posts: 93
Updated the code with the proper information now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 30 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