summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-04-22 02:55:14 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-04-22 02:55:14 +0000
commit06de953fbc258431f0f161cba3026cb3a33e242b (patch)
treea3a21733b337d545e51000dfcbf9e2cddf122818 /pbx.c
parent5a6d5c1751e9df27d7a4b0715e204bfbc8d5ed2c (diff)
add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index 68b55e126..2d1c42951 100755
--- a/pbx.c
+++ b/pbx.c
@@ -6271,8 +6271,7 @@ int ast_parseable_goto(struct ast_channel *chan, const char *goto_string)
if (mode)
ipri = chan->priority + (ipri * mode);
- /* This channel is currently in the PBX */
- ast_explicit_goto(chan, context, exten, ipri - 1);
+ ast_explicit_goto(chan, context, exten, chan->pbx ? ipri - 1 : ipri);
ast_cdr_update(chan);
return 0;