I use read asterisk command to ask customer to enter a customer number and sometimes they add zero to their custno. Dont know how many 0 they may add. Let say they enter 00123 or 0123 and I am looking for 123. How can I strip these zeros?
exten => 9801001,1,Read(CustNum,custom/CCR0001,8,1,4)
6 posts - 5 participants