Selvarathnam Nadar Mon, 09/02/2013 - 03:36
User Badges:

Hi Praful,


You need to Create CORs and COR list than assign this COR list to dial-peers


Create CORs

!

dial-peer cor custom

name LOCAL

name STD

name ISD

!

Create COR list

!

dail-peer cor list localcalls

member LOCAL

!

dial-peer cor list stdcalls

member STD

!

dial-peer cor list isdcalls

member ISD

!

Assign COR lists to PSTN dial peer (outgoing Cor list)

!

dial-peer voice 101 pots

description **Local outgoing calls**

destination-pattern 0[2-9]T

corlist outgoing localcalls

!

dial-peer voice 102 pots

description ** STD calls**

destination-pattern 00[1-9]T

prefix 0

corlist outgoing stdcalls

!

dial-peer voice 103 pots

description **ISD calls**

destination-pattern 000[1-9]T

prefix 00

corlist outgoing isdcalls

!

Configure CORlists for user privileges (incoming COR list)

!

dial-peer cor list User1

member LOCAL

!

dial-peer cor list User2

member LOCAL

member STD

!

dial-peer cor list User3

member LOCAl

member STD

member ISD

!

Assign COR list to ephones

ephone-dn 1

corlist incoming User1

!

ephone-dn 2

corlist incoming User2

!

ephone-dn 3

corlist incoming User3

!

The ephone user having ephone-dn 1 configured will only able to make a local calls, ephone user having ephone-dn 2 assigned will only able to make local and STD calls, and so on.


Regards

Selvarathnam

Actions

This Discussion