<p>I have the following setup: DS3 -> Cisco AS5400 -> H.323 (ooh323) ->
<br> Asterisk
<br> </p><p>Inbound calls work great but outbound calls fail. So to check and
<br> make sure we have outbound calling ability on the DS3 we setup a Cisco
<br> Call Manager Express and it can make outbound calls both local and
<br> long distance with no problems. </p><p>The failure code is Cause i = 0x8381 - Unallocated/unassigned number.
<br> We ran this through the Cisco output interpreter and it says that
<br> there may be a problem with the outbound DS3. But we have disproved
<br> that already.
<br> </p><p>The other thing that I noticed is the the calling party number Type is
<br> set to Unknown on Asterisk but set to National on the CME. I don't
<br> see a way to specify the Type in ooh323.conf. At this point I'm just
<br> looking for any ideas here. Most of the setups I have googled are
<br> Asterisk to AS5400 using SIP.
</p><p> </p><p>We started doing some debugs on the AS5400. Here is a sample of the
<br> AS5400 for the Call Manager Express (the one that works):
<br> </p><p>993241: Dec 16 14:53:12: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
<br> Calling Number=96519590, Called Number=96519590, Peer Info
<br> Type=DIALPEER_INFO_SPEECH
<br> 993242: Dec 16 14:53:12: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
<br> Match Rule=DP_MATCH_DEST; Called Number=96519590
<br> 993243: Dec 16 14:53:12: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
<br> Result=Success(0) after DP_MATCH_DEST
<br> 993244: Dec 16 14:53:12: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
<br> Result=SUCCESS(0)
<br> List of Matched Outgoing Dial-peer(s):
<br> 1: Dial-peer Tag=101
<br> 993245: Dec 16 14:53:12: //-1/122998F18026/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Calling Number=5554444, Called Number=96519590, Voice-
<br> Interface=0x0,
<br> Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
<br> Type=PEER_TYPE_VOICE,
<br> Peer Info Type=DIALPEER_INFO_SPEECH
<br> 993246: Dec 16 14:53:12: //-1/122998F18026/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Result=NO_MATCH(-1) After All Match Rules Attempt
<br> 993247: Dec 16 14:53:12: //-1/122998F18026/DPM/dpMatchPeersCore:
<br> Calling Number=, Called Number=96519590, Peer Info
<br> Type=DIALPEER_INFO_SPEECH
<br> 993248: Dec 16 14:53:12: //-1/122998F18026/DPM/dpMatchPeersCore:
<br> Match Rule=DP_MATCH_DEST; Called Number=96519590
<br> 993249: Dec 16 14:53:12: //-1/122998F18026/DPM/dpMatchPeersCore:
<br> Result=Success(0) after DP_MATCH_DEST
<br> 993250: Dec 16 14:53:12: //-1/122998F18026/DPM/dpMatchPeersMoreArg:
<br> Result=SUCCESS(0)
<br> List of Matched Outgoing Dial-peer(s):
<br> 1: Dial-peer Tag=101
<br> 993251: Dec 16 14:53:12: ISDN Se7/0:1:23 Q931: Applying typeplan for
<br> sw-type 0x2 is 0x2 0x1, Calling num 5554444
<br> 993252: Dec 16 14:53:12: ISDN Se7/0:1:23 Q931: Applying typeplan for
<br> sw-type 0x2 is 0x2 0x1, Called num 3146519590
<br> 993253: Dec 16 14:53:12: ISDN Se7/0:1:23 Q931: TX -> SETUP pd = 8
<br> callref = 0x00F3
<br> Bearer Capability i = 0x8090A2
<br> Standard = CCITT
<br> Transfer Capability = Speech
<br> Transfer Mode = Circuit
<br> Transfer Rate = 64 kbit/s
<br> Channel ID i = 0xA98397
<br> Exclusive, Channel 23
<br> Net Specific Fac i = 0x00E1
<br> Calling Party Number i = 0x2180, '5554444'
<br> Plan:ISDN, Type:National
<br> Called Party Number i = 0xA1, '3146519590'
<br> Plan:ISDN, Type:National
<br> 993254: Dec 16 14:53:12: ISDN Se7/0:1:23 Q931: RX <- CALL_PROC pd = 8
<br> callref = 0x80F3
<br> Channel ID i = 0xE9808397
<br> Exclusive, Interface 0, Channel 23
<br> 993255: Dec 16 14:53:16: ISDN Se7/0:1:23 Q931: RX <- PROGRESS pd = 8
<br> callref = 0x80F3
<br> Progress Ind i = 0x8381 - Call not end-to-end ISDN, may have
<br> in-band info
<br> 993256: Dec 16 14:53:17: ISDN Se7/0:1:23 Q931: RX <- ALERTING pd = 8
<br> callref = 0x80F3
<br> 993257: Dec 16 14:53:20: ISDN Se7/0:1:23 Q931: RX <- CONNECT pd = 8
<br> callref = 0x80F3
<br> 993258: Dec 16 14:53:20: ISDN Se7/0:1:23 Q931: TX -> CONNECT_ACK pd =
<br> 8 callref = 0x00F3
<br> 993259: Dec 16 14:53:20: //1797/122998F18026/SIP/Call/sipSPICallInfo:
<br> The Call Setup Information is:
<br> Call Control Block (CCB) : 0x63F39424
<br> State of The Call : STATE_ACTIVE
<br> TCP Sockets Used : NO
<br> Calling Number : 5554444
<br> Called Number : 96519590
<br> Source IP Address (Sig ): 10.200.90.20
<br> Destn SIP Req Addr:Port : <a href="http://10.200.11.250:5060">10.200.11.250:5060</a>
<br> Destn SIP Resp Addr:Port : <a href="http://10.200.11.250:64816">10.200.11.250:64816</a>
<br> Destination Name : 10.200.11.250
<br> </p><p>993260: Dec 16 14:53:20: //1797/122998F18026/SIP/Call/
<br> sipSPIMediaCallInfo:
<br> Number of Media Streams: 1
<br> Media Stream : 1
<br> Negotiated Codec : g711ulaw
<br> Negotiated Codec Bytes : 160
<br> Negotiated Dtmf-relay : 7
<br> Dtmf-relay Payload : 0
<br> Source IP Address (Media): 10.200.90.20
<br> Source IP Port (Media): 21846
<br> Destn IP Address (Media): 10.200.11.250
<br> Destn IP Port (Media): 16860
<br> Orig Destn IP Address:Port (Media): <a href="http://0.0.0.0:0">0.0.0.0:0</a>
<br> </p><p>993261: Dec 16 14:53:23: ISDN Se7/0:1:23 Q931: RX <- DISCONNECT pd =
<br> 8 callref = 0x80F3
<br> Cause i = 0x8090 - Normal call clearing
<br> 993262: Dec 16 14:53:23: ISDN Se7/0:1:23 Q931: TX -> RELEASE pd = 8
<br> callref = 0x00F3
<br> 993263: Dec 16 14:53:23: //1797/122998F18026/SIP/Call/sipSPICallInfo:
<br> The Call Setup Information is:
<br> Call Control Block (CCB) : 0x63F39424
<br> State of The Call : STATE_DEAD
<br> TCP Sockets Used : NO
<br> Calling Number : 5554444
<br> Called Number : 96519590
<br> Source IP Address (Sig ): 10.200.90.20
<br> Destn SIP Req Addr:Port : <a href="http://10.200.11.250:5060">10.200.11.250:5060</a>
<br> Destn SIP Resp Addr:Port : <a href="http://10.200.11.250:64816">10.200.11.250:64816</a>
<br> Destination Name : 10.200.11.250
<br> </p><p>993264: Dec 16 14:53:23: //1797/122998F18026/SIP/Call/
<br> sipSPIMediaCallInfo:
<br> Number of Media Streams: 1
<br> Media Stream : 1
<br> Negotiated Codec : g711ulaw
<br> Negotiated Codec Bytes : 160
<br> Negotiated Dtmf-relay : 7
<br> Dtmf-relay Payload : 0
<br> Source IP Address (Media): 10.200.90.20
<br> Source IP Port (Media): 21846
<br> Destn IP Address (Media): 10.200.11.250
<br> Destn IP Port (Media): 16860
<br> Orig Destn IP Address:Port (Media): <a href="http://0.0.0.0:0">0.0.0.0:0</a>
<br> </p><p>993265: Dec 16 14:53:23: //1797/122998F18026/SIP/Call/sipSPICallInfo:
<br> Disconnect Cause (CC) : 16
<br> Disconnect Cause (SIP) : 200
<br> </p><p>993266: Dec 16 14:53:23: ISDN Se7/0:1:23 Q931: RX <- RELEASE_COMP pd =
<br> 8 callref = 0x80F3
<br> </p><p>And here is the output when the Asterisk box tries to make outbound
<br> calls through the 5400:
<br> </p><p>993314: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Calling Number=6003, Called Number=96519590, Voice-Interface=0x0,
<br> Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
<br> Type=PEER_TYPE_VOICE,
<br> Peer Info Type=DIALPEER_INFO_SPEECH
<br> 993315: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
<br> 993316: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Calling Number=6003, Called Number=96519590, Voice-Interface=0x0,
<br> Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
<br> Type=PEER_TYPE_VOICE,
<br> Peer Info Type=DIALPEER_INFO_SPEECH
<br> 993317: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
<br> 993318: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Calling Number=6003, Called Number=96519590, Voice-Interface=0x0,
<br> Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
<br> Type=PEER_TYPE_VOICE,
<br> Peer Info Type=DIALPEER_INFO_SPEECH
<br> 993319: Dec 16 14:57:38: //-1/909192939899/DPM/
<br> dpAssociateIncomingPeerCore:
<br> Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=201
<br> 993320: Dec 16 14:57:38: //-1/909192939899/DPM/dpMatchPeersCore:
<br> Calling Number=, Called Number=96519590, Peer Info
<br> Type=DIALPEER_INFO_SPEECH
<br> 993321: Dec 16 14:57:38: //-1/909192939899/DPM/dpMatchPeersCore:
<br> Match Rule=DP_MATCH_DEST; Called Number=96519590
<br> 993322: Dec 16 14:57:38: //-1/909192939899/DPM/dpMatchPeersCore:
<br> Result=Success(0) after DP_MATCH_DEST
<br> 993323: Dec 16 14:57:38: //-1/909192939899/DPM/dpMatchPeersMoreArg:
<br> Result=SUCCESS(0)
<br> List of Matched Outgoing Dial-peer(s):
<br> 1: Dial-peer Tag=101
<br> 993324: Dec 16 14:57:38: ISDN Se7/0:1:23 Q931: pak_private_number:
<br> Invalid type/plan 0x0 0x1 may be overriden; sw-type 2
<br> 993325: Dec 16 14:57:38: ISDN Se7/0:1:23 Q931: Applying typeplan for
<br> sw-type 0x2 is 0x2 0x1, Calling num 6003
<br> 993326: Dec 16 14:57:38: ISDN Se7/0:1:23 Q931: Applying typeplan for
<br> sw-type 0x2 is 0x0 0x1, Called num 3146519590
<br> 993327: Dec 16 14:57:38: ISDN Se7/0:1:23 Q931: TX -> SETUP pd = 8
<br> callref = 0x00F6
<br> Bearer Capability i = 0x8090A2
<br> Standard = CCITT
<br> Transfer Capability = Speech
<br> Transfer Mode = Circuit
<br> Transfer Rate = 64 kbit/s
<br> Channel ID i = 0xA98397
<br> Exclusive, Channel 23
<br> Net Specific Fac i = 0x00E1
<br> Calling Party Number i = 0x2180, '6003'
<br> Plan:ISDN, Type:National
<br> Called Party Number i = 0x81, '3146519590'
<br> Plan:ISDN, Type:Unknown
<br> 993328: Dec 16 14:57:38: ISDN Se7/0:1:23 Q931: RX <- RELEASE_COMP pd =
<br> 8 callref = 0x80F6
<br> Cause i = 0x8381 - Unallocated/unassigned number
<br> 993329: Dec 16 14:57:38: ISDN Se7/0:1:23 **ERROR**: call_cleared:
<br> VOICE ERROR: NULL VDEV Common(0xFC): bchan -1, call id 0x8152
<br> </p><br clear="all"><br>-- <br>Ray Seals<br>-----------------------------------------<br>Office: 314-594-0150 (St. Louis Area)<br> 866-875-8863 (toll free)<br> Fax: 253-681-9982<br><br>