Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Calls from PSTN fails using MGCP gateway

Hello,

I have configured my MGCP gateway to register with my CUCM. However, only calls from CUCM is successful whereas calls from simulated PSTN fails.

Please find attached debugs and gateway configs.

Appreciate your comments. Thanks.

26 REPLIES

Just want to know have you

Just want to know have you configured in CUCM for the 4 digit number (internal extension).

since from the below it's giving the entire called number 5553003, if its 4 digit then it should had only 3003.

 

Calling Party Number i = 0x4180, '5554444' 
                Plan:ISDN, Type:Subscriber(local) 
        Called Party Number i = 0xC1, '5553003' 
                Plan:ISDN, Type:Subscriber(local)

 

 

For the working please see below output.

 

 Channel ID i = 0xA98382
                Exclusive, Channel 2
        Calling Party Number i = 0x2181, '9920713535'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '3656'
                Plan:ISDN, Type:Subscriber(local)
        High Layer Compat i = 0x9181

 

where the called number is reduced to 4 digit number to accept the call / to reach particular destination.

 

 

 

New Member

Yeah, I had configured

Yeah, I had configured significant digits 4. I have another site configured using H323 gateway and its working.

 Calling Party Number i = 0x4180, '5554444' 
                Plan:ISDN, Type:Subscriber(local) 
        Called Party Number i = 0xC1, '5552001' 
                Plan:ISDN, Type:Subscriber(local)

also put the highest CSS to

also put the highest CSS to the call routing information - inbound call.

if all done good then try to do no mgcp and mgcp may be it should help.

 

 

New Member

I tried assigning a CSS which

I tried assigning a CSS which includes all the partitions but still not working. 

Please reset the gateway and

Please reset the gateway and do no mgcp and mgcp if possible.

New Member

I've tried that previously.

I've tried that previously. And the PSTN phone behaviour is weird, I can see the ring out message for about 5 seconds, and then unknown number will be shown. However, the phone never rings.

can you collect "debug isdn

can you collect "debug isdn q931" from the MGCP GW only? and provide the calling/called numbers.

in the MGCP endpoint configuration of CUCM, how are the significant digits & CSS configured under "Call Routing Information - Inbound Calls"? and how many digits are your internal extension?

//Suresh Please rate all the useful posts.
New Member

Hello, please find the debug

Hello, please find the debug .

The calling number is 5554444, called number is 5553003

*Apr  8 17:30:58.131: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0095 
        Bearer Capability i = 0x8090A2 
                Standard = CCITT 
                Transfer Capability = Speech  
                Transfer Mode = Circuit 
                Transfer Rate = 64 kbit/s 
        Channel ID i = 0xA98381 
                Exclusive, Channel 1 
        Progress Ind i = 0x8583 - Origination address is non-ISDN  
        Calling Party Number i = 0x4180, '5554444' 
                Plan:ISDN, Type:Subscriber(local) 
        Called Party Number i = 0xC1, '5553003' 
                Plan:ISDN, Type:Subscriber(local)
*Apr  8 17:30:58.143: ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8095 
        Cause i = 0x8081 - Unallocated/unassigned number

I configured significant digits of 4. My internal extension are 4 digits. As for the CSS im not so sure, its associated to trunk_css, which includes internal phone and system partitions.

Cause i = 0x8081 -

Cause i = 0x8081 - Unallocated/unassigned number indicates that the call is unable to reach the destination number.

As you mentioned the trunk_css should have the partition assigned to extn 3003.

 

could you search the route plan report for the extn 3003?

//Suresh Please rate all the useful posts.
New Member

Yeah, trunk_css contains

Yeah, trunk_css contains internal and system partition, the phone is in internal partition,

My internal DN is 2003,this is my external phone mask +665215553XXX

And yeah, I can see the route plan report

Silver

And how did you configure

And how did you configure significant digits for inbound calls? On CM?

BR,

Dragan

HTH, Dragan
New Member

Hi Dragan,I configured 4 for

Hi Dragan,

I configured 4 for significant digits for inbound calls, as for the CSS, I've included the partition for the phone.

Silver

You can't take 4 - you have

You can't take 4 - you have 2003 internal not 3003!

Change that - or do what Suresh suggest and give phone 3003 extension...

BR,

Dragan

HTH, Dragan
New Member

I tried, its not working.

I tried, its not working.

Hi, the called number

Hi, the called number received from simulated PSTN is "Called Party Number i = 0xC1, '5553003' " but your extension is 2003 not 3003. that is causing the issue.

 

If you configure 3003 instead of 2003, it would ring the phone. Please check.

//Suresh Please rate all the useful posts.
New Member

I've tried, its not ringing.

I've tried, its not ringing.

New Member

I only got it working if I

I only got it working if I change the external phone mask to 2XXX and the DN to 2XXX, but I wanted to use DN 3XXX as it will differentiate my HQ phone from my BR phone

It is confusing. can you

It is confusing. can you brief more on this please?

//Suresh Please rate all the useful posts.
New Member

Basically my HQ uses DN 2XXX,

Basically my HQ uses DN 2XXX, with external mask +555115552XXX, BR uses DN 3XXX with external mask +665215553XXX, if I call 5553XXX, it will fail, however, if I change it to 2XXX for both DN and external mask it works. I am also getting confused.

External mask is nothing to

External mask is nothing to do with inbound calls.

can you check if there is any translation pattern (beginning with 555) to convert the number from 5552XXX to 2XXX?

 

What I guess is, instead of passing only 4 significant digits, all digits are received & processed in CUCM.

//Suresh Please rate all the useful posts.
New Member

I thought translation pattern

I thought translation pattern is call from CUCM phones to PSTN. Correct me if I am wrong, my knowledge in voice not that good, I could not see any translation pattern beginning with 555. As for Called party transformation pattern, I could see some pattern,

\+55511.XXXXXXX with predot discard digits.

and calling party transformation pattern with

\+55511.5552XXX

\+55511.XXXXXXX

also with predot discard digits

it is now better to collect

it is now better to collect CCM traces for a test call for BR site. also collect the debug isdn q931 log from the MGCP gateway at the same time.Please include the calling & called number.

//Suresh Please rate all the useful posts.
Silver

Without going deeper in

Without going deeper in problem (we already have so much confusing info smiley) - why don't you just replicate HQ translations which you mentioned for your BR location with appropriate modifications?

BR,

Dragan

HTH, Dragan
New Member

Hey guys, issues solved. Just

Hey guys, issues solved. Just a silly cable issue, I changed the cable and everything works miraculously.

Silver

This isdn debug - it it for

This isdn debug - it it for outgoing call?

And ccapi - for incoming?

Can you give a little bit more details...

BR,

Dragan

HTH, Dragan
New Member

Both the ISDN and ccapi is

Both the ISDN and ccapi is for outgoing. 

Please find ISDN debug for MGCP GW

*Apr  8 17:30:58.131: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0095 
        Bearer Capability i = 0x8090A2 
                Standard = CCITT 
                Transfer Capability = Speech  
                Transfer Mode = Circuit 
                Transfer Rate = 64 kbit/s 
        Channel ID i = 0xA98381 
                Exclusive, Channel 1 
        Progress Ind i = 0x8583 - Origination address is non-ISDN  
        Calling Party Number i = 0x4180, '5554444' 
                Plan:ISDN, Type:Subscriber(local) 
        Called Party Number i = 0xC1, '5553003' 
                Plan:ISDN, Type:Subscriber(local)
*Apr  8 17:30:58.143: ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8095 
        Cause i = 0x8081 - Unallocated/unassigned number

 

215
Views
0
Helpful
26
Replies
CreatePlease login to create content