[Asterisk-Users] dial plan logic

Doug Lytle support at drdos.info
Thu Mar 30 07:44:37 MST 2006


Miles Scruggs wrote:
> Just starting to enjoy the full features of asterisk, I do have a 
> couple questions though, that I can't seem to find answers for in the 
> wiki, just wondering if someone could light my way.
>
> after a caller has made their choice of options in the dial plan, I 
> would like them to be placed on "hold" (music, not ringing) while the 
> system processes through the rest of the dial plan attempting to 
> locate a callee.  For instance if there is a complex logic of order of 
> ext to try before going to voicemail then the callee would here 
> "Please enjoy the music while your party is reached" ....tunes.....
>
> during that time it can ring multiple extensions, at the same time, 
> then after that hunt through various ext until the appropriate party 
> is reached, or if not then it will fall to voicemail.
>
Use the m option on the dial command to play music instead of ringing. 
* 
   m*: Provide Music on Hold to the calling party until the called 
channel answers. This is mutually exclusive with option 'r', obviously. 
Use m(class) to specify a class for the music on hold.

Have it ring multiple extensions with a timeout.  At the timeout, drop 
the callee into a queue and have it do round robin or whatever your 
preferences, if the queue times out, drop them into voice mail.

All basic stuff thats documented on the Wiki.

Doug

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."





More information about the asterisk-users mailing list