cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
415
Views
0
Helpful
3
Replies

How to: Outbound dial peer selection?

koksiong
Level 1
Level 1

I have a CCM cluster with a single H.323 gateway with 2 E1 lines.

When a IP User dial out, how do I select the E1 line to use based on their phone number (DN).

eg user DN 1111 dial out using voice-port 1

user DN 2222 dial out using voice-port 2.

3 Replies 3

mikram
Level 4
Level 4

try this

dial-peer voice 1 voip

destination-pattern 1111

session-target ipv4:ccm

port 1/0:16

dial-peer voice 2 voip

destination-pattern 2222

session-target ipv4:ccm

port 1/1:16

preference 1

hi, I should have made myself clearer.

eq I have 2 IP Phones 1111, 2222 and I have 2 ISDN serving 1111 and 2222.

my config will be

dial-peer voice 1 voip

destination-pattern 1111

session-target ipv4:ccm

dial-peer voice 2 viop

destination-pattern 2222

session-target ipv4:ccm

dial-peer voice 3 pots

destination-pattern T

port 1/0:15

dial-peer voice 4 pots

destaintion-pattern T

port 2/0:15

Question is: How do I ensure that IP Phone 1111 will use dial-peer 3 only and 2222 will use dial-peer 4 only for all out going calls?

Currently the calls are routed out round robin fashion by the router.

Hi,

a possible way would be the use of differend prefixes.

Let the CCM on calls to the GW add a prefix like 1 for calls originating from phone 1111, and 2 for calls from 2222.

Then just adapt the dial-peers to:

dial-peer voice 3 pots

destination-pattern 1T

port 1/0:15

dial-peer voice 4 pots

destaintion-pattern 2T

port 2/0:15

'hope this approach helps.