Patterns-109
Patterns are the most important aspect of Noojee Click as they control what text in a web pages is identified as a phone number. Any text which matches a Noojee Click pattern will have a Noojee Click 'Dial icon' added after it.
You will typically need multiple patterns to handle the range of different number formats used to display phone numbers. You can specify as many patterns as required.
Noojee Click ships with a number of default patterns but these may not suit your region and as such you may want to add additional patterns.
Adding a pattern
The simplest way to add a pattern is browse to a web page that contains the number you want to match. Select the text and then right click on the selected text to display the context menu.
You will see an option 'Add Dial Pattern...'. Click 'Add Dial Pattern...' and then click 'OK' to add a new pattern.
Maintaining Patterns
The 'Pattern' configuration panel allows you to maintain the list of Noojee Click patterns.
Each pattern must be on a line of its own. To remove a pattern simply delete the line.
The pattern syntax is based on the Asterisk dial plan pattern matching.
A pattern can be made up of the following characters.
X matches any digit from 0-9
Z matches any digit form 1-9
N matches any digit from 2-9
+ matches the '+' character
The '+' character is treated specially in that it will be replaced with your defined International Prefix (defined in the Phone panel) when it appears at the beginning of a number.
A pattern may also contain on or more of the defined delimiters.
The default set of delimiters including the space character is:
()-/.
Delimiters are stripped from the number before it is dialed. You can modify the set of delimiters on the Advanced-112 Panel.
You can insert multiple patterns by adding one per line.
Note: for asterisk engineers, you don't need to prefix these patterns with an underscore.
Pattern examples :
The following examples assume that you have set your International Prefix to '0011'.
Pattern | Matched Phone No. | Dialled No. |
---|---|---|
XXXX-XXXX | 1234-9999 | 12349999 |
XXXX XXX | 1234 9999 | 12349999 |
(XX) XXXX XXXX | (03) 1234 1234 | 0312341234 |
+XXX XXXX XXXX | +613 1234 1234 | 001161312341234 |