[mgcp] Print a Deleted endpoint message again.

This commit is contained in:
Holger Hans Peter Freyther 2010-04-22 00:17:37 +08:00
parent b844b876ad
commit 74076934fb
1 changed files with 2 additions and 0 deletions

View File

@ -647,6 +647,8 @@ static struct msgb *handle_delete_con(struct mgcp_config *cfg, struct msgb *msg)
}
/* free the connection */
LOGP(DMGCP, LOGL_NOTICE, "Deleted endpoint on: 0x%x Server: %s:%u\n",
ENDPOINT_NUMBER(endp), inet_ntoa(endp->remote), ntohs(endp->net_rtp));
mgcp_free_endp(endp);
if (cfg->change_cb)
cfg->change_cb(cfg, ENDPOINT_NUMBER(endp), MGCP_ENDP_DLCX, endp->rtp_port);