cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
347
Views
0
Helpful
1
Replies

h323 gateway Dial-peer issue

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Guys,

I have a problem I think I have seen in the past but cant figure a way around it.

I have a gateway configured with the following dial-peer

1. Used for incoming calls from the PSTN

dial-peer voice 9998 pots
  description ** Incoming POTS Calls **
  translation-profile incoming PSTN-IN
  incoming called-number .
  direct-inward-dial

2. used  to route calls to CCM

dial-peer voice 2000 voip
  description ** Calls to LIV-CMBE **
  destination-pattern [23]...
  session target ipv4:10.53.2.10
  voice-class codec 1
  dtmf-relay h245-alphanumeric
  no vad

I also have the following ephone-dns for srst

ephone-dn  216
number 2389
  preference 1
call-forward all 7335
!
!
ephone-dn  217
number 3490
  preference 1
call-forward all 7335

The problem we are having is this.

when an inbound call hit the gateway eg called number = 2389, the ephone-dn pots dial-peer is matched and beacuse SRST is not active the call fails.

The VOIP dial-peer obviuosly has a higher preference, but its the ephone-dn pots dial-peer that is been matched.

Whats the work around for this please?

Please rate all useful posts
1 Reply 1

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Never mind, I have resolved this issue.

I resolved it by changing my dial-peer hunt algorithm. The default is longest match. I changed it to use preference by using the command

dial-peer hunt 3.

This command enables the gateway to use preference to select its out going dial-peer. The default is that the gateway will use longest match and since the ephone-dn will always have longest match, hence the reason why its dial-peer is been selected/

Please rate all useful posts