Scott1234 Posted April 21 Report Share Posted April 21 Sharing is caring, This is a far better Yealink dial now pattern for dialplans.xml, 3 digits extensions 2-9 xx for AU. "^(+?61[0-9]{9})|^([2-9]{1}[0-9]{7})|^(0[2|3|7|8]{1}[0-9]{8})|^([04|05]{1}[0-9]{9})|^((1300|1800)[0-9]{6})|^(13[0-9]{4})|^(?:000|106|112)|^[2-9]\d{2}" Summary, <?xml version="1.0" encoding="UTF-8"?> <dialnow> <!-- Matches Australian +? or 61 numbers with or without country code --> <Data DialNowRule="^(+?61[0-9]{9})" LineID="0"/> <!-- Matches Australian landline numbers without area code --> <Data DialNowRule="^([2-9]{1}[0-9]{7})" LineID="0"/> <!-- Matches Australian landline numbers with area code 02, 03, 07, or 08 --> <Data DialNowRule="^(0[2|3|7|8]{1}[0-9]{8})" LineID="0"/> <!-- Matches Australian Mob numbers starting with 04 or 05 (05 proposed) --> <Data DialNowRule="^([04|05]{1}[0-9]{9})" LineID="0"/> <!-- Matches Australian 1300 or 1800 numbers --> <Data DialNowRule="^((1300|1800)[0-9]{6})" LineID="0"/> <!-- Matches Australian 13 numbers --> <Data DialNowRule="^(13[0-9]{4})" LineID="0"/> <!-- Matches Australian special numbers emergency 000, 106, or 112 --> <Data DialNowRule="^(?:000|106|112)" LineID="0"/> <!-- Matches Australian landline numbers with area code, dial before you dig etc. 11 or 12 --> <Data DialNowRule="^((11|12)[0-9]{2})" LineID="0"/> <!-- Matches 3 digits extensions 2 to 9 xx --> <Data DialNowRule="^[2-9]\d{2}" LineID="0"/> </dialnow> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.