I'd say that's the document based on the title alone!!!
I noticed this part right off the bat:
--------------From Cisco Document--------------
Incorrect Configuration:
If you configure an inbound dial-peer, as in the sample configuration in this section, the possibility for toll fraud still occurs. The problem with this inbound dial-peer is that it only matches inbound calls to 40852512.. and then applies the DID service. If a PSTN call comes into 40852513.., the inbound pots dial-peer does not match and thus the DID service is not applied. If an inbound dial-peer with DID is not matched, then the default dial-peer 0 is used. DID is disabled by default on dial-peer 0.
Sample Configuration
dial-peer voice 1 pots
incoming called-number 40855512..
direct-inward-dial
Correct Configuration
The correct way to configure DID service on an inbound dial-peer is shown in this example:
Sample Configuration
dial-peer voice 1 pots
port 1/0:23
incoming called-number .
direct-inward-dial
-------------My Config------------------
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
In the sample config they are using a T1 PRI whereas I am using 3 pots lines.
I'm guessing I need to add the port command that my config is lacking. I have the following ports:
voice-port 0/0/0 - 0/0/3
voice-port 0/1/0 - 0/1/3
that's a total of 8 ports though only three are actually in use. I of course won't know which 3 unless I jump in my car and make about a 4 hour round trip!
Can I just add the ports like this:
port 0/0/0:3
port 0/1/0:3
If I do add those ports like that, will that take care of my Direct Inward Dial problem which I suspect we have?