cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5148
Views
5
Helpful
1
Comments
Yogesh Singh
Level 1
Level 1

The main point is to have different POTS peers for the 3 types of calls out each one of the FXO ports:

1. National 7 digits - these would be starting with 2 to 9 so say [2-9].......
2. National 0 + 7 digits - these would be starting with 0 and then say 0[2-9]......
3. International 011 + digits - these would be as 011T

SO, your configuration should be:

dial-peer cor custom
name national
name international
name local (local means no calls out FXO ports!!)
!
dial-peer cor list national
member national
!
dial-peer cor list international
member international
!
dial-peer cor list local
member local
!
dial-peer cor list nationalcalls
member national
member local
!
dial-peer cor list internationalcalls
member national
member international
member local
!
dial-peer cor list localcalls
member local
!
dial-peer voice xx pots
destination-pattern [2-9].......
port x/y
cor outgoing nationalcalls
!
dial-peer voice yy pots
destination-pattern 0[2-9]......
port x/y
cor outgoing nationalcalls
prefix 0
!
dial-peer voice zz pots
destination-pattern 011T
port x/y
cor
outgoing internationalcalls prefix 011
!
ephone-dn 1 (all calls allowed for this phone)
cor incoming international
!
ephone-dn 2 (only national calls)
cor incoming national
!
ephone-dn 3 (no calls out the FXO)
cor incoming local

Comments
nayef salem
Level 1
Level 1

first of all i want to thank you for this sample though so important to understand COR

second , there is a tiny mistake but though tiny it makes a huge confusion to the learners as it happened to me

third , simply to solve this mistake you you need to inverse or replace the internationl , national and local under DNs with nationalcalls , internationalcalls and localcalls under DIAL_PEERs

my best wishes to you , and have a goood day

and no one is perfect but GOD

regards

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: