X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=joinremote.cpp;h=c828400fcbbc4856ea75da442db4b8be3726c2e7;hp=dbeb0f97699f0ce9581b78e5499eac075e815073;hb=30f74eec769032e8b96111f889e0f9fcf982c27f;hpb=74a7fe54a81bb7e996ea45203bbc8cc0ff6b8dda diff --git a/joinremote.cpp b/joinremote.cpp index dbeb0f9..c828400 100644 --- a/joinremote.cpp +++ b/joinremote.cpp @@ -88,12 +88,14 @@ void JoinRemote::message_remote(int message_type, union parameter *param) epoint->ep_app = new_endpointapp(epoint, 1, EAPP_TYPE_PBX); // outgoing } +#ifdef WITH_MISDN /* set serial on bchannel message * also ref is given, so we send message with ref */ if (message_type == MESSAGE_BCHANNEL) { message_bchannel_from_remote(this, param->bchannel.type, param->bchannel.handle); return; } +#endif /* cannot just forward, because param is not of container "struct lcr_msg" */ message = message_create(j_serial, j_epoint_id, JOIN_TO_EPOINT, message_type);