diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-29 04:26:42 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-29 04:26:42 +0000 |
commit | d2d9033664a350b4125db5108e22de0063a8e3f9 (patch) | |
tree | 693451848f44dba7a0383bf29dd6f870b881acb0 /channels | |
parent | a75a5e9729544a26b3ff6cb3d6dc9ba36fc55e23 (diff) |
Clear things out for the bearer too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3533 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index e8442b621..726a2905a 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -2187,6 +2187,7 @@ static int zt_hangup(struct ast_channel *ast) ast_log(LOG_DEBUG, "Freeing up bearer channel %d\n", p->bearer->channel); /* Free up the bearer channel as well, and don't use its file descriptor anymore */ + update_conf(p->bearer); p->bearer->owner = NULL; p->bearer = NULL; p->subs[SUB_REAL].zfd = -1; |