<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">exten =&gt; _9.,1,GotoIf($[${CALLERIDNUM} : 3091|3144]?cscid:ncid)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I think you need "quotes" around ${CALLERIDNUM} if it could be empty.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ext 3030 may be currently doing: GotoIf($[ : 3091|3144]?cscid:ncid)</DIV></BLOCKQUOTE><BR></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" color="#33611B">exten =&gt; _9.,1,GotoIf($[(${CALLERIDNUM}) : 3091|3144]?cscid:ncid)</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">Wrapping any var with () will cause it to work properly if the variable is NULL/EMPTY.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">Anyway the syntax you are trying isn't valid.  I see no where in the help text or code of GotoIf that would imply this very logical way of doing it.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">Then again why are you trying so hard this is simple:</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">exten =&gt; 9/_3091.,1,Goto(cscid)</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">exten =&gt; 9/_3144.,1,Goto(cscid)</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">exten =&gt; 9,1,Goto(ncid)</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">NEXT!!! :P</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">And yes that will work.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B">/b</FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#33611B"></FONT></DIV><BLOCKQUOTE type="cite"></BLOCKQUOTE></BODY></HTML>