dect
/
asterisk
Archived
13
0
Fork 0

Make sure we get the cause code in the REL

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65640 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mattf 2007-05-23 15:37:51 +00:00
parent 4c12a4bc0e
commit 40ad91e9f2
1 changed files with 3 additions and 2 deletions

View File

@ -8782,9 +8782,10 @@ static void *ss7_linkset(void *data)
}
p = linkset->pvts[chanpos];
ast_mutex_lock(&p->lock);
if (p->owner)
if (p->owner) {
p->owner->hangupcause = e->rel.cause;
ast_queue_hangup(p->owner);
else
} else
ast_log(LOG_WARNING, "REL on channel (CIC %d) without owner!\n", p->cic);
isup_rlc(ss7, e->rel.call);