<div dir="ltr">I&#39;m having a problem with the 2.0 GUI and the way it writes back the stdexten macro.&nbsp; This is my current macro:<br><br>[macro-stdexten]<br>exten = s,1,GotoIf($[&quot;${DB_EXISTS(${ARG1}/fwd)}&quot; = &quot;1&quot;]?s-FORWARD,1)<br>
exten = s,n,Dial(${ARG2},20)<br>exten = s,n,Goto(s-${DIALSTATUS},1)<br>exten = s-NOANSWER,1,Voicemail(${ARG1},u)<br>exten = s-NOANSWER,2,Goto(default,s,1)<br>exten = s-BUSY,1,Voicemail(${ARG1},b)<br>exten = s-FORWARD,1,macro(trunkdial,${trunk_1}/${DB(${ARG1}/fwd)})<br>
exten = s-FORWARD,n,Goto(s-${DIALSTATUS},1)<br>exten = s-BUSY,2,Goto(default,s,1)<br>exten = _s-.,1,Goto(s-NOANSWER,1)<br>exten = a,1,GoTo(voicemenu-custom-1,s,1)<br>exten = o,1,GoTo(operator,0,1)<br>exten = s,n,Hangup()<br>
<br>When I make a change to the GUI it is adding the below macro which is causing problems.<br><br>[macro-stdexten]<br><b>exten = s,1,Dial(${ARG2},20)</b><br>exten = s,1,GotoIf($[&quot;${DB_EXISTS(${ARG1}/fwd)}&quot; = &quot;1&quot;]?s-FORWARD,1)<br>
exten = s,n,Dial(${ARG2},20)<br>exten = s,n,Goto(s-${DIALSTATUS},1)<br>exten = s-NOANSWER,1,Voicemail(${ARG1},u)<br>exten = s-NOANSWER,2,Goto(default,s,1)<br>exten = s-BUSY,1,Voicemail(${ARG1},b)<br>exten = s-FORWARD,1,macro(trunkdial,${trunk_1}/${DB(${ARG1}/fwd)})<br>
exten = s-FORWARD,n,Goto(s-${DIALSTATUS},1)<br>exten = s-BUSY,2,Goto(default,s,1)<br>exten = _s-.,1,Goto(s-NOANSWER,1)<br>exten = a,1,GoTo(voicemenu-custom-1,s,1)<br>exten = o,1,GoTo(operator,0,1)<br>exten = s,n,Hangup()<br>
<br>Can anything be done to correct this?&nbsp; It looks like this is coming form preferences.html<br></div>