Reset state for HOLD if switch didn't allow HOLD.

This commit is contained in:
MelwareDE 2007-10-10 10:15:15 +00:00
parent 04528a3ea2
commit ab0108b92b
1 changed files with 1 additions and 0 deletions

View File

@ -571,6 +571,7 @@ int handle_facility_indication_supplementary(
if (infoword != 0) {
/* reason != 0x0000 == problem */
i->onholdPLCI = 0;
i->isdnstate &= ~CAPI_ISDN_STATE_HOLD;
cc_log(LOG_WARNING, "%s: unable to put PLCI=%#x onhold, REASON = 0x%04x, maybe you need to subscribe for this...\n",
i->vname, PLCI, infoword);
show_capi_info(i, infoword);