diff options
Diffstat (limited to 'main/dial.c')
-rw-r--r-- | main/dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dial.c b/main/dial.c index 2563c707b..f03d43d25 100644 --- a/main/dial.c +++ b/main/dial.c @@ -323,7 +323,7 @@ static int begin_dial_prerun(struct ast_dial_channel *channel, struct ast_channe ast_channel_appl_set(channel->owner, "AppDial2"); ast_channel_data_set(channel->owner, "(Outgoing Line)"); - ast_publish_channel_state(channel->owner); + memset(ast_channel_whentohangup(channel->owner), 0, sizeof(*ast_channel_whentohangup(channel->owner))); /* Inherit everything from he who spawned this dial */ |