diff options
author | Olle Johansson <oej@edvina.net> | 2007-02-18 15:11:52 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2007-02-18 15:11:52 +0000 |
commit | 4561b7a83b1c3a373a25b17e012cc562d89e04df (patch) | |
tree | 89712145051e70b2fd88f9f7152be2ce6f70dfed /res | |
parent | 74f31a51bc4fdf14b6f3a5d2f886c65ff882bd55 (diff) |
Being picky...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c index f8ea141fc..4db65a7dd 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1661,7 +1661,7 @@ static void *do_parking_thread(void *ignore) if (pu->moh_trys < 3 && !chan->generatordata) { if (option_debug) ast_log(LOG_DEBUG, "MOH on parked call stopped by outside source. Restarting.\n"); - ast_indicate_data(pu->chan, AST_CONTROL_HOLD, + ast_indicate_data(chan, AST_CONTROL_HOLD, S_OR(parkmohclass, NULL), !ast_strlen_zero(parkmohclass) ? strlen(parkmohclass) + 1 : 0); pu->moh_trys++; |