[Asterisk-Users] Call Forward

notthingam at inwind.it notthingam at inwind.it
Wed Mar 16 04:38:04 MST 2005


Hi!
I found some problems using the call forward.
I'm using this simple configuration, but something goes wrong, can someone understand what is wrong and help me?

Thanks a lot


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
 




____________________________________________________________
Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it





More information about the asterisk-users mailing list