[Asterisk-Users] Call forwarding code

Gonzalo Gasca ggasca at hackermail.com
Mon Jun 21 22:20:17 MST 2004


sorry for posting this basic question is about call forward, i look in the internet and i get this, in order to make call forward
***************************************************************************************

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
	
i have 3 sip phones, and i in order to dial between them i have this:

;Extension 100
exten => 100,1,Dial(SIP/100,20)
exten => 100,2,Voicemail(u100)
exten => 100,102,Voicemail(b100)
exten => 100,103,Hangup

;Extension 101
exten => 101,1,Dial(SIP/101,20)
exten => 101,2,Voicemail(u101)
exten => 101,102,Voicemail(b101)
exten => 101,103,Hangup


how can i change this to use call forward?
please help!
-- 
_______________________________________________
Get your free email from http://www.hackermail.com

Powered by Outblaze



More information about the asterisk-users mailing list