X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=socket_server.c;h=f881b857c1f1303999d6c95072dad9c1b3582fa5;hp=70895b0a531df149c2483dc2910a8fb8f5274e2b;hb=46d07c5968b7de37943182f85499b30735145e03;hpb=be404a4926ba076c5e2019b88e790e3f14ff11ff diff --git a/socket_server.c b/socket_server.c index 70895b0..f881b85 100644 --- a/socket_server.c +++ b/socket_server.c @@ -530,7 +530,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 +1049,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;