diff options
Diffstat (limited to 'apps/app_senddtmf.c')
-rwxr-xr-x | apps/app_senddtmf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c index a4bdf5c0c..79001acca 100755 --- a/apps/app_senddtmf.c +++ b/apps/app_senddtmf.c @@ -82,8 +82,13 @@ static int senddtmf_exec(struct ast_channel *chan, void *data) int unload_module(void) { + int res; + + res = ast_unregister_application(app); + STANDARD_HANGUP_LOCALUSERS; - return ast_unregister_application(app); + + return res; } int load_module(void) |