- NULL-PLCI needs base line-interconnect to have a virtual channel.

This commit is contained in:
MelwareDE 2007-05-05 11:33:41 +00:00
parent 4e4c406bb3
commit d87ba28a66
1 changed files with 9 additions and 0 deletions

View File

@ -3025,6 +3025,15 @@ static void capidev_handle_connect_active_indication(_cmsg *CMSG, unsigned int P
/* send a CONNECT_B3_REQ */
if (i->outgoing == 1) {
/* outgoing call */
if (i->channeltype == CAPI_CHANNELTYPE_NULL) {
/* NULL-PLCI needs a virtual connection */
capi_sendf(NULL, 0, CAPI_FACILITY_REQ, PLCI, get_capi_MessageNumber(),
"w(w(d()))",
FACILITYSELECTOR_LINE_INTERCONNECT,
0x0001, /* CONNECT */
0x0000000c /* mask */
);
}
cc_start_b3(i);
} else {
/* incoming call */