<div>fc7234153*CLI> dialplan show open<br>There is no existence of 'open' context<br></div>
<div>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. <br><br></div>
<div class="gmail_quote">On Mon, Jun 23, 2008 at 8:19 PM, Steve Edwards <<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">On Mon, 23 Jun 2008, broadband Voice wrote:<br><br>> I am trying to use the GotoIfTime function and get a busy signal. What I am<br>> trying to accomplish is to have the system tell callers that we are closed<br>
> after 5:00pm. Here is the code below.<br>><br>> ; If we're open, then go to the open context<br>> ; We're open from 9am to 6pm Monday through Friday<br>> exten => 3200,1,GotoIfTime(09:00-17:59,mon-fri,*,*?open,3200,1)<br>
> ;<br>> ; We're also late on Tuesday and Thursday<br>> exten => 3200,n,GotoIfTime(09:00-19:59,tue&thru,*,*?open,3200,1)<br>> ;<br>> ; We're also open from 9am to noon on Saturday<br>> exten => 3200,n,GotoIfTime(09:00-11:59,sat,*,*?open,3200,1)<br>
> ;<br>> ; Otherwise, we're closed<br>> exten => 3200,n,Goto(closed,s,1)<br>><br>> here is the cli<br>><br>> -- Executing [3200@default:1] GotoIfTime("SIP/1231-009da480",<br>> "09:00-17:59|mon-fri|*|*?open|3200|1") in new stack<br>
> -- Goto (open,3200,1)<br>> [Jun 23 16:57:46] WARNING[3267]: pbx.c:2468 __ast_pbx_run: Channel<br>> 'SIP/1231-009da480' sent into invalid extension '3200' in context 'open',<br>> but no invalid handler<br>
<br></div></div>Which part of "sent into invalid extension '3200' in context 'open'" do<br>you not understand :)<br><br>Do you have a context named "open?" Does the context have an extension<br>
3200? Does the extension have a priority 1?<br><br>Try "show dialplan open" and it should be [even more] obvious.<br><br>Thanks in advance,<br>------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>Newline Fax: +1-760-731-3000<br><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br><br>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net/" target="_blank">http://www.astricon.net</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>