diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-31 20:22:25 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-31 20:22:25 +0000 |
commit | c050b2ae9905a427773c8634b908b4199a04dca7 (patch) | |
tree | 460d0c616392df260d436a640686453453c47f8b /channels | |
parent | 2a39386ffc1fb60f6c411e4ab808b9eae158c760 (diff) |
Fix add include (bug #966) and small update to bug 890
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2103 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 311441098..31a4113f2 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6472,6 +6472,7 @@ static void *pri_dchannel(void *vpri) if (!pri->pvt[chan]->alreadyhungup) { /* we're calling here zt_hangup so once we get there we need to clear p->call after calling pri_hangup */ pri->pvt[chan]->alreadyhungup = 1; + pri->pvt[chan]->owner->hangupcause = hangup_pri2cause(e->hangup.cause); /* Queue a BUSY instead of a hangup if our cause is appropriate */ if (pri->pvt[chan]->owner) { switch(e->hangup.cause) { |