dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
file 2006-08-20 04:25:28 +00:00
parent 4a051ed2b5
commit fa59ea28ae
1 changed files with 1 additions and 1 deletions

View File

@ -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 */