<!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> </DIV><FONT face=Arial size=2>
<DIV> </DIV>
<DIV>Thore<BR>
</DIV>
<DIV> </DIV>
<DIV>extensions.conf :</DIV>
<DIV> </DIV>
<DIV>[general]<BR>static=yes<BR>writeprotect=no</DIV>
<DIV> </DIV>
<DIV>[macro-dialout]<BR>; ${ARG1} CIDNAME<BR>; ${ARG2} Device<BR>; ${ARG3}
Num<BR>; ${ARG4} SIP EXT<BR>exten => s,1,SetCIDName(${ARG1})<BR>exten =>
s,2,Dial(${ARG2}${ARG3}${ARG4},,t)<BR>exten => s,3,Playback(invalid)<BR>exten
=> s,4,Hangup</DIV>
<DIV> </DIV>
<DIV><BR>[macro-stdexten]<BR> ;<BR> ; Standard extension macro (with
call forwarding):<BR> ; ${ARG1} - Extension(we could have used
${MACRO_EXTEN} here as well<BR> ; ${ARG2} - Device(s) to
ring<BR> ;<BR> exten=s,1,DBget(temp=CFIM/${ARG1}) ; Get CFIM key, if
not existing, goto 102<BR> exten=s,2,Dial(<A
href="mailto:Local/${temp}@pbx/n">Local/${temp}@pbx/n</A>) ;
Unconditional forward<BR> exten=s,3,Dial(${ARG2},20) ; 20sec
timeout<BR> exten=s,4,DBget(temp=CFBS/${ARG1}) ; Get CFBS key, if not
existing, goto 105<BR> exten=s,5,Dial(<A
href="mailto:Local/${temp}@pbx/n">Local/${temp}@pbx/n</A>) ; Forward on busy or
unavailable</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>[globals]</DIV>
<DIV> </DIV>
<DIV><BR>[apps]<BR> ; Unconditional Call Forward<BR> exten =>
_*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})<BR> exten =>
_*21*X.,2,Hangup<BR> exten =>
#21#,1,DBdel(CFIM/${CALLERIDNUM})<BR> exten => #21#,2,Hangup</DIV>
<DIV> </DIV>
<DIV> ; Call Forward on Busy or Unavailable<BR> exten =>
_*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4})<BR> exten =>
_*61*X.,2,Hangup<BR> exten =>
#61#,1,DBdel(CFBS/${CALLERIDNUM})<BR> exten => #61#,2,Hangup</DIV>
<DIV> </DIV>
<DIV>[iconnect]<BR>exten =>
_47XXXXXXX.,1,Dial(Sip/iconnect/${EXTEN},120,t)<BR>exten =>
_1XXXXXXX.,1,Dial(Sip/iconnect/${EXTEN},120,t)</DIV>
<DIV> </DIV>
<DIV>[outgoing-40]<BR>include => apps<BR>include => parkedcalls</DIV>
<DIV> </DIV>
<DIV>exten => _820XXXXX,1,Hangup<BR>exten =>
_XXXXXXXX,1,Dial(Sip/33297540/${EXTEN},120,t)<BR>exten =>
_XXXXXXXX,2,Congestion<BR>exten => _820XXXXX,2,Congestion</DIV>
<DIV> </DIV>
<DIV><BR>[outgoing-45]<BR>include => apps<BR>include => parkedcalls</DIV>
<DIV> </DIV>
<DIV>exten => _820XXXXX,1,Hangup<BR>exten =>
_XXXXXXXX,1,Dial(Sip/voip/${EXTEN},120,t)<BR>exten =>
_XXXXXXXX,2,Congestion<BR>exten => _820XXXXX,2,Congestion</DIV>
<DIV> </DIV>
<DIV>[local]<BR>include => apps<BR>include => parkedcalls<BR>exten =>
101,1,Dial(Sip/101,120)<BR>exten => 102,1,Dial(Sip/102,120)<BR>exten =>
201,1,Dial(Sip/201,120)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>[dialout-40]<BR>include => outgoing-40<BR>include => local<BR>include
=> apps<BR>include => parkedcalls<BR>include => iconnect</DIV>
<DIV> </DIV>
<DIV>[dialout-45]<BR>include => outgoing-45<BR>include => local<BR>include
=> apps<BR>include => parkedcalls</DIV>
<DIV> </DIV>
<DIV><BR>features.conf:</DIV>
<DIV> </DIV>
<DIV>[general]<BR>parkext =>
700
<BR>parkpos =>
701-720
<BR>context =>
parkedcalls
<BR>parkingtime =>
60
<BR>
<BR>;transferdigittimeout => 3
<BR>;courtesytone =
beep
<BR>
<BR>adsipark =
yes
<BR>pickupexten = *8 </FONT></DIV></BODY></HTML>