cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1197
Views
0
Helpful
5
Replies

Inbound Calls From PSTN to CUCM Fails On H.323 Gateway. (Works fine if i replace with MGCP Gateway)

HemanthKannan
Level 1
Level 1

Can somebody Please help

*Jan 30 06:22:15.782: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x0 0x0, Calling num 49450801
*Jan 30 06:22:15.782: ISDN Se0/0/0:15 Q931: Sending SETUP  callref = 0x0095 callID = 0x8016 switch = primary-net5 interface = User
*Jan 30 06:22:15.782: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8  callref = 0x0095
        Bearer Capability i = 0x8890
                Standard = CCITT
                Transfer Capability = Unrestricted Digital
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Calling Party Number i = 0x0081, '49450801'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80
                Plan:Unknown, Type:Unknown
*Jan 30 06:22:15.862: ISDN Se0/0/0:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0x8095
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
*Jan 30 06:22:25.854: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x8095
        Cause i = 0x829C00000000 - Invalid number format (incomplete number)
*Jan 30 06:22:25.854: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8  callref = 0x0095
*Jan 30 06:22:25.934: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8095


dial-peer voice 8100 voip
 description ******CUCM Pub****
 destination-pattern 494508..
 session target ipv4:10.221.65.101
 incoming called-number .
!
dial-peer voice 9916 pots
 description *** 10 digit outgoing call*****
 destination-pattern 9916233421
 port 0/0/0:15

 

Attached debug voip ccapi inout

 

2 Accepted Solutions

Accepted Solutions

Terry Cheema
VIP Alumni
VIP Alumni

Not in front of my PC with a proper text editor but had a quick look and found out:

You are calling from 49450801 which is coming into your dial-peer 8100.

You are trying to call 9916233421 which is hitting the pots dial-peer 9916. But since its a pots dial-peer its stripping all the matched digits by default, hence your call is failing.

Try adding below command and test again:

dial-peer voice 9916 pots
 description *** 10 digit outgoing call*****
 destination-pattern 9916233421
 port 0/0/0:15

forward-digits  X                                 << Change it to number of digits you need to forward, for example if you need to strip leading digit (9) then set this to 9 as you have 9 digits remaining or set it all  if you need to fwd all digits.

 

This is default behavior on POTS dial-peer to strip any exclusively matching digits.

http://www.cisco.com/c/en/us/td/docs/ios/12_2/voice/configuration/guide/fvvfax_c/vvfpeers.html#wp1280021

-Terry

 

View solution in original post

Rajan
VIP Alumni
VIP Alumni

Yes. As Terry confirmed, the numbers dialed were stripped and we do not see a valid called number in the setup sent to provider.

  Called Party Number i = 0x80
                Plan:Unknown, Type:Unknown

The call fails with cause code 28 which is invalid number on the ccapi logs.

Depending on the called number which needs to be sent to the provider, you could use

forward-digits X

with the corresponding digits that needs to be sent or if you have to sent all the numbers as such, then use no digit-strip on that dial-peer.

dial-peer voice 9916 pots

no digit-strip

 

Thanks,

Shenbagarajan

 

View solution in original post

5 Replies 5

Terry Cheema
VIP Alumni
VIP Alumni

Not in front of my PC with a proper text editor but had a quick look and found out:

You are calling from 49450801 which is coming into your dial-peer 8100.

You are trying to call 9916233421 which is hitting the pots dial-peer 9916. But since its a pots dial-peer its stripping all the matched digits by default, hence your call is failing.

Try adding below command and test again:

dial-peer voice 9916 pots
 description *** 10 digit outgoing call*****
 destination-pattern 9916233421
 port 0/0/0:15

forward-digits  X                                 << Change it to number of digits you need to forward, for example if you need to strip leading digit (9) then set this to 9 as you have 9 digits remaining or set it all  if you need to fwd all digits.

 

This is default behavior on POTS dial-peer to strip any exclusively matching digits.

http://www.cisco.com/c/en/us/td/docs/ios/12_2/voice/configuration/guide/fvvfax_c/vvfpeers.html#wp1280021

-Terry

 

Thank you Terry for your Detailed explanation
After I have added no digit-strip am able to make calls 

No worries glad that helped.

-Terry

Rajan
VIP Alumni
VIP Alumni

Yes. As Terry confirmed, the numbers dialed were stripped and we do not see a valid called number in the setup sent to provider.

  Called Party Number i = 0x80
                Plan:Unknown, Type:Unknown

The call fails with cause code 28 which is invalid number on the ccapi logs.

Depending on the called number which needs to be sent to the provider, you could use

forward-digits X

with the corresponding digits that needs to be sent or if you have to sent all the numbers as such, then use no digit-strip on that dial-peer.

dial-peer voice 9916 pots

no digit-strip

 

Thanks,

Shenbagarajan

 

Thank you Shenbagarajan After I have added no digit-strip am able to make calls