]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix saying the parking space number to the caller doing the parking ...
authorRussell Bryant <russell@russellbryant.com>
Wed, 9 Jan 2008 18:02:08 +0000 (18:02 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 9 Jan 2008 18:02:08 +0000 (18:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@97529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 2a65b90a210f2bdd793e577f0bc671f1f37e52dd..5eaa5b2e3b8e0fb821528172cae5af5eef727edb 100644 (file)
@@ -1835,7 +1835,7 @@ static int park_call_exec(struct ast_channel *chan, void *data)
                res = ast_safe_sleep(chan, 1000);
        /* Park the call */
        if (!res) {
-               res = park_call_full(chan, NULL, 0, NULL, orig_chan_name);
+               res = park_call_full(chan, chan, 0, NULL, orig_chan_name);
                /* Continue on in the dialplan */
                if (res == 1) {
                        ast_copy_string(chan->exten, orig_exten, sizeof(chan->exten));