diff options
Diffstat (limited to 'apps/app_userevent.c')
-rw-r--r-- | apps/app_userevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_userevent.c b/apps/app_userevent.c index e0dafbb9f..f5defd49d 100644 --- a/apps/app_userevent.c +++ b/apps/app_userevent.c @@ -114,7 +114,9 @@ static int userevent_exec(struct ast_channel *chan, const char *data) } } + ast_channel_lock(chan); ast_channel_publish_blob(chan, ast_channel_user_event_type(), blob); + ast_channel_unlock(chan); return 0; } |