Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey everyone,
Still working on the Asterisk box, and decided that this new question deserved a new thread. Below is my extensions.conf and I think I am doing it right, however, I am not sure since I can't test it quite yet.
You call get a message, press 1 to continue, then it sends you to a sub section where you choose from the options presented. one option I haven't figured out though is what do you do if you want a " If you know the extension please enter it now one" which I image through the submenu you push them to another "area" where the user can enter it. Help on that would be hot thanks and a check over my extensions. I also put in one of the submenu extensions for reference.
Thanks
Code:
[incoming2]
;==============================================
;MAIN MENU
;==============================================
;Does the introduction to the main menu
;----------------------------------------------
exten => s,1,Answer
exten => s,n,Background(thanks)
; "Thanks for calling press 1 to continue"
exten => s,n,WaitExten
exten => 1,1,Goto(submenu,s,1)
exten => 2,1,Hangup
[submenu]
;=============================================
;SUBMENU
;=============================================
;Does the introduction to the submenu:
;---------------------------------------------
exten => s,1,Ringing ; Make them comfortable with 2 seconds of ringback
exten => s,n,Wait,2
exten => s,n,Background(submenuopts) ; "Thanks for calling the inquiries..press 1 for inquiries..press 2 for..."
;Goes to extensions like mentioned in the above recording
;---------------------------------------------
exten => s,n,WaitExten
exten => 1,1,Goto(default,inquiries,1)
exten => 2,1,Goto(default,accounting,2)
exten => 3,1,Goto(default,support,3)
exten => 4,1,Goto(default,development,4)
;--------------------------------------
;EXTENSION DEVELOPMENT
;---------------------------------------
[development]
exten => 4,1,Dial(SIP/710,20,)
exten => 4,n,Voicemail(400@default)
exten => 4,n,Hangup()
This looks wrong
exten => 4,1,Goto(default,development,4)
you can just use
exten => 4,1,Dial(SIP/710@development,20)
if in sip.conf extension 4 is in the context [development]
you may need this;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.