Hi ,
Inbound:
Your ISP will do the call routing Distribution Algorithm like top down or circular based on Pilot number.( service no). This can be achieve MSC level.
Outbound:
Create Route Group in CUCM when you have two VG. Otherwise do it in dial-peer level below is the example.
Preference 0 is the highest which is the default. Therefore you having preference 1 on dial-peer 502, all calls will use dial-peer 501 first until all the channels have been used. If you remove the preference 1 from dial-peer 502 the calls should load balance between the two ISDN circuits.
dial-peer voice 220 voip
description <<DIAL_PEER_FOR_OUTBOUND>>
session protocol sipv2
incoming called-number 9T
voice-class codec 1
voice-class sip rel1xx supported "100rel"
dtmf-relay rtp-nte
no vad
clid network-number 4480xxxxxx
!
dial-peer voice 501 pots
tone ringback alert-no-PI
description <<POTS_DIAL_PEER_FOR_LOCAL & INTERNATIONAL_CALL>>
destination-pattern 9T
progress_ind alert enable 8
progress_ind connect enable 8
port 0/0/0:15
!
dial-peer voice 502 pots
tone ringback alert-no-PI
preference 1
description <<POTS_DIAL_PEER_FOR_LOCAL & INTERNATIONAL_CALL>>
destination-pattern 9T
progress_ind alert enable 8
progress_ind connect enable 8
port 0/0/1:15
Ram.S
Regards,
Ram.S