diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-22 02:55:14 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-22 02:55:14 +0000 |
commit | 4692a24b4d1c697a767c53542fe76bd7d7e64425 (patch) | |
tree | a3a21733b337d545e51000dfcbf9e2cddf122818 /pbx.c | |
parent | 4eea4687ba7cfdccc2ae157b004d82041130840e (diff) |
add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5495 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |