بحث هذه المدونة الإلكترونية

الأحد، ٢٤ مارس ٢٠١٣

Class Of Restriction (COR) Superset Or Subset


بسم الله والحمد لله والصلاة والسلام علي رسول الله وآله وصحبه وإخوانه وسلم

Class Of Restriction (COR) Superset Or Subset

Keep in mind the following rule:
- for a call to be successful the incoming COR must be a superset or equal to the outgoing COR.
- to deny a call the incoming COR must be a subset of the outgoing COR.


Lab Time:

 
Example 1 : Call fail ( the incoming COR is a subset of the outgoing COR)
R1:
dial-peer cor custom
name sales
name accounting
name laboratory
!
dial-peer cor list sales-out
member sales
member accounting
member laboratory
!
dial-peer cor list sales-in
member sales
member accounting
!
ephone-dn 1
cor incoming sales-in
!
dial-peer voice 1 voip
cor outgoing sales-out

Result: 



Example 2 : Call Success (the incoming COR is equal to the outgoing COR)
R1:
dial-peer cor custom
name sales
name accounting
name laboratory
!
dial-peer cor list sales-out
member sales
member accounting
member laboratory
!
dial-peer cor list sales-in
member sales
member accounting
member laboratory
!
ephone-dn 1
cor incoming sales-in
!
dial-peer voice 1 voip
cor outgoing sales-out

Result:


ولا تنسوني والمسلمين من صالح الدعاء

وصلي الله وسلم وبارك علي النبي وآله وصحبه وإخوانه وسلم