- Joined
- Apr 16, 2020
- Messages
- 23
- Reaction score
- 9
I'm sure someone has posted this before but I can't seem to find anything.
I have setup a new phone system for a customer with a trunk I have never used before. When they get calls the provider does not send a leading 0, so the number if Australian is 812341234. Most people are used to a leading 0 or +61, so I made this CID rule (.)(.*) -> 0\1\2.
Now when an an anonymous call comes through it shows up as 0anonymous. I have tried changing the rule to (1-9)(.*) but it didn't work.
Is there an easy way to determine if the first character is a digit? Or do I have to create a rule for each possible first digit?
I have setup a new phone system for a customer with a trunk I have never used before. When they get calls the provider does not send a leading 0, so the number if Australian is 812341234. Most people are used to a leading 0 or +61, so I made this CID rule (.)(.*) -> 0\1\2.
Now when an an anonymous call comes through it shows up as 0anonymous. I have tried changing the rule to (1-9)(.*) but it didn't work.
Is there an easy way to determine if the first character is a digit? Or do I have to create a rule for each possible first digit?
