- Sign in
- Create account
- Frequently asked questions
- Help centre
- Email support -> mailto:support [snail] dr-toolbox [period] com
How to set a telephone prefix
This page documents the directive that allows the app to dial telephone extensions directly. If the prefix or prefixes are correctly set in the home page, say, 012345, you can simply mark as telephone 6789 in a page to create a link that will dial the full number 012345 6789 , or a user of the App can dial the full number by typing only the extension.
The directive is a bit complex to set. Don't let this impress you, you can always contact us and let us configure the prefix for you.
How to set a global telephone prefix
In the toolbox HomePage, in the "Editors: Domain Administration form", fill in the "Telephone prefix" text field.
- TABLE
- Add or fill in the following code adapted for your needs:
- 6XXX=0123477 [238]XXX=0123488 XXXX=0123456
The different parts of the directive are as follows:
- TABLE
- Directive |Description
- EXT=PREFIX |the rules, what prefix to apply to what type of extensions
- 6XXX |any 4 digit number starting with 6, like
6543 - [238]XXX |any 4 digit number starting with 2, 3, or 8, like
2000 - XXXX |any 4 digit number (XXXXX : any 5 digit number, etc.)
- =0123477 |the prefix for that type of extension, eg. above for extensions of the type of 6XXX, use the prefix 0123477, ie for the extension
6543 , call0123477 6543 . - -6XXX or -XXXX |if an extension type is preceded by "-" (minus), then the first digit of that extension will be dropped.
To drop 2 initial digits, use "--" (2 minuses) before the extension pattern.
In a text page, when an extension link is found, the above rules will be processed one after another, in the order they appear in the directive, until a rule matches the current extension, then that rule will be used for the call. So, place specific rules like 6XXX before more wide ones like XXXX.
Note: to prevent false positives (times, bleeps...), all callable extensions in a page must be marked with the "telephone" style from the edit toolbar. Extensions written in the "Contacts" address book need to be written in the "tel/ext" fields to be callable.
Wait for line or pause:
- In the prefix or in the extension, insert a comma "," for the device make one 2-second pause before dialling the rest of the number. For example, a rule XXXX=0123456, (comma at the end) in the directive, then in any page a text
7890 will create an actual link0123456,7890 and if the user clicks on it, the device will dial0123456 then wait 2 seconds, then dial7890 . - Insert a semi-colon ";" to make the device wait for a "line in" (connection) before dialling the rest.
Please test the feature out after configuring it, as hospital extensions dialling in is not always what one would expect it to be. Ask the hospital switchboard about the rules if any doubt.
By browsing you agree to our Terms and Privacy policy and accept external services. Review Close
Please review our Privacy policy & Terms of use.
- We only require temporary "session" cookies for technical reasons and to personalize your experience. They are discarded after you logout or close your browser window.
- We do not use external trackers or analytics platforms and do not share your information with external parties.
- Our editors may embed videos from video sharing platforms: in that case, the external platform is only contacted if you click to play the video (the video titles and cover pictures are cached locally). Please review the terms for Vimeo, YouTube (Google), TED.
- Our editors may embed maps from OpenStreetMap, please review their privacy policy.
If you have any questions, please contact us at support [snail] dr-toolbox [period] com.