X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=joinremote.cpp;h=c828400fcbbc4856ea75da442db4b8be3726c2e7;hp=dbeb0f97699f0ce9581b78e5499eac075e815073;hb=f851ca0d9e22673b7cc0a7c2f539c9d51b9b77f8;hpb=57defecea870c265179b69f811416c7a4659b0ee 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);