[cisco-voip] Internaltional Calls Failing at the Bell PRI

John Lange john at johnlange.ca
Tue Feb 2 18:45:09 EST 2010


On Tue, 2010-02-02 at 15:43 -0600, Go0se wrote:
> If it's connecting to Bell, try setting the called type and plan both to
> UNKNOWN.

I did speak with Bell tech and though they were not able to take a look
at the D channel, he said pretty much the same thing but how do you do
that?

Set both the called _and_ calling party, type & plan to unknown. So I
tried:

dial-peer voice 25 pots
 numbering-type unknown
 destination-pattern 9011
 direct-inward-dial
 port 0/3/0:23
 forward-digits 0
 prefix 011

But, so far as I can tell, "numbering-type" is for matching peers, not
for changing the numbering type and I can't see any way to change the
numbering type or plan in the dial-peer except with a translation rule.

But I can not get my translation rule to work...

---

voice translation-rule 1
 rule 1 /^9/ /9/ type any unknown plan any unknown

dial-peer voice 25 pots
 destination-pattern 9011
 prefix 011
 direct-inward-dial
 port 0/3/0:23
 forward-digits extra
 translate-outgoing called 1
!

-- debug --

The last few lines of the debug tell the tail..

Called Party Number i = 0x91, '011448712002000' 
 Plan:ISDN, Type:International

If I could just get the translation to work so I could set the plan &
type, I think the problem would be solved...

--- and sorry for the long post but here is the full debug isdn &
dialpeer ----


Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Calling Number=2049757113, Called Number=9011448712002000, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_REQUEST_URI; URI=sip:9011448712002000 at 192.168.134.20
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Result=-1
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_TO_URI; URI=sip:9011448712002000 at 192.168.134.20
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Result=-1
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_FROM_URI; URI=sip:2049757113 at 192.168.134.9
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Result=-1
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=9011448712002000
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=9011448712002000, Expanded String=9011448712002000, Calling Number=
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Result=-1
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_ANSWER; Calling Number=2049757113
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=2049757113T
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Result=-1
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_ORIGINATE; Calling Number=2049757113
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
Feb  2 23:34:34.414: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=2049757113T
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.418: //-1/5A96E357B8A8/DPM/MatchNextPeer:
   Result=Success(0); Incoming Dial-peer=40 Is Matched
Feb  2 23:34:34.418: //-1/5A96E357B8A8/DPM/MatchNextPeer:
   Result=Success(0); Incoming Dial-peer=45 Is Matched
Feb  2 23:34:34.418: //-1/5A96E357B8A8/DPM/dpMatchPeertype:exit at 5404 
Feb  2 23:34:34.418: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=40
Feb  2 23:34:34.418: //-1/5A96E357B8A8/DPM/dpAssociateIncomingPeerSPI:exit at 5938 
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=9011448712002000, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=9011448712002000
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/dpMatchCore:
   Dial String=9011448712002000, Expanded String=9011448712002000, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=20 Is Matched
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=25 Is Matched
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
Feb  2 23:34:34.422: //-1/5A96E357B8A8/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0) 
   List of Matched Outgoing Dial-peer(s): 
     1: Dial-peer Tag=25 
     2: Dial-peer Tag=20
Feb  2 23:34:34.422: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 2049757113
Feb  2 23:34:34.426: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x1 0x1, Called num 011448712002000
Feb  2 23:34:34.426: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8  callref = 0x3244 
	Bearer Capability i = 0x8090A2 
		Standard = CCITT 
		Transfer Capability = Speech  
		Transfer Mode = Circuit 
		Transfer Rate = 64 kbit/s 
	Channel ID i = 0xA98395 
		Exclusive, Channel 21 
	Calling Party Number i = 0x2180, '2049757113' 
		Plan:ISDN, Type:National 
	Called Party Number i = 0x91, '011448712002000' 
		Plan:ISDN, Type:International
Feb  2 23:34:34.526: ISDN Se0/3/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0xB244 
	Cause i = 0x809C - Invalid number format (incomplete number)
Feb  2 17:34:34: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 1, ConnectionId 5A96E357 F8A11DF B8A89757 A2E40164, SetupTime 17:34:34.530 CST Tue Feb 2 2010, PeerAddress 9011448712002000, PeerSubAddress , DisconnectCause 1C  , DisconnectText invalid number (28), ConnectTime 17:34:34.530 CST Tue Feb 2 2010, DisconnectTime 17:34:34.530 CST Tue Feb 2 2010, CallOrigin 1, ChargedUnits 0, InfoType 2, TransmitPackets 0, TransmitBytes 0, ReceivePackets 0, ReceiveBytes 0
Feb  2 23:34:34.534: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 2049757113
Feb  2 23:34:34.534: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x1 0x1, Called num 011448712002000
Feb  2 23:34:34.534: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8  callref = 0x3245 
	Bearer Capability i = 0x8090A2 
		Standard = CCITT 
		Transfer Capability = Speech  
		Transfer Mode = Circuit 
		Transfer Rate = 64 kbit/s 
	Channel ID i = 0xA98395 
		Exclusive, Channel 21 
	Calling Party Number i = 0x2180, '2049757113' 
		Plan:ISDN, Type:National 
	Called Party Number i = 0x91, '011448712002000' 
		Plan:ISDN, Type:International
Feb  2 23:34:34.666: ISDN Se0/3/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0xB245 
	Cause i = 0x809C - Invalid number format (incomplete number)
Feb  2 17:34:34: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 1, ConnectionId 5A96E357 F8A11DF B8A89757 A2E40164, SetupTime 17:34:34.670 CST Tue Feb 2 2010, PeerAddress 9011448712002000, PeerSubAddress , DisconnectCause 1C  , DisconnectText invalid number (28), ConnectTime 17:34:34.670 CST Tue Feb 2 2010, DisconnectTime 17:34:34.670 CST Tue Feb 2 2010, CallOrigin 1, ChargedUnits 0, InfoType 2, TransmitPackets 0, TransmitBytes 0, ReceivePackets 0, ReceiveBytes 0
Feb  2 17:34:34: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 2, ConnectionId 5A96E357 F8A11DF B8A89757 A2E40164, SetupTime 17:34:34.422 CST Tue Feb 2 2010, PeerAddress 2049757113, PeerSubAddress , DisconnectCause 1C  , DisconnectText invalid number (28), ConnectTime 17:34:34.682 CST Tue Feb 2 2010, DisconnectTime 17:34:34.682 CST Tue Feb 2 2010, CallOrigin 2, ChargedUnits 0, InfoType 2, TransmitPackets 0, TransmitBytes 0, ReceivePackets 0, ReceiveBytes 0


-- 
John Lange
http://www.johnlange.ca



More information about the cisco-voip mailing list