[Asterisk-Users] prepaid application
Innocent Evil
innocent.evil at inbox.com
Thu Dec 1 11:18:43 MST 2005
Hi Scott,
Yes, its possible
pass 'm' option to Dial command for MusicOnHold
If destination is unreachable, you need to get the return value of Dial
and from that value you will know whether a call was connected or not. Based on that value you can execute Dial again or not.
You can put everything in an AGI script. AGI is really fun !
Thanks,
--
You don't have any choice, you already made it before you came here.
> -----Original Message-----
> From: scott at mysecretworld.co.uk
> Sent: Thu, 01 Dec 2005 07:51:58 +0000
> 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?
>
> At present I ask them to enter a default number when it ask for a
> destination and this then takes them to a queue, if someone is available
> it rings and goes through, if no one is available rather than sit in the
> queue and listen to the lovely onhold music prepaid auth comes back and
> says that destination is unreachable, is there a way to get it to just
> wait in the queue?
>
> Many Thanks In Advance
> Scott Pinhorne
>
>
> _______________________________________________
> --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
More information about the asterisk-users
mailing list