From: Martin Pycko Date: Wed, 30 Apr 2003 20:10:03 +0000 (+0000) Subject: Add a longer stutter tone when there is voicemail on zaptel channels X-Git-Tag: 0.5.0~556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7216653dfca7e4bb6748415583324b268dcaf1f;p=thirdparty%2Fasterisk.git Add a longer stutter tone when there is voicemail on zaptel channels git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@940 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index ac802d88ab..82157b8524 100755 --- 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)