OT:Voice Gateway & CUCM Problem

From: karim jamali <karim.jamali_at_gmail.com>
Date: Tue, 16 Feb 2010 12:24:17 +0300

Dear Gents,

I have been facing a strange problem since morning; the thing is that I am
trying to place a call from the outside (using a TCL script without) to an
analog FXO port. When placing the call the analog port opens another
dial-one and i input my digits, however the thing is that many times the
digits that I enter are different than the ones the router is processing
(debug voice dialpeer inout), and the call is not forwarded. Without
changing any settings on the router I test it again and it works. I truly
have no clue about what is the reason behind this. I Have tried this using
the TCL script and without (by automatically dialing when hearing secondary
tone) and i can't reach a stable state. I would truly appreciate it if
someone can help me with this.

As groupstudy doesn't support attachments, i have pasted the configs re with
the debug output:

Running configuration;
voice-card 0
 no dspfarm
!
voice-card 1
 no dspfarm
!
voice-card 2
 no dspfarm
!

voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 supplementary-service h450.12
 h323
!

voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729r8

!
application
 service aa flash:its-CISCO.2.0.1.0.tcl
  param operator 0
  paramspace english index 1
  paramspace english language en
  paramspace english location flash:
  paramspace english prefix en
  param aa-pilot 600
 !
interface GigabitEthernet0/0
 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
 ip address 10.10.10.1 255.255.255.248
 shutdown
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/1
 description ***** Connected to corpatr_SW *****
 ip address 10.4.1.141 255.255.255.0
 duplex full
 speed 100
 media-type rj45
 negotiation auto
 no keepalive
 h323-gateway voip interface
 h323-gateway voip bind srcaddr 10.4.1.141
!
!
!
control-plane
!
!
!
voice-port 0/0/0
 supervisory disconnect dualtone mid-call
 cptone SA
 timeouts initial 0
 timeouts interdigit 5
 timeouts call-disconnect 0
 timeouts ringing 5
 timeouts wait-release 1
 timing hookflash-out 50
 timing min-ring 100
 description ***<<<General-Line 2784837>>>***
 caller-id enable
!
dial-peer voice 1 voip
 service aa
 destination-pattern 600
 session target ipv4:10.4.1.141
 incoming called-number 600
 dtmf-relay h245-signal h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 2 voip
 destination-pattern 5014
 session target ipv4:10.4.1.201
 dtmf-relay h245-alphanumeric
 codec g711ulaw
!
dial-peer voice 3 pots
 incoming called-number .
 port 0/0/0
!
dial-peer voice 4 voip
 destination-pattern 5013
 session target ipv4:10.4.1.201
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
Debug Output (Working & Not Working)

*Feb 16 07:27:19.243: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=, Called Number=, Voice-Interface=0x664C9CFC,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:19.243: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=3
*Feb 16 07:27:19.243: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:19.243: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=600
*Feb 16 07:27:19.243: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Feb 16 07:27:19.243: //-1/8CB716408011/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1
*Feb 16 07:27:19.247: //-1/8CB716408011/DPM/dpAssociateIncomingPeerCore:
   Calling Number=, Called Number=600, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:19.247: //-1/8CB716408011/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
*Feb 16 07:27:19.247: //-1/8CB716408011/DPM/dpAssociateIncomingPeerCore:
   Calling Number=, Called Number=600, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:19.247: //-1/8CB716408011/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
*Feb 16 07:27:24.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=3, Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:24.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=3
*Feb 16 07:27:24.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Feb 16 07:27:24.667: //-1/8CB716408011/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)
*Feb 16 07:27:34.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=3T, Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:34.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=3T
*Feb 16 07:27:34.667: //-1/8CB716408011/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Feb 16 07:27:34.667: //-1/8CB716408011/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)
*Feb 16 07:27:39.471: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
Giga
bitEthernet0/1 (not half duplex), with BMB-KSA-SW1 FastEthernet0/24 (half
duplex
).
*Feb 16 07:27:43.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=1, Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:43.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=1
*Feb 16 07:27:43.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Feb 16 07:27:43.227: //-1/8CB716408011/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)
*Feb 16 07:27:53.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=1T, Peer Info Type=DIALPEER_INFO_SPEECH
*Feb 16 07:27:53.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=1T
*Feb 16 07:27:53.227: //-1/8CB716408011/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Feb 16 07:27:53.227: //-1/8CB716408011/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)

=====================================================================================================
Another Debug Working
Feb 16 07:25:54.615: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
  Calling Number=, Called Number=, Voice-Interface=0x664C9CFC,
  Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search
Type=PEER_TYPE_VOICE
  Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:25:54.615: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
  Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=3
Feb 16 07:25:54.619: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:25:54.619: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=600
Feb 16 07:25:54.619: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Success(0) after DP_MATCH_DEST
Feb 16 07:25:54.619: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=SUCCESS(0)
  List of Matched Outgoing Dial-peer(s):
    1: Dial-peer Tag=1
Feb 16 07:25:54.623: //-1/5A45E09D800B/DPM/dpAssociateIncomingPeerCore:
  Calling Number=, Called Number=600, Voice-Interface=0x0,
  Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
  Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:25:54.623: //-1/5A45E09D800B/DPM/dpAssociateIncomingPeerCore:
  Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
PMG-VGW1#terminal monitor
Feb 16 07:25:54.623: //-1/5A45E09D800B/DPM/dpAssociateIncomingPeerCore:
  Calling Number=, Called Number=600, Voice-Interface=0x0,
  Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
  Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:25:54.623: //-1/5A45E09D800B/DPM/dpAssociateIncomingPeerCore:
  Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
PMG-VGW1#
Feb 16 07:26:04.803: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=5, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:26:04.803: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=5
Feb 16 07:26:04.803: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Partial Matches(1) after DP_MATCH_DEST
Feb 16 07:26:04.803: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=MORE_DIGITS_NEEDED(1)
Feb 16 07:26:06.123: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=50, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:26:06.123: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=50
Feb 16 07:26:06.123: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Partial Matches(1) after DP_MATCH_DEST
Feb 16 07:26:06.123: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=MORE_DIGITS_NEEDED(1)
Feb 16 07:26:06.775: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=501, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:26:06.775: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=501
Feb 16 07:26:06.775: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Partial Matches(1) after DP_MATCH_DEST
Feb 16 07:26:06.775: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=MORE_DIGITS_NEEDED(1)
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=5013, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=5013
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Success(0) after DP_MATCH_DEST
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=SUCCESS(0)
  List of Matched Outgoing Dial-peer(s):
    1: Dial-peer Tag=4
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Calling Number=, Called Number=5013, Peer Info Type=DIALPEER_INFO_SPEECH
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Match Rule=DP_MATCH_DEST; Called Number=5013
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersCore:
  Result=Success(0) after DP_MATCH_DEST
Feb 16 07:26:07.395: //-1/5A45E09D800B/DPM/dpMatchPeersMoreArg:
  Result=SUCCESS(0)
  List of Matched Outgoing Dial-peer(s):
    1: Dial-peer Tag=4

BR

-- 
KJ
Blogs and organic groups at http://www.ccie.net
Received on Tue Feb 16 2010 - 12:24:17 ART

This archive was generated by hypermail 2.2.0 : Mon Mar 01 2010 - 06:28:36 ART