Merged revisions 63872 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Fri, 11 May 2007 15:48:38 +0000 (15:48 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 11 May 2007 15:48:38 +0000 (15:48 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63872 | file | 2007-05-11 11:43:14 -0400 (Fri, 11 May 2007) | 2 lines

Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index ec12df6..a8b9bb8 100644 (file)
@@ -360,6 +360,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;