[Asterisk-Users] prepaid application
Rusty Shackleford
john97 at flatline.com
Thu Dec 1 12:10:26 MST 2005
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of scott
> Sent: Wednesday, November 30, 2005 11:52 PM
> To: asterisk-users at 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
More information about the asterisk-users
mailing list