Displaying 1 result from an estimated 1 matches for "call2001".
Did you mean:
alb2001
2004 Jan 02
1
Asterisk Gotoif / last called
...it goes to 4, does that mean it goes to extension 4.. or rule 4 in that dialplan ?
thanks heaps for all your help :)
p.s i dunno if asterisk comes with a last caller function, and theres probs heaps better ways to do it, but if u wana do it all i did was
;line 2 and 3, makes a variable last-call2001 = whoever called, and sets the time.
exten => 2001,1,Dial(SIP/2001,20)
exten => 2001,2,SetGlobalVar(last-call${EXTEN}=${CALLERIDNUM})
exten => 2001,3,SetGlobalVar(2001date=${DATETIME})
exten => 2001,4,Voicemail(u2001)
exten => 2001,104,Voicemail(b2001)
exten => 2001,105,Hangup
;...