Hello,
I want to implemnt a call forwarding for a dial group.
For my extension its no problem wit *5 plus [extension]:
[code]exten => _*5X.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:2})
exten => _*5X.,2,Hangup
exten => *5,1,DBdel(CF/${CALLERIDNUM})
exten => *5,2,Hangup
[macro-stdexten]
;
; Standard extension macro (with call forwarding):
; ${ARG1} - Extension(we could have used ${MACRO_EXTEN} here as well
; ${ARG2} - Device(s) to ring
;
exten => s,1,DBget(temp=CF/${ARG1})
exten => s,2,Goto(${temp}|1)
exten => s,102,Goto(s|3)
exten => s,3,Dial(${ARG2},120)
exten => s,103,Goto(s|50)
exten => s,4,Voicemail(u${ARG1})
exten => s,5,Hangup
exten => s,104,Voicemail(b${ARG1}) ; busy
exten => s,105,Hangup[/code]
I think a good idea to enable the call forwading for a dial group is *5 plus *[dial group] plus * [extension]
But how?
Michael