projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e451c7
)
Add a longer stutter tone when there is voicemail on zaptel channels
author
Martin Pycko
<martinp@digium.com>
Wed, 30 Apr 2003 20:10:03 +0000
(20:10 +0000)
committer
Martin Pycko
<martinp@digium.com>
Wed, 30 Apr 2003 20:10:03 +0000
(20:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@940
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
ac802d8
..
82157b8
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-4248,7
+4248,11
@@
static int handle_init_event(struct zt_pvt *i, int event)
chan = zt_new(i, AST_STATE_DOWN, 0, SUB_REAL, 0);
if (chan) {
if (has_voicemail(i))
+#ifdef ZT_TONE_STUTTER
+ res = tone_zone_play_tone(i->subs[SUB_REAL].zfd, ZT_TONE_STUTTER);
+#else
res = tone_zone_play_tone(i->subs[SUB_REAL].zfd, ZT_TONE_DIALRECALL);
+#endif
else
res = tone_zone_play_tone(i->subs[SUB_REAL].zfd, ZT_TONE_DIALTONE);
if (res < 0)