Use the macro feature in dial (CVS-HEAD only, or apply the patch) documented here: http://www.voip-info.org/wiki-asterisk+cmd+dial
On 4/17/05, Philip Warner <[EMAIL PROTECTED]> wrote: > Dear All, > > I like to implement something that does the following: > > - a call comes in > - answered: "Please enter your code" > - caller types a number, eg. '123' > - caller hears: "we will try to connect you" followed by music. > - asterisk tries calling a series of predefined numbers, asking each > "will you accept a caller using code '123', press 1 for yes, 2 for no" > - when someone accepts, it connects the two callers. > > Apart from the confirmation message, queueing does this (if I create once > queue per allowed 'code'). > > I have tried using parking, but it does not seem to be possible (at least > because we can't get the parked extension number for use in a dialplan). > > Any suggestions would be appreciated. > > Thanks, > > Philip Warner > > ---------------------------------------------------------------- > Philip Warner | __---_____ > Albatross Consulting Pty. Ltd. |----/ - \ > (A.B.N. 75 008 659 498) | /(@) ______---_ > Tel: (+61) 0500 83 82 81 | _________ \ > Fax: (+61) 03 5330 3172 | ___________ | > Http://www.rhyme.com.au | / \| > | --________-- > PGP key available upon request, | / > and from pgp.mit.edu:11371 |/ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users