<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi !<BR>Vat is wrong with my dial plan?<BR>I can’t 
get my call forwarding and parking to work L<BR>Do I need to edit moor config 
files?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
<DIV>&nbsp;</DIV>
<DIV>Thore<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</DIV>
<DIV>&nbsp;</DIV>
<DIV>extensions.conf :</DIV>
<DIV>&nbsp;</DIV>
<DIV>[general]<BR>static=yes<BR>writeprotect=no</DIV>
<DIV>&nbsp;</DIV>
<DIV>[macro-dialout]<BR>; ${ARG1} CIDNAME<BR>; ${ARG2} Device<BR>; ${ARG3} 
Num<BR>; ${ARG4} SIP EXT<BR>exten =&gt; s,1,SetCIDName(${ARG1})<BR>exten =&gt; 
s,2,Dial(${ARG2}${ARG3}${ARG4},,t)<BR>exten =&gt; s,3,Playback(invalid)<BR>exten 
=&gt; s,4,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[macro-stdexten]<BR>&nbsp;;<BR>&nbsp;; Standard extension macro (with 
call forwarding):<BR>&nbsp;; ${ARG1} - Extension(we could have used 
${MACRO_EXTEN} here as well<BR>&nbsp;; ${ARG2} - Device(s) to 
ring<BR>&nbsp;;<BR>&nbsp;exten=s,1,DBget(temp=CFIM/${ARG1}) ; Get CFIM key, if 
not existing, goto 102<BR>&nbsp;exten=s,2,Dial(<A 
href="mailto:Local/${temp}@pbx/n">Local/${temp}@pbx/n</A>)&nbsp;&nbsp; ; 
Unconditional forward<BR>&nbsp;exten=s,3,Dial(${ARG2},20) ; 20sec 
timeout<BR>&nbsp;exten=s,4,DBget(temp=CFBS/${ARG1})&nbsp; ; Get CFBS key, if not 
existing, goto 105<BR>&nbsp;exten=s,5,Dial(<A 
href="mailto:Local/${temp}@pbx/n">Local/${temp}@pbx/n</A>) ; Forward on busy or 
unavailable</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[globals]</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[apps]<BR>&nbsp;; Unconditional Call Forward<BR>&nbsp;exten =&gt; 
_*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})<BR>&nbsp;exten =&gt; 
_*21*X.,2,Hangup<BR>&nbsp;exten =&gt; 
#21#,1,DBdel(CFIM/${CALLERIDNUM})<BR>&nbsp;exten =&gt; #21#,2,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;; Call Forward on Busy or Unavailable<BR>&nbsp;exten =&gt; 
_*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4})<BR>&nbsp;exten =&gt; 
_*61*X.,2,Hangup<BR>&nbsp;exten =&gt; 
#61#,1,DBdel(CFBS/${CALLERIDNUM})<BR>&nbsp;exten =&gt; #61#,2,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>[iconnect]<BR>exten =&gt; 
_47XXXXXXX.,1,Dial(Sip/iconnect/${EXTEN},120,t)<BR>exten =&gt; 
_1XXXXXXX.,1,Dial(Sip/iconnect/${EXTEN},120,t)</DIV>
<DIV>&nbsp;</DIV>
<DIV>[outgoing-40]<BR>include =&gt; apps<BR>include =&gt; parkedcalls</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; _820XXXXX,1,Hangup<BR>exten =&gt; 
_XXXXXXXX,1,Dial(Sip/33297540/${EXTEN},120,t)<BR>exten =&gt; 
_XXXXXXXX,2,Congestion<BR>exten =&gt; _820XXXXX,2,Congestion</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[outgoing-45]<BR>include =&gt; apps<BR>include =&gt; parkedcalls</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; _820XXXXX,1,Hangup<BR>exten =&gt; 
_XXXXXXXX,1,Dial(Sip/voip/${EXTEN},120,t)<BR>exten =&gt; 
_XXXXXXXX,2,Congestion<BR>exten =&gt; _820XXXXX,2,Congestion</DIV>
<DIV>&nbsp;</DIV>
<DIV>[local]<BR>include =&gt; apps<BR>include =&gt; parkedcalls<BR>exten =&gt; 
101,1,Dial(Sip/101,120)<BR>exten =&gt; 102,1,Dial(Sip/102,120)<BR>exten =&gt; 
201,1,Dial(Sip/201,120)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>[dialout-40]<BR>include =&gt; outgoing-40<BR>include =&gt; local<BR>include 
=&gt; apps<BR>include =&gt; parkedcalls<BR>include =&gt; iconnect</DIV>
<DIV>&nbsp;</DIV>
<DIV>[dialout-45]<BR>include =&gt; outgoing-45<BR>include =&gt; local<BR>include 
=&gt; apps<BR>include =&gt; parkedcalls</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>features.conf:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[general]<BR>parkext =&gt; 
700&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>parkpos =&gt; 
701-720&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>context =&gt; 
parkedcalls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>parkingtime =&gt; 
60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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