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