Finally did it but only one more problem, I want it to ring once before going to the context or playing the background message.
[day_menu] exten => s,1,Answer() exten => s,2,Background(welcome-message) exten => s,3,Dial(SIP/5960,200,rt) ; week day goes to Philadelphia Office [weekend__menu] exten => s,1,Answer() exten => s,2,Background(welcome-message) exten => s,3,Dial(SIP/5961,200,rt) ; weekend goes to Delaware Office [night_menu] exten => s,1,Answer() exten => s,2,Background(officeclosed) exten => s,3,Hangup ; ;incoming exten => 1866x,1,GotoIfTime(8:00-18:00|mon-sun|*|*?day_menu,s,1) exten => 1866x,n,Goto(night_menu,s,1) On Tue, Jun 24, 2008 at 6:35 AM, broadband Voice <[EMAIL PROTECTED]> wrote: > I googled some information on voip.org. Its my fault though and > implemented the sample implementation without creating the context an the > include statements. > > On Mon, Jun 23, 2008 at 10:33 PM, Eric ManxPower Wieling <[EMAIL PROTECTED]> > wrote: > >> If any docs were the cause of this (very important) misconception, maybe >> the docs could be reworded. Do you remember what caused you to think >> that context was created automatically? >> >> broadband Voice wrote: >> > fc7234153*CLI> dialplan show open >> > There is no existence of 'open' context >> > I was under the impression that this was part of the Asterisk default >> > libraries. I will create the context then and also add the include >> files. >> >> >> -- >> Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, >> T-1, PRI, Frame Relay, Linux, and network design. Based near >> Birmingham, AL. Now accepting clients worldwide. >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> AstriCon 2008 - September 22 - 25 Phoenix, Arizona >> Register Now: http://www.astricon.net >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users