It’s something I didn’t do in many many years, that’s why I create this post. Just for me to find all the information for the next time when I will have to configure MGCP.
MGCP Verbs :
Command Message Name Sent By Description AUEP AuditEndpoint CallManager Get the status of a given endpoint. AUCX AuditConnection CallManager Retrieves all the parameters associated with a connection. CRCX CreateConnection CallManager Creates a connection between two endpoints. DLCX DeleteConnection Both From CallManager:Terminates a current connection. From Gateway:Indicates that a connection can no longer be sustained. MDCX ModifyConnection CallManager Changes the parameters (Update info) associated with an established connection. RQNT NotificationRequest CallManager Instructs the gateway to watch for special events such as hooks or DTMF tones. It is also used to instruct the gateway to provide a signal to the endpoint (for example, dial tone and busy tone). NTFY Notify Gateway Informs the Cisco CallManager when requested events occur. RSIP RestartInProgress Gateway Informs the Cisco CallManager that an endpoint or group of endpoints are taken out or placed back into service. EPCF Endpoint configuration Callmanager Alert configuration of the endpoint(things like gain level, codec, etc
Key Parameters :
X: Request id, RQNT/NTFY correlator
C: Callid, String
N: Notified entity (addr of call agent to be notified)
I: Connection id
S: Signal request(dialtone, ringback etc)
M : Connection mode (sendonly, recvonly, sendrecv)
T: Events to be detected (on/off hook, DTMF)
O: Events detected
R: Events requested
D: Digit map
B: Bearer Information (A-law, mu-law)
Here is a call between a SIP device and the FXS phone. The picture above is pretty correct. 😉
More information : http://www.cisco.com/c/en/us/support/docs/voice/media-gateway-control-protocol-mgcp/44130-understanding-mgcp.html
For debugging and decoding the messages : http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-callmanager/42104-debug-mgcp.html