[asterisk-users] GotoIf($["${CALLERID(number)}

Joseph syscon780 at gmail.com
Fri Jun 14 13:25:06 CDT 2013


I'm trying to to to "dial1" if caller id match:
but dial plan execute  220,n(dial1) regardless

exten => 220,n,GotoIf($["${CALLERID(number)}" = "7804792668"]?dial1)
exten => 220,n(dial1),Dial(${sales_support}&${accounting}&${family},25,m(penguin)w)
exten => 220,n, 

I was under impression that if condition is met it will jump to  "n(label)" no comma in between
but dial plan is executing it regardless.

-- 
Joseph



More information about the asterisk-users mailing list