[Asterisk-Users] dialplan woes

Steven Critchfield critch at basesys.com
Tue Aug 17 15:07:22 MST 2004


On Tue, 2004-08-17 at 17:03, defiance wrote:
> I am making some changes to the dial plan at the request of the company
> president and have run into some problems. I have a couple of layers of
> menu's and I am not sure how to handle them.
> 
> Here is how it should work (sorry for the crappy diagram)
> 
> main menu
> 
> --------Dial 1 for support 
> |	Dial 2 for special                                     
> |	Dial 3 sales                                           
> |	Dial 5 For sales                                       
> |
> |
> |______________________________submenu
> 				Dial 1 for product a support
> 				Dial 2 for pdoduct b support
> 				Dial 3 for product c support
> 
> My problem is that if you choose option one in the second menu it loop
> back to the first menu. I don't know how to handle this, and I'm sure it
> can be done. here is the section of extensions.conf that deals with it

CONTEXTS....

[main context]
--------Dial 1 for support 
|	Dial 2 for special                                     
|	Dial 3 sales                                           
|	Dial 5 For sales                                       
[support context]
; don't include main context
|______________________________submenu
				Dial 1 for product a support
				Dial 2 for pdoduct b support
				Dial 3 for product c support
[special context[
[sales context]
[and so on.]
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list