I have an MGCP gateway. Recently we got new DDI lines. 02075491950-2150.
We use a 4 digit extension. so extension 1950 was created for a user.
When the number 02075491950 is dialed, the debug on the gateway shows its delivering 491950 instead of 1950 to callmanager, hence the call does not go through.
How can I strip this 49 number off. Or do I have to tell the carrier company to deliver only 4 digits?
Secondly, I observed that when I created the extension 491950 it stii dint work until i created an inbound dial-peer for it. Since I am running MGCP, I am thinking this is not right.
Normally when using MGCP you dont need to configure destination-pattern on the voice Gateway, as the Callmanager is controlling the Gateway. Configuring a Translation pattern as i described earlier will work fine and you dont need any otherconfig on your Gateways.
See this note:
All dial plan configuration elements are controlled by Cisco CallManager and should not be configured on the MGCP voice gateway for MGCP-managed endpoints (that is, any endpoint with an application mgcpapp command in its associated dial-peer statement). Also, you should not use the destination-pattern and session target dial-peer configuration commands or use the connection voice-port configuration command on the MGCP voice gateway, unless you are configuring MGCP gateway fallback. To configure MGCP gateway fallback, the H.323 dial peers must be configured with the destination-pattern and session target dial-peer configuration commands.