summaryrefslogtreecommitdiffstats
path: root/port.cpp
diff options
context:
space:
mode:
authorSuper User2008-05-12 18:35:48 +0200
committerSuper User2008-05-12 18:35:48 +0200
commit012abb3e07c04507685491070cedd93e4b093374 (patch)
tree2260f3291e51c67c944372f8186a06534a86ec07 /port.cpp
parentnt-mode multiplexing debugged (diff)
downloadlcr-012abb3e07c04507685491070cedd93e4b093374.tar.gz
lcr-012abb3e07c04507685491070cedd93e4b093374.tar.xz
lcr-012abb3e07c04507685491070cedd93e4b093374.zip
some minor fixes
modified: dss1.cpp modified: joinpbx.cpp modified: mISDN.cpp modified: port.cpp modified: tones_american/joined.isdn modified: tones_american/left.isdn
Diffstat (limited to 'port.cpp')
-rw-r--r--port.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/port.cpp b/port.cpp
index e397b31..95ed3d5 100644
--- a/port.cpp
+++ b/port.cpp
@@ -303,6 +303,17 @@ void Port::set_tone(char *dir, char *name)
if (name == NULL)
name = "";
+#if 0
+ /* if tones is jingle, store next tone */
+ if ((p_tone_fh >= 0 || p_tone_fetched)
+ && (!strcmp(p_tone_name, "left") || !strcmp(p_tone_name, "joined")))
+ {
+ SCPY(p_tone_dir, dir);
+ SCPY(p_tone_name, name);
+ return;
+ }
+#endif
+
/* no counter, no eof, normal speed */
p_tone_counter = 0;
p_tone_eof = 0;