X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=socket_server.c;h=47626c488b867ff78d768829718c3a80e036db85;hp=70895b0a531df149c2483dc2910a8fb8f5274e2b;hb=7aba91e71414fc06e21293b04ac71be739c9815e;hpb=be404a4926ba076c5e2019b88e790e3f14ff11ff diff --git a/socket_server.c b/socket_server.c index 70895b0..47626c4 100644 --- a/socket_server.c +++ b/socket_server.c @@ -13,6 +13,7 @@ #include #include #include +#include "config.h" char socket_name[128]; @@ -530,7 +531,7 @@ int admin_call(struct admin_list *admin, struct admin_message *msg) apppbx->e_dialinginfo.sending_complete = 1; apppbx->new_state(PORT_STATE_OUT_SETUP); - apppbx->out_setup(); + apppbx->out_setup(0); return(0); } @@ -1049,7 +1050,7 @@ int admin_state(struct admin_queue **responsep) response->am[num].u.p.state = ADMIN_STATE_IDLE; } /* isdn */ - if ((port->p_type&PORT_CLASS_mISDN_MASK) == PORT_CLASS_mISDN_DSS1) { + if ((port->p_type & PORT_CLASS_mISDN_MASK) == PORT_CLASS_DSS1) { response->am[num].u.p.isdn = 1; pdss1 = (class Pdss1 *)port; response->am[num].u.p.isdn_chan = pdss1->p_m_b_channel;