aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rwxr-xr-xres/res_features.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 660dc8db8..8ee672ac4 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1876,8 +1876,7 @@ static int manager_parking_status( struct mansession *s, struct message *m )
cur=parkinglot;
while(cur) {
- ast_mutex_lock(&s->lock);
- ast_cli(s->fd, "Event: ParkedCall\r\n"
+ ast_cli(s->fd, "Event: ParkedCall\r\n"
"Exten: %d\r\n"
"Channel: %s\r\n"
"Timeout: %ld\r\n"
@@ -1890,7 +1889,6 @@ static int manager_parking_status( struct mansession *s, struct message *m )
,(cur->chan->cid.cid_num ? cur->chan->cid.cid_num : "")
,(cur->chan->cid.cid_name ? cur->chan->cid.cid_name : "")
,idText);
- ast_mutex_unlock(&s->lock);
cur = cur->next;
}