ftocc

Issue with dialing to extensions

shankwc
Posts: 2
Member Since:
2008-09-10

Trixbox is awesome but I'm having a problem dialing extensions. All extensions are 3 digit and start with a 1 (ie: 100,101,102,111,120,etc). If I attempt dial the 120 extension it works fine. But it I try to dial a 10x or 11x extension the phone seems to capture the first 2 digits and tries to make the call resulting in an error. I thought maybe this was because I had originally setup 2 digit extensions but I can't find any reference to the 2 digit extensions.

My phones are polycom SIP IP501. Here is the sip peers:

Name/username Host Dyn Nat ACL Port Status
bandsip01 216.82.224.202 5060 OK (5 ms)
999/999 (Unspecified) D N 0 UNKNOWN
209/209 74.94.60.220 D N 4068 OK (61 ms)
120/120 146.145.11.187 D N 1028 OK (73 ms)
114/114 146.145.11.187 D N 1025 OK (77 ms)
111/111 146.145.11.187 D N 1026 OK (75 ms)
103/103 146.145.11.187 D N 1029 OK (74 ms)
102/102 146.145.11.187 D N 1024 OK (75 ms)
101/101 146.145.11.187 D N 5060 OK (73 ms)
100/100 146.145.11.187 D N 1027 OK (73 ms)
10 sip peers [Monitored: 9 online, 1 offline Unmonitored: 0 online, 0 offline]

extension 999 and 209 are test extensions. Both of these are able to be dialed internally without issue.

Thanks for your help!



joshpatten
Posts: 274
Member Since:
2007-01-20
999 conflicts with your

999 conflicts with your outbound dialing rules most likely, so I would remove it.
Seems like it's your dialplan.

Try something like this in your config file (Your mileage may vary):

<dialplan dialplan.impossibleMatchHandling="2" dialplan.removeEndOfDial="1" dialplan.applyToUserSend="1" dialplan.applyToUserDial="1" dialplan.applyToCallListDial="0" dialplan.applyToDirectoryDial="0"> 
    <digitmap dialplan.digitmap="[2-9]11|0T|011xxx.T|9011xxx.T|91[2-9]xxxxxxxxx|9[2-9]xxxxxx|*xx|*[1-7]xx|[1-7]xx" dialplan.digitmap.timeOut="3"/>
</dialplan>

Tweak it until you get it just right. Perhaps someone will have a better dialplan than me.



shankwc
Posts: 2
Member Since:
2008-09-10
I just added the 999 as part

I just added the 999 as part of my troubleshooting. this was not working before i added the 999 extension too. where can i find that dial plan like your example?

thanks



joshpatten
Posts: 274
Member Since:
2007-01-20
<dialplan
<dialplan dialplan.impossibleMatchHandling="2" dialplan.removeEndOfDial="1" dialplan.applyToUserSend="1" dialplan.applyToUserDial="1" dialplan.applyToCallListDial="0" dialplan.applyToDirectoryDial="0"> 
    <digitmap dialplan.digitmap="[2-9]11|0T|011xxx.T|9011xxx.T|91[2-9]xxxxxxxxx|9[2-9]xxxxxx|*xx|999|*[1-7]xx|[1-7]xx" dialplan.digitmap.timeOut="3"/>
</dialplan>

That dial plan will allow for dialing 999. I got that dialplan from a config that sipXecs generated and modified it to work for the most part with trixbox/FreePBX. It should work for 3 digit dialing. As I said though, your mileage may vary. You will probably have to add some provisions for certain feature codes that are followed by an extension by adding *YY[1-7]xx where *YY is the specific feature code. You will simply have to experiment with it, unless someone already has a config built they can share.



DeCSS
Posts: 56
Member Since:
2008-03-05
Did you also check the dial

Did you also check the dial map on the Polycom phone web interface? I had a similar problem and the phone's dial map was the issue, not the dial plan.

--

VPC Computers, Inc.
SALES: http://www.vpccomputers.com
SUPPORT: http://www.vpccomputers.net



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.