- really signal hangup when DISCONNECT IE came after successful call.

This commit is contained in:
MelwareDE 2006-06-18 13:04:30 +00:00
parent c861a2676b
commit 091f8c63df
1 changed files with 4 additions and 1 deletions

View File

@ -2652,7 +2652,10 @@ static void capidev_handle_info_disconnect(_cmsg *CMSG, unsigned int PLCI, unsig
if ((i->doB3 != CAPI_B3_ALWAYS) && (i->outgoing == 1)) {
cc_verbose(4, 1, VERBOSE_PREFIX_3 "%s: Disconnect case 1\n",
i->name);
queue_cause_control(i, 1);
if (i->state == CAPI_STATE_CONNECTED)
queue_cause_control(i, 0);
else
queue_cause_control(i, 1);
return;
}