Jerry Geis escribió:
> I am trying to find out how I can tell the length of a string actually
> CALLERID(num) in the dialplan.
>
> How is that done?
>
> If need to test the length of the CALLERID(num) if its less the 10 digits I
> need to set it to a known value or insert 0's at the beginning until it 
> is 10 digits in length.
> My PRI provider needs it set to 10 digits always.
>
> Thanks,
>
> Jerry
>
>   
*CLI> core show function LEN

  -= Info about function 'LEN' =-

[Syntax]
LEN(<string>)

[Synopsis]
Returns the length of the argument given

[Description]
Not available

Cheers,

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to