[cisco-voip] ISDN PRI/H.323 Gateway Issue

Kevin Thorngren kthorngr at cisco.com
Tue Jan 19 12:17:39 EST 2010


Looks like your inbound call is coming in with called number 912.   
This is matching dial peer 900 and going back out the PRI with called  
number 12.

You can apply your translation profile EtoP to the inbound pots dial  
peer and add the command "incoming called-number ." to dial peer 900.

voice translation-rule 1
  rule 1 /908/ /908/
  rule 2 /^9\(..$\)/ /809\1/
!
!
voice translation-profile EtoP
  translate called 1

Use the command "translation-profile incoming EtoP".

This will apply rule 2 of your voice translation rule and change the  
called number 912 to 80912.  This should then match your voip dial  
peers.

Kevin

On Jan 19, 2010, at 11:36 AM, Richard Rolfe wrote:

> Hi Ryan,
>
> Many thanks for the reply. I should have been more explicit. The  
> problem occurs with inbound calls to the gateway from the PSTN. An  
> external number is trying to reach ext 80912 - I think maybe some of  
> the debug got cut when I posted it. Outbound calls have no problem  
> in connecting.
>
> Does what you say still apply in this case?
>
> Best regards
>
> Richard
>
> From: Ryan Ratliff [mailto:rratliff at cisco.com]
> Sent: 19 January 2010 15:53
> To: Richard Rolfe
> Cc: cisco-voip at puck.nether.net
> Subject: Re: [cisco-voip] ISDN PRI/H.323 Gateway Issue
>
> The outbound Setup with incomplete number followed by Setup_Ack is  
> called overlap sending.   The router is telling the provider it has  
> some digits, but not all of them.  You also have a progress  
> indicator telling the provider to cut through audio for further  
> digits to be sent in-band.  I'd guess this is what your provider  
> doesn't like (the cause of the Status message).
>
> The call is timing out when the provider doesn't get any further  
> digits so drops the call.
>
> -Ryan
>
> On Jan 19, 2010, at 3:58 AM, Richard Rolfe wrote:
>
> Hi folks,
>
> Got a problem with a H323 gateway and a T1. It would appear to me  
> that the T1 is trying two different numbers doing a Q.931 debug and  
> there appear to be several ISDN cause codes that are concerning with  
> Invalid IE elements reecieve messages coming from the PSTN. I was  
> concerned it was the translation rules however I did remove the rule  
> from the voice port and still have the same error coming in. It  
> would appear to me that the T1 and the gateway are not talking to  
> each other properly and something is missing. This is in Hong Kong  
> for anyone with local knowledge and T1 settings there.
>
> Best regards
>
> Richard
>
> *Jan 12 10:08:41.619: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8   
> callref = 0x00E0
>         Bearer Capability i = 0x9090A2
>                 Standard = CCITT
>                 Transfer Capability = 3.1kHz Audio
>                 Transfer Mode = Circuit
>                 Transfer Rate = 64 kbit/s
>         Channel ID i = 0xA98397
>                 Exclusive, Channel 23
>         Progress Ind i = 0x8A83 - Origination address is non-ISDN
>         Calling Party Number i = 0x00C3, N/A
>                 Plan:Unknown, Type:Unknown
>         Called Party Number i = 0x80, '12'
>                 Plan:Unknown, Type:Unknown
> *Jan 12 10:08:41.647: ISDN Se0/3/0:23 Q931: RX <- STATUS pd = 8   
> callref = 0x80E
> 0
>         Cause i = 0x82E41E - Invalid information element contents
>         Call State i = 0x01
> *Jan 12 10:08:41.647: ISDN Se0/3/0:23 Q931: RX <- SETUP_ACK pd = 8   
> callref = 0x
> 80E0
>         Channel ID i = 0xA98397
>                 Exclusive, Channel 23
> *Jan 12 10:08:41.655: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x807
> C calltype 2 CALL_SETUP_ACK
> *Jan 12 10:08:52.155: ISDN Se0/3/0:23 Q931: RX <- DISCONNECT pd = 8   
> callref = 0
> x0029
>         Cause i = 0x82E6333130 - Recovery on timer expiry
>         Progress Ind i = 0x8288 - In-band info or appropriate now  
> available
> *Jan 12 10:08:52.159: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x36
> calltype 2 CALL_DISC
> *Jan 12 10:08:52.159: ISDN Se0/3/0:23 Q931: TX -> RELEASE pd = 8   
> callref = 0x80
> 29
> *Jan 12 10:08:52.167: ISDN Se0/3/0:23 Q931: TX -> DISCONNECT pd = 8   
> callref = 0
> x00E0
>         Cause i = 0x80E6 - Recovery on timer expiry
> *Jan 12 10:08:52.195: ISDN Se0/3/0:23 Q931: RX <- RELEASE pd = 8   
> callref = 0x80
> E0
> *Jan 12 10:08:52.199: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x807
> C calltype 2 CALL_CLEARED
> *Jan 12 10:08:52.199: ISDN Se0/3/0:23 Q931: TX -> RELEASE_COMP pd =  
> 8  callref =
>  0x00E0
> *Jan 12 10:08:52.247: ISDN Se0/3/0:23 Q931: RX <- RELEASE_COMP pd =  
> 8  callref =
>  0x0029
> *Jan 12 10:08:52.251: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x36
> calltype 2 CALL_CLEARED
> *Jan 12 10:08:56.199: ISDN Se0/3/0:23 Q931: RX <- SETUP pd = 8   
> callref = 0x002A
>         Sending Complete
>         Bearer Capability i = 0x9090A2
>                 Standard = CCITT
>                 Transfer Capability = 3.1kHz Audio
>                 Transfer Mode = Circuit
>                 Transfer Rate = 64 kbit/s
>         Channel ID i = 0xA18384
>                 Preferred, Channel 4
>         Progress Ind i = 0x8A81 - Call not end-to-end ISDN, may have  
> in-band inf
> o
>         Display i = 'LONG DISTANCE'
>         Calling Party Number i = 0x00C3, N/A
>                 Plan:Unknown, Type:Unknown
>         Called Party Number i = 0x80, '912'
>                 Plan:Unknown, Type:Unknown
> *Jan 12 10:08:56.203: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x37
> calltype 2 CALL_INCOMING
> *Jan 12 10:08:56.203: ISDN Se0/3/0:23 EVENT: call_incoming: call_id  
> 0x0037, Guid
>  = 541880CF8037
> *Jan 12 10:08:56.215: ISDN Se0/3/0:23 EVENT: process_pri_call: call  
> id 0x807D, n
> umber 12, Guid 541880CF8037, speed 0, call type VOICE, redial No,  
> CSM call No, p
> data Yes
> *Jan 12 10:08:56.215: ISDN Se0/3/0:23 Q931: Applying typeplan for sw- 
> type 0x11 i
> s 0x0 0x0, Calling num
> *Jan 12 10:08:56.219: ISDN Se0/3/0:23 Q931: Applying typeplan for sw- 
> type 0x11 i
> s 0x0 0x0, Called num 12
> *Jan 12 10:08:56.219: ISDN Se0/3/0:23 Q931: TX -> CALL_PROC pd = 8   
> callref = 0x
> 802A
>         Channel ID i = 0xA98384
>                 Exclusive, Channel 4
> *Jan 12 10:08:56.223: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8   
> callref = 0x00E1
>         Bearer Capability i = 0x9090A2
>                 Standard = CCITT
>                 Transfer Capability = 3.1kHz Audio
>                 Transfer Mode = Circuit
>                 Transfer Rate = 64 kbit/s
>         Channel ID i = 0xA98397
>                 Exclusive, Channel 23
>         Progress Ind i = 0x8A83 - Origination address is non-ISDN
>         Calling Party Number i = 0x00C3, N/A
>                 Plan:Unknown, Type:Unknown
>         Called Party Number i = 0x80, '12'
>                 Plan:Unknown, Type:Unknown
> *Jan 12 10:08:56.251: ISDN Se0/3/0:23 Q931: RX <- STATUS pd = 8   
> callref = 0x80E
> 1
>         Cause i = 0x82E41E - Invalid information element contents
>         Call State i = 0x01
> *Jan 12 10:08:56.255: ISDN Se0/3/0:23 Q931: RX <- SETUP_ACK pd = 8   
> callref = 0x
> 80E1
>         Channel ID i = 0xA98397
>                 Exclusive, Channel 23
> *Jan 12 10:08:56.255: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x807
> D calltype 2 CALL_SETUP_ACK
> *Jan 12 10:09:05.387: ISDN Se0/3/0:23 Q931: RX <- DISCONNECT pd = 8   
> callref = 0
> x002A
>         Cause i = 0x8A90 - Normal call clearing
>         Progress Ind i = 0x8288 - In-band info or appropriate now  
> available
> *Jan 12 10:09:05.391: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x37
> calltype 2 CALL_DISC
> *Jan 12 10:09:05.391: ISDN Se0/3/0:23 Q931: TX -> RELEASE pd = 8   
> callref = 0x80
> 2A
> *Jan 12 10:09:05.399: ISDN Se0/3/0:23 Q931: TX -> DISCONNECT pd = 8   
> callref = 0
> x00E1
>         Cause i = 0x8090 - Normal call clearing
> *Jan 12 10:09:05.431: ISDN Se0/3/0:23 Q931: RX <- RELEASE pd = 8   
> callref = 0x80
> E1
> *Jan 12 10:09:05.431: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x807
> D calltype 2 CALL_CLEARED
> *Jan 12 10:09:05.435: ISDN Se0/3/0:23 Q931: TX -> RELEASE_COMP pd =  
> 8  callref =
>  0x00E1
> *Jan 12 10:09:05.515: ISDN Se0/3/0:23 Q931: RX <- RELEASE_COMP pd =  
> 8  callref =
>  0x002A
> *Jan 12 10:09:05.519: ISDN Se0/3/0:23 EVENT: process_rxstate: ces/ 
> callid 1/0x37
> calltype 2 CALL_CLEARED
> HKVGW#
> HKVGW#
>
> Here's the gateway configuration
>
> HKVGW#sh run
> Building configuration...
>
> Current configuration : 3591 bytes
> !
> version 12.4
> service timestamps debug datetime msec
> service timestamps log datetime msec
> no service password-encryption
> !
> hostname HKVGW
> !
> boot-start-marker
> boot system flash:c2801-advipservicesk9-mz.124-15.T9.bin
> boot system flash:
> boot system flash bootflash:
> boot-end-marker
> !
> card type t1 0 3
> !
> aaa new-model
> !
> !
> aaa authentication login default local
> !
> !
> aaa session-id common
> network-clock-participate wic 3
> network-clock-select 1 T1 0/3/0
> dot11 syslog
> ip cef
> !
> !
> multilink bundle-name authenticated
> !
> isdn switch-type primary-ntt
> !
> voice-card 0
>  no local-bypass
> !
> !
> voice class codec 1
>  codec preference 1 g711ulaw
>  codec preference 2 g711alaw
>  codec preference 3 g729r8
> !
> voice class codec 2
>  codec preference 1 g729r8
>  codec preference 2 g711ulaw
>  codec preference 3 g711alaw
> !
> !
> voice class h323 1
>  h225 timeout tcp establish 3
> !
> !
> voice translation-rule 1
>  rule 1 /908/ /908/
>  rule 2 /^9\(..$\)/ /809\1/
> !
> !
> voice translation-profile EtoP
>  translate called 1
> !
> !
> !controller T1 0/3/0
>  framing esf
>  linecode b8zs
>  cablelength long 0db
>  pri-group timeslots 1-24
> !
> !
> translation-rule 19
>  Rule 1 ^0.% 90
>  Rule 2 ^1% 901
>  Rule 3 ^2% 902
>  Rule 4 ^3% 903
>  Rule 5 ^4% 904
>  Rule 6 ^5% 905
>  Rule 7 ^6% 906
>  Rule 8 ^7% 907
>  Rule 9 ^8% 908
>  Rule 10 ^9% 909
> !
> !
> translation-rule 9
>  Rule 1 ^0.% 90
>  Rule 2 ^1% 901
>  Rule 3 ^2% 902
>  Rule 4 ^3% 903
>  Rule 5 ^4% 904
>  Rule 6 ^5% 905
>  Rule 7 ^6% 906
>  Rule 8 ^7% 907
>  Rule 9 ^8% 908
>  Rule 10 ^9% 909
> !
> !
> interface FastEthernet0/0
>  ip address 192.168.132.2 255.255.255.0
>  duplex auto
>  speed auto
>  h323-gateway voip bind srcaddr 192.168.132.2
> !
> interface FastEthernet0/1
>  no ip address
>  shutdown
>  duplex auto
>  speed auto
> !
> interface Serial0/3/0:23
>  no ip address
>  encapsulation hdlc
>  isdn switch-type primary-ntt
>  isdn incoming-voice voice
>  no cdp enable
> !
> ip forward-protocol nd
> ip route 0.0.0.0 0.0.0.0 192.168.132.3
> !
> !
> ip http server
> no ip http secure-server
> !
> !
> !
> control-plane
> !
> disable-eadi
> !
> !
> voice-port 0/0/0
> !
> voice-port 0/0/1
> !
> voice-port 0/3/0:23
>  translate calling 9
>  cptone HK
> !
> !
> !
> dial-peer voice 900 pots
>  preference 1
>  destination-pattern 9T
>  progress_ind setup enable 3
>  progress_ind alert enable 8
>  progress_ind progress enable 8
>  progress_ind connect enable 8
>  direct-inward-dial
>  port 0/3/0:23
> !
> dial-peer voice 1 voip
>  preference 1
>  destination-pattern 809..
>  voice-class codec 1
>  voice-class h323 1
>  session target ipv4:172.22.0.22
>  no vad
> !
> dial-peer voice 2 voip
>  destination-pattern 809..
>  voice-class codec 1
>  voice-class h323 1
>  session target ipv4:172.22.0.21
>  no vad
> !
> !
> !
> call-manager-fallback
>  secondary-dialtone 9
>  max-conferences 4 gain -6
>  transfer-system full-consult
>  timeouts interdigit 6
>  ip source-address 192.168.132.2 port 2000
>  max-ephones 30
>  max-dn 150
>  dialplan-pattern 1 'Removed config'... extension-length 5 extension- 
> pattern 80...
>  date-format dd-mm-yy
> !
> !
> !
> scheduler allocate 20000 1000
> end
>
>
>
>
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100119/b51083af/attachment.html>


More information about the cisco-voip mailing list