summaryrefslogtreecommitdiffstats
path: root/joinpbx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'joinpbx.cpp')
-rw-r--r--joinpbx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/joinpbx.cpp b/joinpbx.cpp
index d0c8b1d..1fc7c99 100644
--- a/joinpbx.cpp
+++ b/joinpbx.cpp
@@ -1021,7 +1021,7 @@ int JoinPBX::out_setup(unsigned long epoint_id, int message_type, union paramete
epoint = new Endpoint(0, j_serial);
if (!epoint)
FATAL("No memory for Endpoint instance\n");
- if (!(epoint->ep_app = new DEFAULT_ENDPOINT_APP(epoint)))
+ if (!(epoint->ep_app = new DEFAULT_ENDPOINT_APP(epoint, 1))) // outgoing
FATAL("No memory for Endpoint Application instance\n");
relation->epoint_id = epoint->ep_serial;
/* send setup message to new endpoint */