Fixed capi_sendf() capi command setting.

This commit is contained in:
MelwareDE 2007-04-24 13:03:56 +00:00
parent 892b24eb2a
commit 1756447915
2 changed files with 2 additions and 3 deletions

View File

@ -454,7 +454,6 @@ int handle_facility_indication_supplementary(
if (get_ccbsnr_link(CCBSNR_TYPE_CCBS, PLCI, 0, rbref, NULL, &partybusy) == NULL) {
cc_log(LOG_WARNING, "capi CCBS status reference not found!\n");
}
#if 0
capi_sendf(NULL, 0, CAPI_FACILITY_RESP, PLCI, HEADER_MSGNUM(CMSG),
"w(w(w))",
FACILITYSELECTOR_SUPPLEMENTARY,
@ -462,7 +461,6 @@ int handle_facility_indication_supplementary(
(partybusy) ? 0x0000 : 0x0001
);
ret = 1;
#endif
break;
case 0x800f: /* CCBS remote user free */
rbref = read_capi_word(&FACILITY_IND_FACILITYINDICATIONPARAMETER(CMSG)[6]);

View File

@ -289,7 +289,8 @@ MESSAGE_EXCHANGE_ERROR capi_sendf(
unsigned char msg[2048];
write_capi_word(&msg[2], capi_ApplID);
write_capi_word(&msg[4], command);
write_capi_word(&msg[4], ((command >> 8) & 0xff));
write_capi_word(&msg[5], (command & 0xff));
write_capi_word(&msg[6], Number);
write_capi_dword(&msg[8], Id);