fentyler said:
(1) Do dialplans apply to just outgoing calls ?
(2) under the PSTN tab why is there an entry for dialplan 8 - why doesn't it go into dialplan 1 ?
(3) will a properly devised dialplan go into Line 1 leaving PSTN with just its existing single entry ?
1. There are Dialplans and there are outbound rules. Dialplans are within the ATA (the 3102) and permit or deny, or modify, or speed-up, the digits dilled on the phone plugged into the 3102. It just affects the digits dialled and then sent to 3CX. Outbound rules are within 3CX. They are what decides how your outside calls are routed. 3CX knows what to do with internal calls, extension to extension, etc. But does not know what to do when you dial a number that is meant to go "outside".
You have to create a set of rules that will send the correct digits out on the phone line (trunk) connected to the 3102.
If you just wanted to restrict calling to local numbers and you were in London where numbers were 020XXXXXXXX.
Then you could create a rule for numbers beginning with 02, 11 digits long, strip 0 (nothing), and send out on SPA-3102 (the name you gave the trunk). You would also have to remember to create a rule to send out 999 emergency numbers, along with some to handle any other "special" numbers" that the other rules don't cover (international?). Rules are read from top to bottom until there is a match. You can create rules that allow landline calls within the UK but prevent calls to mobiles, 07 numbers. Start with the basic until you get the hang of it.
2. I don't know why 3Cx chose to use dialplan 8 in the 3102. I suppose that it was because some users might all ready be using some of the previous ones. In this case, the dialplan is not the same as the one for the ATA, this is a PSTN dialplan and is telling the 3102 to "forward", sorry "divert" the incoming call to 10000 in 3CX.
3. There are dialplans for the ATA (telephone) and dialplans and for the PSTN, within the 3102, it depends on what tab you're working under, don't forget that this is a box with two devices within.
Trunks settings look fine. For testing incoming calls you can send the calls directly to the extension, for testng.
Be sure that you have created the Digital Receptionist correctly. You can test it internally by dialling it's number from an extension rather than calling in each time. Once you have the "bugs" worked out, then select the DR as the destination for incoming calls.