My fxo port; which is on our gateway router for my call manager is connected to another pbx. I do not want the pbx users call the outside from the router. I only want them to call call manager extensions. How can I call restrict that fxo port?
If you did not block incoming calls on the incoming call-leg associated with the FXO, then yes the PBX calling party will be able dial PSTN numbers in that case and use dial-peer 2.
However, in this instance all incoming calls will be through dial-peer 1 and not 2. The translation-profile will only apply to these incoming calls.
For example, PBX user dials 90123456789, the translation-profile that is applied to the incoming dial-peer 1 will translate the called number and block it. Therefore the call will be blocked so the outgoing dial-peer 2 will not be used.
Hope this helps.
Please rate helpful posts.