summaryrefslogtreecommitdiff
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-04-04 14:14:19 +0000
committerMark Spencer <markster@digium.com>2005-04-04 14:14:19 +0000
commite06257cf2e95e92a87e2e275508293fe1adaa247 (patch)
tree1ccc247be692b3e2027c93eeeafde7382aaf4c7f /channels/chan_mgcp.c
parent0efb0da41fb137e629f01462066216953d0a9e89 (diff)
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
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-xchannels/chan_mgcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index cd20eafd3..81f5b71b9 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",