Fixed ECT usage on bridge.

This commit is contained in:
MelwareDE 2007-10-01 15:36:04 +00:00
parent f9799f6eb6
commit 0708150113
2 changed files with 7 additions and 1 deletions

View File

@ -1677,7 +1677,7 @@ static int pbx_capi_bridge_transfer(
cc_mutex_lock(&i1->lock);
/* ECT */
capi_sendf(i1, 1, CAPI_FACILITY_REQ, i0->PLCI, get_capi_MessageNumber(),
capi_sendf(i0, 1, CAPI_FACILITY_REQ, i0->PLCI, get_capi_MessageNumber(),
"w(w(d))",
FACILITYSELECTOR_SUPPLEMENTARY,
0x0006, /* ECT */

View File

@ -669,6 +669,12 @@ void handle_facility_confirmation_supplementary(
name, PLCI);
}
break;
case 0x0006: /* ECT */
if (serviceinfo == 0) {
cc_verbose(2, 0, VERBOSE_PREFIX_3 "%s: ECT confirmed (PLCI=%#x)\n",
name, PLCI);
}
break;
case 0x000f: /* CCBS request */
cc_verbose(2, 1, VERBOSE_PREFIX_3 "%s: CCBS request confirmation (0x%04x) (PLCI=%#x)\n",
name, serviceinfo, PLCI);