Philip Warner
2005-Apr-16 22:13 UTC
[Asterisk-Users] Park a call then hunt for a *willing* person
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 |/
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 <pjw@rhyme.com.au> 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 >
Don't use it with queuing, use it with dial On 4/17/05, Philip Warner <pjw@rhyme.com.au> wrote:> At 04:19 PM 17/04/2005, C F wrote: > >Use the macro feature in dial (CVS-HEAD only, or apply the patch) > >documented here: > > I can't see a way to get Queue to use the macro; it has a limited number of > options available. > > I have tried using 'Local/z@y' as a queue member, but this seems to fork > off a call *and* continue with the call in the queue. Very weird results. > > >http://www.voip-info.org/wiki-asterisk+cmd+dial > > > > > >On 4/17/05, Philip Warner <pjw@rhyme.com.au> 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 > > ---------------------------------------------------------------- > 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 |/ > >