diff options
author | Mark Spencer <markster@digium.com> | 2003-05-15 22:39:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-15 22:39:01 +0000 |
commit | f345e8a77c6ab2be3dddb8f8246bc14bea2d2416 (patch) | |
tree | 40b68ab88670f5987b8f8fd8f10fbc8311e7c50b /channel.c | |
parent | b4429b287a31a10bdf45a135c47921e6bb23e6a6 (diff) |
Handle progress in chan_sip properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1148,8 +1148,9 @@ int ast_indicate(struct ast_channel *chan, int condition) if (ts && ts->data[0]) { ast_log(LOG_DEBUG, "Driver for channel '%s' does not support indication %d, emulating it\n", chan->name, condition); ast_playtones_start(chan,0,ts->data, 1); - } - else { + } else if (condition == AST_CONTROL_PROGRESS) { + /* ast_playtones_stop(chan); */ + } else { /* not handled */ ast_log(LOG_WARNING, "Unable to handle indication %d for '%s'\n", condition, chan->name); return -1; |