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

Chris Bagnall asterisk at minotaur.cc
Sat Jan 14 08:54:11 MST 2006


> So,
> if
> ${CALLERIDNUM}=0123456789
> Then
> ${CALLERIDNUM:3} returns 3456789
> ${CALLERDINUM::3} returns 012
> ${CALLERIDNUM:3:3} returns 345
> But this do not work anymore in 1.2.1, and if I do not found 
> solution for this I will downgrade to 1.0.9

Have you tried ${CALLERID(number)::3} ? I have a number of similar entries
in my dialplans on 1.2.1 and they work perfectly.

Regards,

Chris
-- 
C.M. Bagnall, Director, Minotaur I.T. Limited
This email is made from 100% recycled electrons





More information about the asterisk-users mailing list