Hi... Some questions. ?How do you make that some user who is in a menu, can dial any extension that is define in other context ? Example.. [office] 100,1.. 200,1.. 300,1.. [menu] s,1 <- When the user is here.. can dial 200 and it takes 1,1 the 200 extension of office context. 2,1 3,1 ?If i have 2 Asterisk with IAX, the server A have some extension(100,110,120,130) and the server B have others (200,210,220,230). How can i do that when a user of Server A dial 210 call the extension 210 that is in the B server ? Well thanks. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/
Alvaro Parres wrote:> ?How do you make that some user who is in a menu, can dial any extension > that is define in other context ? Example.. > > [office] > 100,1.. > 200,1.. > 300,1.. > [menu] > s,1 <- When the user is here.. can dial 200 and it takes > 1,1 the 200 extension of office context. > 2,1 > 3,1 >Please read the PDF document linked to on the asterisk web site on the "documentation" page. Look for the use of the include command to include contexts. -- Alastair Maw <al.maw@mxtelecom.com> MX Telecom - Systems Analyst http://www.mxtelecom.com
tim.mcqueen@qualisys.biz
2003-Sep-11 10:14 UTC
[Asterisk-Users] Some Question of extension.conf
You should include the office contect in the menu context. i.e.: [office] Exten => 100,1,... Exten => 200,1,... Exten => 200,1,... [menu] Include => office S,1,... 1,1,... 2,1,... To include a context on a different server, use the switch command thus: [menu] Switch => IAX2/username:password@otherserver/local Where local is the context that extension 210 is in on the remote server. As mentioned earlier, the Asterisk Handbook is a good place to start for many questions, as many people on the list get cranky when someone asks a basic question. It can be found at http://www.digium.com/handbook-draft.pdf. -----Original Message----- From: Alvaro Parres [mailto:arabe@xmarts.com] Sent: Thursday, September 11, 2003 11:54 AM To: Asterisk Subject: [Asterisk-Users] Some Question of extension.conf Hi... Some questions. ?How do you make that some user who is in a menu, can dial any extension that is define in other context ? Example.. [office] 100,1.. 200,1.. 300,1.. [menu] s,1 <- When the user is here.. can dial 200 and it takes 1,1 the 200 extension of office context. 2,1 3,1 ?If i have 2 Asterisk with IAX, the server A have some extension(100,110,120,130) and the server B have others (200,210,220,230). How can i do that when a user of Server A dial 210 call the extension 210 that is in the B server ? Well thanks. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
${P6601}=SIP/P6601 and is a SIP Cisco Extension. The internal extensions dial properly and the SIP phone is properly associated with the extensions context. I want to be able to dial internal extensions from the incoming analog line so I included the extensions context in the incominganalog1 context. I get a fast busy and a hangup when I enter the tones in the background message. P6601=SIP/6601 P6602=SIP/6602 -----Original Message----- From: Duane [mailto:digium@aus-biz.com] Sent: Saturday, April 10, 2004 9:57 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Extensions and Include Kevin wrote:> exten => 0,1,Dial,${P6601}what does ${P6601} contain? -- Best regards, Duane http://www.cacert.org - Free Security Certificates http://www.nodedb.com - Think globally, network locally http://www.sydneywireless.com - Telecommunications Freedom http://happysnapper.com.au - Sell your photos over the net! http://e164.org - Using Enum.164 to interconnect asterisk servers _______________________________________________ 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