A Regular Expression (Regex for short) is a special text string for describing a search pattern. Synergy JOIN uses search patterns to find text in an email and extract strings of numbers and/or text or to create a dialable string for an endpoint or to dial into a meeting room.
There are 5 parameters for Regex Rules in Synergy JOIN
This is the type of rule that you would like the regex rule to apply to i.e Skype Meeting, Teams meeting, Regular Regex Rule for any meeting type
This defines the order in which the rules are applied. The lowest number gives the highest priority. (E.g. 5 is processed before 10).
This defines the Regex rule for matching data . For example: '(\d+)@company.com' will match all URIs starting with a number and ending with @company.com)
The replace value define how you want JOIN to work. You can define your own pattern matches based on the configuration in your video environment
This defines whether the regex rule is to apply to internal invitations or all invitations that JOIN finds. Internal domains are filtered based on the domains that are in the 'Internal Email domains' text field at the top of the Matching Rules tab
Below is an example of Synergy JOIN with a regex rule in place.
Based on the information we entered above:
- If we had more than one rule, the rules would be processed in the order they are seen on the screenshot
- The Matching Value we have defined is going to look for any text string that begins with 'https://bluejeans.com/'. The characters '(\d+)' mean Synergy JOIN is to only find numeric values.
- Replace Value is going to take the numbers from the matching value and place them where there is a '\1' and add the text '@sip.bjn.vc' after the number.
- This rule has been told to apply to both internal and external email invitations.
We strongly recommend to use the Built in Regex Tester in Synergy JOIN.
To test the above rule, we can click on 'Test Regex Expression and this will provide us with a text field we can place some text in.
As can be seen in the above Regex Tester, Synergy JOIN is going to look for a text string that begins with 'https://bluejeans.com/'. As soon as Synergy JOIN sees this text string, it will take the numbers after the text string and place those into the replace result.
When the meeting room receives this meeting invitation, it is going to dial firstname.lastname@example.org.
When a user walks into the meeting room, all they have to do is push the call button on the touch panel and Synergy JOIN will dial the meeting room at its SIP address.