mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
Being picky...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1661,7 +1661,7 @@ static void *do_parking_thread(void *ignore)
|
|||||||
if (pu->moh_trys < 3 && !chan->generatordata) {
|
if (pu->moh_trys < 3 && !chan->generatordata) {
|
||||||
if (option_debug)
|
if (option_debug)
|
||||||
ast_log(LOG_DEBUG, "MOH on parked call stopped by outside source. Restarting.\n");
|
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),
|
S_OR(parkmohclass, NULL),
|
||||||
!ast_strlen_zero(parkmohclass) ? strlen(parkmohclass) + 1 : 0);
|
!ast_strlen_zero(parkmohclass) ? strlen(parkmohclass) + 1 : 0);
|
||||||
pu->moh_trys++;
|
pu->moh_trys++;
|
||||||
|
Reference in New Issue
Block a user