revert my pass through the tree to remove checks of the result of ast_strdupa
[asterisk/asterisk.git] / apps / app_transfer.c
index aaff52b..9879034 100644 (file)
@@ -19,6 +19,8 @@
 /*! \file
  *
  * \brief Transfer a caller
+ *
+ * \author Mark Spencer <markster@digium.com>
  * 
  * Requires transfer support from channel driver
  *
@@ -131,7 +133,7 @@ static int transfer_exec(struct ast_channel *chan, void *data)
 
        if (res < 0) {
                status = "FAILURE";
-               if (priority_jump || option_priority_jumping)
+               if (priority_jump || ast_opt_priority_jumping)
                        ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101);
                res = 0;
        } else {