Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17345

How can I remove all the leading zeros in callers entires?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 17345

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>