X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=ss5.cpp;h=164ef0c61f443e19ca761290a887dc98a090119c;hp=0d453e48786c9fea32a8e27af03e36e46cd8ca51;hb=3ac6881c22bce18091f19b06958ac66016bf9a32;hpb=aa00648e234eb96ebb92047717695cc4a14e36da diff --git a/ss5.cpp b/ss5.cpp index 0d453e4..164ef0c 100644 --- a/ss5.cpp +++ b/ss5.cpp @@ -1347,7 +1347,7 @@ void Pss5::digit_ind(char digit) end_trace(); new_ss5_state(SS5_STATE_IDLE); - do_setup(dial); + do_setup(dial, 1); new_state(PORT_STATE_IN_PROCEEDING); } @@ -1392,7 +1392,7 @@ void Pss5::pulse_ind(int on) } if (p_state == PORT_STATE_IN_SETUP) { /* sending digit as setup */ - do_setup(dial); /* include 'a' == KP1 */ + do_setup(dial, 0); /* include 'a' == KP1 */ new_state(PORT_STATE_IN_OVERLAP); } else { /* sending digit as information */ @@ -1618,13 +1618,13 @@ void Pss5::do_release(int cause, int location) /* * create endpoint and send setup */ -void Pss5::do_setup(char *dial) +void Pss5::do_setup(char *dial, int complete) { class Endpoint *epoint; struct lcr_msg *message; SCPY(p_dialinginfo.id, dial); - p_dialinginfo.sending_complete = 1; + p_dialinginfo.sending_complete = complete; p_callerinfo.present = INFO_PRESENT_NOTAVAIL; p_callerinfo.screen = INFO_SCREEN_NETWORK; p_callerinfo.ntype = INFO_NTYPE_NOTPRESENT;