From: Mark Spencer Date: Mon, 4 Apr 2005 14:14:19 +0000 (+0000) Subject: Fix MGCP *67 to automatically reset callerid (bug #3940) X-Git-Tag: 1.2.0-beta1~904 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e06257cf2e95e92a87e2e275508293fe1adaa247;p=thirdparty%2Fasterisk.git Fix MGCP *67 to automatically reset callerid (bug #3940) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5382 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index cd20eafd33..81f5b71b99 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1047,6 +1047,7 @@ static int mgcp_hangup(struct ast_channel *ast) /* SC: Decrement use count */ if ((p->hookstate == MGCP_ONHOOK) && (!sub->next->rtp)) { + p->hidecallerid = 0; if (has_voicemail(p)) { if (mgcpdebug) { ast_verbose(VERBOSE_PREFIX_3 "MGCP mgcp_hangup(%s) on %s@%s set vmwi(+)\n",