On Friday 13 June 2008 23:48:24 Fred Posner wrote:
> You could always do something like this, but I think it may pull more
> proc than on 2 lines:
>
> exten => s,n,Set(CALLERID(num)=${IF($["foo${CALLERID(num)}" = "foo"]?
> 0000000000:${CALLERID(num)})})

For some reason, your post reminded me of how to do it:

Set(CALLERID(num)=${SPRINTF(%010lld,0${CALLERID(num)})})

-- 
Tilghman

_______________________________________________
-- 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