From: Michael <ast...@sp...> - 2007-05-31 16:51:04
|
Nedi, The piece you are missing is in your destination extension. exten =>13,1,Dial(SIP/13,25,r) exten =>13,n,Answer exten =>13,n,Playback(vm-nobodyavail) exten =>13,n,Voicemail(13) exten =>13,n,Hangup This will not work because it is not checking the DB for routing, you are sending all calls to SIP/13. You probably want to make use of a macro such as this: exten => 13,1,Macro(stdexten,13,SIP/13) Notice how the DB is checked in this example from http://www.voip-info.org/wiki/view/Asterisk+call+forwarding [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=CFIM/${ARG1}) ; Get CFIM key, if not existing, goto 102 exten => s,2,Dial(Local/${temp}@pbx/n) ; Unconditional forward exten => s,3,Dial(${ARG2},20) ; 20sec timeout exten => s,4,DBget(temp=CFBS/${ARG1}) ; Get CFBS key, if not existing, goto 105 exten => s,5,Dial(Local/${temp}@pbx/n) ; Forward on busy or unavailable ; No CFIM key exten => s,102,Goto(s,3) ; No CFBS key - voicemail ? exten => s,105,Busy If you don't want to use the macro, you can use macro-stdexten as a model for what extension 13 needs to do. Regards, Michael -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Nedi Sent: Wednesday, May 30, 2007 6:25 PM To: Astlinux list Subject: [Astlinux-users] Call Forwarding in my Astlinux I have no success. Hello, I come back, has anyone idea how can i make call forwarding it would be great anyone cann help me with. nedi |