X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=joinremote.cpp;h=dbeb0f97699f0ce9581b78e5499eac075e815073;hp=7c03dcdddea758034bcaf53443f7f1e3263856df;hb=74a7fe54a81bb7e996ea45203bbc8cc0ff6b8dda;hpb=d928442c511fbe7a0d0d0f9e701412b9b494457c diff --git a/joinremote.cpp b/joinremote.cpp index 7c03dcd..dbeb0f9 100644 --- a/joinremote.cpp +++ b/joinremote.cpp @@ -85,8 +85,7 @@ void JoinRemote::message_remote(int message_type, union parameter *param) FATAL("No memory for Endpoint instance\n"); j_epoint_id = epoint->ep_serial; PDEBUG(DEBUG_JOIN, "Created endpoint %d\n", j_epoint_id); - if (!(epoint->ep_app = new DEFAULT_ENDPOINT_APP(epoint, 1))) // outgoing - FATAL("No memory for Endpoint Application instance\n"); + epoint->ep_app = new_endpointapp(epoint, 1, EAPP_TYPE_PBX); // outgoing } /* set serial on bchannel message