projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37ae90c
)
Fixed minor release BUG in SS5. Added comfort noise.
author
Andreas Eversberg
<jolly@eversberg.eu>
Wed, 30 Sep 2009 17:02:45 +0000
(19:02 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Wed, 30 Sep 2009 17:02:45 +0000
(19:02 +0200)
modified: ss5.cpp
ss5.cpp
patch
|
blob
|
history
diff --git
a/ss5.cpp
b/ss5.cpp
index
c130402
..
40eb540
100644
(file)
--- a/
ss5.cpp
+++ b/
ss5.cpp
@@
-506,7
+506,6
@@
void Pss5::inband_receive(unsigned char *buffer, int len)
PDEBUG(DEBUG_SS5, "%s: received clear-forward in idle state, waiting for recognition\n", p_name);
break;
}
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;
new_ss5_state(SS5_STATE_RELEASE_GUARD);
new_ss5_signal(SS5_SIGNAL_RECEIVE_RECOG);
p_m_s_recog = 0;
@@
-797,6
+796,7
@@
void Pss5::inband_receive(unsigned char *buffer, int len)
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);
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();
new_ss5_signal(SS5_SIGNAL_RECEIVE);
p_m_s_sample_nr = 0;
inband_send_on();
@@
-1266,6
+1266,7
@@
void Pss5::seizing_ind(void)
end_trace();
new_state(PORT_STATE_IN_SETUP);
end_trace();
new_state(PORT_STATE_IN_SETUP);
+ set_tone("", "noise");
}
void Pss5::digit_ind(char digit)
}
void Pss5::digit_ind(char digit)