diff --git a/CHANGES b/CHANGES index 54a5a2e901..9eb6965734 100755 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ -- We now respond correctly to an invite for T.38 with a "488 Not acceptable here" -- chan_mgcp -- Fixed setting of accountcode + -- Fixed where *67 to block callerid only worked for first call -- res_agi -- A fix has been added to prevent calls from being hung up when more than one call is executing an AGI script calling the GET DATA command. @@ -26,6 +27,7 @@ a new line, it would not be processed -- Fixed the logger so that color escape sequences wouldn't be sent to the logs -- Fixed a logic error when setting the "rtpchecksums" option + Asterisk 1.0.7 -- chan_sip diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 18aef12627..9aa5b5b9b3 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -936,7 +936,8 @@ static int mgcp_hangup(struct ast_channel *ast) /* SC: Decrement use count */ if ((p->hookstate == MGCP_ONHOOK) && (!sub->next->rtp)) { - if (has_voicemail(p)) { + p->hidecallerid = 0; + if (has_voicemail(p)) { if (mgcpdebug) { ast_verbose(VERBOSE_PREFIX_3 "MGCP mgcp_hangup(%s) on %s@%s set vmwi(+)\n", ast->name, p->name, p->parent->name); }