MGCP Fails to set ISDN Type and Plan National

I have the following issue with a MGCP Gateway running 12.4.15T7 and CM 4.1.3sr4b

Caller ID Outbound for Local calls does not work and displays on remote phone as unknown.

However, Outbound callerID is working for Long Distance calls

Contacted Provider and are forcing local calls to Plan ISND, Type National. I configured my MGCP gateway PRI settings as Calling Type National, Calling Plan ISDN and I could see this update on my debug isdq q931 when executing the outbound call. However, provider continue to see the call as unknown. I change the gateway to H323 and caller ID started working for local, LD, Intl.

For some reason the CM sends the correct calling information to the gateway but it was somehow malformed as provider continue to see the calls as unknown.

The gateway is configured as H323 but will have to be reverted to MGCP at some point.

Placed outbound call 7 Digit to Local Number. Debug ISDN q931 shows the number being sent to gateway with correct dial-plan and type, call completes, however remote user sees no callerid information on cell phone or home phone and displays as Unknown.

Provider looks at their trace and comes back telling I'm sending the calling information to them as Unknown, Unknown for local 7 digid calls.

But wait I just updated MGCP gateway, in CallManager, restart gateway after update and did no mgcp, mgcp at the gateway.

2. Same settings in MGCP gateway and I want it to keep as simple as possible. So I removed the specific route pattern for local calls configured as 9.@ and set with route filters and replaced with 9.[2-9]XXXXXX same RL poiting to same port on gateway. Check used External Phonber Mask and set Calling Line ID Presentation: Allowed

and Calling Line Name Presentation: Allowed

Placed call to same local 7 Digit Numbers, same results Callmanager sends the information to gateway, but provider sees it as Unknown, Unknown.

At this point I was like (F^*&k) it I going to switch to H323 and see if the provider is really set for National/ISDN

I Changed the gateway from MGCP to H323 updated my patterns and dial-peers. First local 7 digit call out works, of course as I have configured Plan and type at the gateway. Provider was telling the true and call routes properly with Caller ID information

I was like (damm!) works under H323, but not under MGCP. This was supposed to be simple, probably something simple i'm missing but cant come up with anything bug related under the IOS of the version of CM.

SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
view more

Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
view more

CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...
view more