On 10/26/2010 1:57 PM, Chris Ramirez wrote: > me. What we have is a phone number like this, 18881232342 and want to > make it like this 8881232342. I appreciate any help that you guys can
exten => 123,1,Set(DNIS=18881232342) exten => 123,n,Set(TRIMMED=${DNIS:1:11}) exten => 123,n,NoOp( *** Converted ${DNIS} -> ${TRIMMED} *** ) -- Jeremy Kister http://jeremy.kister.net./ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users