Index: app_dial.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v retrieving revision 1.175 diff -u -r1.175 app_dial.c --- app_dial.c 26 Oct 2005 19:48:14 -0000 1.175 +++ app_dial.c 28 Oct 2005 03:26:09 -0000 @@ -379,6 +379,8 @@ o->chan = ast_request(tech, in->nativeformats, stuff, &cause); if (!o->chan) ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s/%s' (cause = %d)\n", tech, stuff, cause); + else + ast_channel_inherit_variables(in, o->chan); } else { if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Too many forwards from %s\n", o->chan->name);