diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-20 04:25:28 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-20 04:25:28 +0000 |
commit | fa59ea28ae618e4f1b60488ecd4b0add3532a185 (patch) | |
tree | 39d00f85e2005fb533f418a9260338dcc8ff5408 /res | |
parent | 4a051ed2b5c89e6ac6a8115f887d01e3df7cd001 (diff) |
Properly check to see if parkingnum is a number (issue #7762 reported by robf)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40599 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c index d584ee814..af714f559 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -422,7 +422,7 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou notify_metermaids(pu->parkingexten, parking_con); } /* Tell the peer channel the number of the parking space */ - if (peer && !pu->parkingnum == -1) /* Only say number if it's a number */ + if (peer && pu->parkingnum != -1) /* Only say number if it's a number */ ast_say_digits(peer, pu->parkingnum, "", peer->language); if (pu->notquiteyet) { /* Wake up parking thread if we're really done */ |