diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-18 15:11:52 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-18 15:11:52 +0000 |
commit | 10462527f938a59129389416d7efb2994c64a305 (patch) | |
tree | 89712145051e70b2fd88f9f7152be2ce6f70dfed /res | |
parent | 86baa1f143f2d656af546daa60e04322fb774e43 (diff) |
Being picky...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55330 f38db490-d61c-443f-a65b-d21fe96a405b
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++; |