Category Archives: Linux VOIP

Linux VOIP

Polycom phones cannot dial anything past 211 when our extensions go to 2111, 2112, 2113 and so on.

Polycom phones cannot dial anything past 211 when our extensions go to 2111, 2112, 2113 and so on. The problem ended up being the digit map…

At one of our customer’s sites they have extensions in the 2110-2120 range. Everything seemed fine when we installed the PBX. They started dialing 2111 2112 2113 2114 and they would get all circuits are busy. The PBX was only seeing 211.

Here is what I was seeing from Asterisk.

[Jul 11 10:09:47] VERBOSE[3220] logger.c: == Spawn extension (from-internal, 211, 4) exited non-zero on ‘SIP/2155-0901
[Jul 11 11:11:06] VERBOSE[3367] logger.c: — Executing [211@from-internal:1] ResetCDR(“SIP/2155-b7881038”, “”) in ne
[Jul 11 11:11:06] VERBOSE[3367] logger.c: — Executing [211@from-internal:2] NoCDR(“SIP/2155-b7881038”, “”) in new s

The Polycom digitmap was the problem. We upgraded our polycoms to the latest firmware SoundPoint IP, SoundStation IP and Polycom VVX SIP 3.2.5 [Combined] we have polycom 330, 650, 600, 4000, and 6000. Here is the default digitmap for this firmware version.

The problem was this [2-9]11 for dialing like 411 and 911. I had to change it to [3-9]11 which fixed the problem. I was able to figure out the problem by reading this page http://apetec.com/voip/Polycom-DialPlan.htm

At the bottom of the page it has the following which helped me figure it out.

It means the following:

[2-9]11: 911 rule: 211, 311, 411, 511, 611, 711, 811, 911 are dialled immediately
0T: Local operator rule: After dialing “0” the phone waits T seconds and then completes the call
100: Auto-attendant default extension
101: Voicemail default extension
011xxx.T: International rule without prefix
9011xxx.T: International rule with prefix
1[2-9]xxxxxxxxx: LD rule without prefix
91[2-9]xxxxxxxxx: LD rule with prefix
9[2-9]xxxxxx: Local call with prefix
*xx: 2-digit star codes
*xx[2-7]xxx: Enables immediate dial for services like intercom/paging and directed call pickup.
*4[2-7]xxx: Retrieve call from park (if park slot is x digit extension)
[1-7]xx: A regular 3 digit extension that does not start with 9 or 8 is dialed immediately
[2-7]xx: A regular 3 digit extension that does not start with 9 or 8 or 1 is dialed immediately
[2-7]xxx: A regular 4 digit extension that does not start with 9 or 8 or 1 is dialed immediately
[8]xxx: A 3 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxx)
[8]xxxx: A 4 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxxx)

Here is what I saw after I fixed the issue.

[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [2118@from-internal:1] Macro(“SIP/2155-090c0ba0”, “exten-vm|2
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-user-callerid:13] NoOp(“SIP/2155-090c0ba0”, “TTL: A
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:3] Set(“SIP/2155-090c0ba0”, “VMBOX=2118”) i
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:4] Set(“SIP/2155-090c0ba0”, “EXTTOCALL=2118
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:8] Macro(“SIP/2155-090c0ba0”, “record-enabl
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-exten-vm:9] Macro(“SIP/2155-090c0ba0”, “dial|20|tr|2
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — dialparties.agi: dbset CALLTRACE/2118 to 2155
[Jul 11 16:16:15] VERBOSE[4448] logger.c: — Executing [s@macro-dial:7] Dial(“SIP/2155-090c0ba0”, “SIP/2118|20|tr”