diff --git a/res/res_features.c b/res/res_features.c
index ec12df6d7b2d07782c13b2b5f12543ae37c7aab4..a8b9bb8f70aea980b3848eeacc0c136d87bbba0f 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -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;