[asterisk-gui] callforward with asterisk-gui.problem with stdexten

Oguzhan Kayhan oguzhank at bilkent.edu.tr
Tue Jul 21 01:40:25 CDT 2009


Hello, i sent that mail to asterisk group but it seems it is much more
interested within this group.

My asterisk and ast-gui version as follows:
Asterisk/1.6.0.9
Asterisk GUI-version : SVN-branch-2.0-r4760

I am trying to enable call forwarding on asterisk 1.6 with
asterisk-gui

If i set my stdexten as follows (with the lines i marked) everything seems
like working.

But if i make any change on asterisk-gui and apply it.. it recreates the
macro-stdexten and deletes my configuration regarding to it.
So where should i add my call-forward configuration???
Where am i making a mistake??

And for sure, it it in roadplan to add call-forwarding/dnd or similar
features to asterisk-gui ???

[macro-stdexten]
exten = s,1,Set(__DYNAMIC_FEATURES=${FEATURES})
exten = s,2,GotoIf($["${FOLLOWME_${ARG1}}" = "1"]?5:3)
;----adding starts from here----------------------------
exten = s,3,Set(temp=${DB(CFIM/${ARG1})})
exten = s,4,Dial(Local/${temp}@default/n)  ; Unconditional forward
exten = s,5,Set(DB(lastcaller/${ARG1})=${CALLERID(num)})  ; Note the last
caller
;------ends here------------------------
exten = s,6,Dial(${ARG2},${RINGTIME},${DIALOPTIONS})
exten = s,7,Goto(s-${DIALSTATUS},1)
exten = s,8,Macro(stdexten-followme,${ARG1},${ARG2})
exten = s-NOANSWER,1,Voicemail(${ARG1},u)
exten = s-NOANSWER,2,Goto(default,s,1)
exten = s-BUSY,1,Voicemail(${ARG1},b)
exten = s-BUSY,2,Goto(default,s,1)
exten = _s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${ARG1})







More information about the asterisk-gui mailing list