diff options
Diffstat (limited to 'apps/app_transfer.c')
-rw-r--r-- | apps/app_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_transfer.c b/apps/app_transfer.c index 41c6e35dd..6b459353a 100644 --- a/apps/app_transfer.c +++ b/apps/app_transfer.c @@ -113,7 +113,7 @@ static int transfer_exec(struct ast_channel *chan, void *data) tech = dest; dest = slash + 1; /* Allow execution only if the Tech/destination agrees with the type of the channel */ - if (strncasecmp(chan->type, tech, len)) { + if (strncasecmp(chan->tech->type, tech, len)) { pbx_builtin_setvar_helper(chan, "TRANSFERSTATUS", "FAILURE"); LOCAL_USER_REMOVE(u); return 0; |