/*
- * changes release tone int busy signal
- * this makes the line more authentic
+ * changes release tone into silence
+ * this makes the line sound more authentic
*/
void Pss5::set_tone(const char *dir, const char *name)
{
if (name && !strcmp(name, "cause_10"))
- name = "busy";
+ name = NULL;
PmISDN::set_tone(dir, name);
}
PDEBUG(DEBUG_SS5, "%s: received clear-forward in idle state, waiting for recognition\n", p_name);
break;
}
- new_state(PORT_STATE_RELEASE);
new_ss5_state(SS5_STATE_RELEASE_GUARD);
new_ss5_signal(SS5_SIGNAL_RECEIVE_RECOG);
p_m_s_recog = 0;
PDEBUG(DEBUG_SS5, "%s: incomming release-guard is recognized, responding...\n", p_name);
else
PDEBUG(DEBUG_SS5, "%s: incomming clear-forward is recognized, responding...\n", p_name);
+ new_state(PORT_STATE_RELEASE);
new_ss5_signal(SS5_SIGNAL_RECEIVE);
p_m_s_sample_nr = 0;
inband_send_on();
end_trace();
new_state(PORT_STATE_IN_SETUP);
+ set_tone("", "noise");
}
void Pss5::digit_ind(char digit)