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."
[EMAIL PROTECTED]                (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                                                              |
+=========================================================================+
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to