Total Pageviews

Monday, November 28, 2011

Route outgoing calls through ISDN using specific channels based on the Calling party’s number

Route outgoing calls through ISDN using specific channels based on the Calling party’s number.


                                ISDN 14 channels
(1002) Phone  —- CUCM ———- GW ===================== Telco – Phone (2002)
(1003) Phone

Issue : When Ext 1002 makes outbound call, Call should go out through First 1-10 channels and when Ext 1003 makes call, channels 11-14 should be used. 1002 should not be able to use channels 11-14.

Following cmds needs to be issued on the Gateway :

controller T1 0/1/0
trunk-group first timeslots 1-10
  trunk-group sec timeslots 11-14
!
!
dial-peer cor custom
  name 1002
  name 1003
!
!
dial-peer cor list 1002
  member 1002
!
dial-peer cor list 1003
  member 1003
!
!
dial-peer voice 2000 pots
  trunkgroup sec
  corlist outgoing 1002
  destination-pattern 2…
  forward-digits all
!
!
dial-peer voice 1002 voip
  corlist incoming 1002
  answer-address 1002
!
dial-peer voice 1003 voip
  corlist incoming 1003
  answer-address 1003
!
dial-peer voice 2222 pots
  trunkgroup first
  corlist outgoing 1003
  destination-pattern 2…
  forward-digits all