> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of scott
> Sent: Wednesday, November 30, 2005 11:52 PM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] prepaid application
> 
> 
> Hi All
> 
> I am using prepaid auth (callingcards), the idea is for a
> prepaid support line. It is up and running but I have a 
> couple of questions with regards to modifications I would 
> like to make.
> 
> When a user calls and they go through the process of entering
> their card number. They are then asked for a destination. 
> What I would like to be able to do is not have it ask for a 
> destination and automatically dial a number? 

How about something like:

exten => 1234567,1,read(CARDNUM,promptfile)
exten => 1234567,2,agi(astcc.agi,${CARDNUM},5566)

...where "promptfile" is the name of the prompt instructing the caller
to enter his account number, "...followed by the pound sign", and 5566
is the extension you want dialed after authentication.

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date:
11/30/2005
 

_______________________________________________
--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