aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-11 15:43:14 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-11 15:43:14 +0000
commita09197f6859b20ced414494d0d1eae3a4e17045f (patch)
treef7f0303be21603830c84df012d966871b2646770 /res
parentbbcb4a521972b57441fe34b90605b73cface2c90 (diff)
Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63872 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 68a6b6098..e4d3645f3 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -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;