12-03-2004 12:27 AM - edited 03-13-2019 07:13 AM
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.
12-03-2004 04:14 AM
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
12-05-2004 07:22 PM
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.
12-14-2004 01:31 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide