Short Code Matching Examples

Last Updated : May 03, 2022 |
The following examples are not meant as practical examples. However they are simple to implement and test on real system without conflicting with its normal operation. They illustrate the interaction between different short codes in resolving which short code is an exact match. They assume that extension numbers are in the 200 to 299 range.
  • The term 'dials' means dialing the indicated digit or digits without the inter-digit Dial Delay Time expiring.
  • The term 'pause' means a wait that exceeds the inter-digit Dial Delay Time.

Scenario 1

  • Short Code 1 = 60/Dial Extn/203
  • Dial Delay Count = 0. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
8
No possible match, incompatible returned immediately
2
6
No exact match but there is a potential match, so the system waits. When the Dial Delay Time expires, no exact match is found so incompatible is returned.
3
60
Exact match to Short Code 1. Extension 203 called immediately.
4
61
No possible match, the system returns incompatible.

Scenario 2

  • Short Code 1 = 60/Dial Extn/203
  • Short Code 2 = 601/Dial Extn/210
  • Dial Delay Count = 0. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
8
No possible match, incompatible returned immediately
2
60
Exact match to Short Code 1. Extension 203 called immediately.
3
601
Exact match to Short Code 1 as soon as the 0 is dialed. The user cannot manually dial 601.

Scenario 3

Short Code 1 = 60/Dial Extn/203
Short Code 2 = 601/Dial Extn/210
Dial Delay Count = 3. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
8
Insufficient digits to trigger matching. The system waits for additional digits or for Dial Delay Time to expire. When Dial Delay Time expires, no possible match is found so incompatible is returned.
2
60
Insufficient digits to trigger matching. The system waits for additional digits or for Dial Delay Time to expire. When Dial Delay Time expires, matching started and exact match to Short Code 1 occurs. .
3
601
Third digit triggers matching. Exact match to Short Code 2. Extension 210 dialed immediately.
4
60#
# is treated as a digit and as the third digit triggers matching. No exact match found. The system returns incompatible.

Scenario 4

  • Short Code 1 = 60;/Dial Extn/203
  • Short Code 2 = 601/Dial Extn/210
  • Dial Delay Count = 3. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
8
Insufficient digits to trigger matching. The system waits for additional digits or for Dial Delay Time to expire. When Dial Delay Time expires, no possible match is found so incompatible is returned.
2
6
Insufficient digits to trigger matching. The system waits for additional digits or for the interdigit Dial Delay Time to expire. If the Dial Delay Time expires, a potential match exists to a short code that uses ; so the system waits for an additional digit until the off-hook timer expires.
3
60
As above but an additional digit now may create a match.
If 1 is dialed, it creates an exact match to Short Code 2 and is used immediately.
If 0, * or 2 to 9 is dialed, no possible match exists. The system returns incompatible.
If the next digit is a #, it is treated as signaling dialing complete rather than being a digit. Short code 1 becomes an exact match and is used immediately.
4
601
Third digit triggers matching. Exact match to Short Code 2. Extension 210 dialed immediately.

Scenario 5

  • Short Code 1 = 601/Dial Extn/203
  • Short Code 2 = 60N/Dial Extn/210
  • Dial Delay Count = 0. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
6
No exact match but there is a potential match, so the system waits for additional dialing. If the Dial Delay Time expires, no exact match is found so incompatible is returned.
2
60
Potential match to both short codes. The system waits for additional dialing. If the Dial Delay Time expires, Short Code 2 becomes an exact match with N blank.
3
601
Exact match to Short Code 1. Used immediately
4
602
Exact match to Short Code 2. Used immediately.

Scenario 6

  • Short Code 1 = 601/Dial Extn/203
  • Short Code 2 = 60N/Dial Extn/210
  • Short Code 3 = 60X/Dial Extn/207
  • Dial Delay Count = 0. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
6
No exact match but there are potential matches so the system waits for additional dialing. If the Dial Delay Time expires, no exact match has occurred so incompatible is returned.
2
60
Potential match to all short codes. System waits for additional dialing. If the Dial Delay Time expires, Short Code 2 becomes an exact match with N blank. If a digit is dialed, Short Code 3 becomes a more exact match and is used.
3
601
Exact match all short code, however Short Code 1 is treated as being more exact (more matching digits) and is used immediately
4
602
Exact match to short codes 2 and 3, however the Short Code 3 is treated as being more exact (length match) and is used immediately.

Scenario 7

  • Short Code 1 = 601/Dial Extn/203
  • Short Code 2 = 60N/Dial Extn/210
  • Short Code 3 = 6XX/Dial Extn/207
  • Dial Delay Count = 0. Dial Delay Time = 4 seconds.
Test
Dialing
Effect
1
6
No exact match but there are potential matches so the system waits for additional dialing. If the Dial Delay Time expires, no exact match has occurred so incompatible is returned.
2
60
Potential match to all short codes. System waits for additional dialing. If the Dial Delay Time expires, Short Code 2 becomes an exact match with N blank. If a digit is dialed, Short Code 3 becomes an more exact match and is used.
3
601
Exact match all short code, however Short Code 1 is treated as being more exact (more matching digits) and is used immediately
4
602
Exact match to short codes 2 and 3, however the Short Code 2 is treated as being more exact (more matching digits) and is used immediately.
5
612
Exact match to Short Code 3.