[Asterisk-Users] CALLERIDNUM::3 do not working on 1.2.1

Pisac pisacc at gmail.com
Fri Jan 13 20:09:57 MST 2006


I upgraded from 1.0.9, to 1.2.1.

I was using this line
exten => s,1,gotoif($[${CALLERIDNUM::3} = 066]?mycity,1:other,1)
it selecting calls if callerid begins with some number pattern (from
some city)

But, it's not working anymore in Asterisk 1.2.1
when I test this with
noop(${CALLERIDNUM::3})
I get full callerid, not just first 3 numbers like it use to be on 1.0.9

Why?




More information about the asterisk-users mailing list