Hello,
     I am working on inbound calling to the HQ site for HQ (internal ext
500X).  Calling inbound from PSTN phone, the dial-peer debug traffic shows
that both redundant dial-peers are being matched (5000 and 5001).  However,
my impression is that the "preference" syntax should be the deciding factor
in which dial peer is used.  As far as I can tell the inbound call is not
being passed to CUCM's SIP trunk.  From the dial-peer debug;

*P1-HQ-VG#
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpAssociateIncomingPeerCore:
   Calling Number=0113432141891, Called Number=2123945002,
Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=5000
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpAssociateIncomingPeerCore:
   Calling Number=0113432141891, Called Number=2123945002,
Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=5000
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2123945002, Peer Info
Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2123945002
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=5000
     2: Dial-peer Tag=5001
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=2123945002, Called Number=2123945002, Peer Info
Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2123945002
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=5000
     2: Dial-peer Tag=5001
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=2123945002, Called Number=2123945002, Peer Info
Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2123945002
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=5000
     2: Dial-peer Tag=5001
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=2123945002, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=5000
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2123945002, Peer Info
Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2123945002
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Apr 22 22:37:14: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=5000
     2: Dial-peer Tag=5001
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2123945002, Peer Info
Type=DIALPEER_INFO_SPEECH
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2123945002
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Apr 22 22:37:14: //-1/A018D0158081/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=5000
     2: Dial-peer Tag=5001*


This is the dial-peer syntax;

*dial-peer voice 5000 voip
 destination-pattern 2123945...
 voice-class codec 1
 session protocol sipv2
 session target ipv4:10.1.200.20
 incoming called-number .
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 5001 voip
 preference 1
 destination-pattern 2123945...
 voice-class codec 1
 session protocol sipv2
 session target ipv4:10.1.200.24
 incoming called-number .
 dtmf-relay rtp-nte
 no vad*
**
**
Has anyone dealt with this issue before?



-- 
-Shikamaru

Reply via email to