]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by...
authorJoshua Colp <jcolp@digium.com>
Fri, 11 May 2007 15:43:14 +0000 (15:43 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 11 May 2007 15:43:14 +0000 (15:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63872 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 68a6b6098f07c7980661b2744414d51392c556e1..e4d3645f3138e898d1d50d07bd231be0d284dc5e 100644 (file)
@@ -329,6 +329,7 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou
                        return 0;       /* Continue execution if possible */
                }
                ast_copy_string(pu->parkingexten, parkingexten, sizeof(pu->parkingexten));
+               x = atoi(parkingexten);
        } else {
                /* Select parking space within range */
                parking_range = parking_stop - parking_start+1;