http://lists.digium.com/pipermail/asterisk-users/2004-December/080417.html
http://www.voip-info.org/wiki-Asterisk+cmd+Dial
Both of the above links outline the same technique.
On Thu, 13 Jan 2005 23:31:07 +1100, RockWater ! <rockwater321@msn.com>
wrote:> Hi,
>
> Could someone please give me some advice on how to get * to perform the
> following :-
>
> Answer incoming call (from IAX Trunk)
> Play a prompt to the caller like "Thanks for calling please hold while
you
> call is transferred to first available operator"
> The caller hears MusicOnHold
>
> Asterisk begins 'hunting' for someone to take the call by dialing
through a
> list of 'available' extensions
>
> When an extension is found * dials it and plays a prompt like "You
have a
> call, Press 1 to Accept 2 to Reject" - * will play the prompt several
times
> and wait for the operator to respond until timeout.
>
> If the operator accepts the call by pressing '1' the call is
transferred to
> them.
> if the operator rejects the call by pressing '2' * disconnects from
this
> operator and 'hunts' for the next available extension
> if the operator does not answer or does not respond before the timeout *
> disconnects from this operator hunts for the next available extension
>
> If no operators are available the caller is transferred to voicemail
>
> Thanks
>
> Brendan
>
> _______________________________________________
> 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
>