Polycom Digit Map - Prepend Area Code

**Please note - this article is for informational purposes only. This is not a standard feature of the OnSIP Hosted PBX and is unsupported. However, you are welcome to use the following information to enhance your OnSIP Experience, but technical support is not available from Junction Networks for this feature. For assistance beyond the below document you will need to contact the hardware manufacturer/reseller directly.

Note:  The default digit map in our boot server is:
[49]11|011xxx.T|[1][2-9]xxxxxxxxx|[2-9]xxx|*xx

To prepend an area code to a dialed number, you would use the 'R' (replace) command in the Polycom Digitmap field. For example:

For Polycom SoundPoint IP phones, sip software 2.1 or later (tested varies versions up to 3.0.2.0972)

Substitute 615 for your area code in the following examples.

For systems with 4 Digit Extensions, as long as the extensions start with a 2,3,4,5,6, or 7.

[2-9]11T|0T|011xxx.T|[0-1][2-9]xxxxxxxxx|RR1615RxxxxxxxT|[2-9]xxxT|*xx

If using your own boot server, enter the following under "Digit Map Timeout". There is no Digit Map Timeout on the Junction Networks boot server.
2|2|2|3|3|3|3

For systems with 3 Digit Extensions, as long as the extensions start with a 2,3,4,5,6, or 7.

[2-9]11T|0T|011xxx.T|[0-1][2-9]xxxxxxxxx|RR1615RxxxxxxxT|[2-9]xxT|*xx

If using your own boot server, enter the following under "Digit Map Timeout". There is no Digit Map Timeout on the Junction Networks boot server.
2|2|2|3|3|3|3

The downside of the edited digit map relative to the default digit map is that with the default digit map everything you dial is enacted upon immediately. With the edited digit map there is a 2-3 second delay between when you dial an number and when the call is sent to Junction Networks.

(Thanks Matt!)

Average: 5 (3 votes)

Slight variation - with voicemail rule

Posted by: Brad
Tue, 01/27/2009 - 12:28pm

This is a great start, but caused a couple of glitches for my setup (trying to dial calls before the number was fully dialed, etc) so I thought I'd add the variation I settled on (for three digit extensions) just in case anyone else is in the same boat. Also I added in a rule for *xx (such as *98 for voicemail):


[2-9]11|0T|011xxx.T [0-1][2-9]xxxxxxxxx|RR1R[2-9]xxxxxxxxx|RR1615RxxxxxxxT|[2-9]xxT|*xx


Just to parse:



  • [2-9]11 - immediately dial any x11 number (other than 111)
  • 0T - automatically dial the operator when 0 is dialed, after T seconds
  • 011xxx.T - dial international calls (where the 011 prefix is dialed) after T seconds
  • [0-1][2-9]xxxxxxxxx - immediately dial long distance calls (where the 0, or 1 prefix is dialed)
  • RR1R[2-9]xxxxxxxxx - automatically prepend a "1" to (and then dial) any xxx-xxx-xxxx number
  • RR1615RxxxxxxxT - automatically prepend a "1" and area code "615" to (and then dial) any xxx-xxxx number, after T seconds
  • [2-9]xxT - auto dial any three digit extension after T seconds (add another x for four digit extensions)
  • *xx - immediately dial any *xx code (for example *98 to access voicemail)

Personally, I just leave the timeout value blank, as the default value of "3" is almost always close enough for me, and that way I can tinker adding and subtracting rules without having to adjust my timeout strings (ie: I'm lazy).


Thank you.

Posted by: mike
Tue, 01/27/2009 - 1:51pm

Excellent. Thanks Brad.