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

Dinesh Nair dinesh at alphaque.com
Sat Jan 14 04:17:33 MST 2006



On 01/14/06 11:09 Pisac said the following:
> 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

i believe the syntax is ${CALLERIDNUM:3} and not as you're using it with 
double colons. also, the present accepted method is to use the CALLERID() 
function rather than the variable which may be deprecated in future releases.

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-users mailing list