Could anybody tell me how to configure incoming call via E1 interface to MGCP Gateway. If i'm using H323 Gateway, i just need to add command direct-inward-dial in the outbound dial peer to make it inbound dial peer.
I'm also facing a situation, i've already configure E1 interface in CUCM but the status of E1 endpoint in CUCM is unregister. I wonder why this is happening.
For the calls to be accepted, just make sure the CSS and Signficant digits are correct on the "Inbound Calls" settings on the E1 port config page. Also make sure the Device Pool & Location have the right settings.
If the E1 is unregistered, no calls will get through anyway. So you either have something incorrect in the config or the E1 has a problem (physical or Telco). A quick way of checking the E1 is just briefly temporarily set the gateway up as H323 which is independant of CUCM. If the line comes up and is functional, then you have something wrong in the MGCP config on CUCM. Some possible things to check:
IP Connectivity - Router<>CUCM should be able to communicate.
Gateway & Domain Name - Must match router exactly (very common mistake).
Module and Subunits - Make sure they match the hardware installed.
PRI Protocol Type/Protocol Side - Make sure they match the Telco specification.
Enable Status Poll - If ticked, make sure you have the channels set in Service Params Advanced.
Obviously there are many other settings, but those are often the ones that might prevent an E1 registering properly.