Hi all.
We have a CVP and a voice gateway with the following configuration(with some omitted output):
voice service voip
allow-connections sip to sip
sip
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
voice-port 0/0/0:15
translation-profile incoming incoming
cptone IT
timeouts interdigit 5
timeouts wait-release 5
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern 0T
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 31000 voip
description to WVR
destination-pattern 31...
voice-class codec 1
session protocol sipv2
session target ipv4:10.232.117.207
session transport udp
dtmf-relay rtp-nte
no vad
!
dial-peer voice 20001 voip
description Test (unavailable CCM)
preference 2
destination-pattern 2....
voice-class codec 1
session protocol sipv2
session target ipv4:10.233.233.233
session transport udp
dtmf-relay rtp-nte
no vad
!
dial-peer voice 20002 voip
description Call Manager Phones
preference 1
destination-pattern 2....
voice-class codec 1
session protocol sipv2
session target ipv4:10.232.117.204
session transport udp
dtmf-relay rtp-nte
no vad
!
retry invite 3
retry response 3
retry bye 3
retry cancel 3
An incoming call is sent to the IVR (matching dial-peer 31000)
The system checks for an available agent an then send a "refer" to the VG with the agnet directory number.
The voice gateway send the call matching the first voip dialpeer available and not the one with the best preference (in our case 20001 instead of 20002).
How can we modify our config in order to send a call to a preferred dialpeer?
Many Thanks in advance
Regards
Carlo
Please rate all helpful posts
"The more you help the more you learn"