aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-19 13:25:59 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-19 13:25:59 +0000
commit0bad28fa6eec55d765dfe9857993619013163238 (patch)
treed60229bc9a9d0a135463243d2d5776bd93d5eb0e /res
parentaf4c6774e6c3052b7dbc525051dda4cd7f7162ad (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@69893 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 7211e5daa..30326d3a5 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -383,12 +383,12 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou
ast_log(LOG_ERROR, "Parking context '%s' does not exist and unable to create\n", parking_con);
}
}
+ if (peer)
+ ast_say_digits(peer, pu->parkingnum, "", peer->language);
if (con) {
snprintf(exten, sizeof(exten), "%d", x);
ast_add_extension2(con, 1, exten, 1, NULL, NULL, parkedcall, strdup(exten), FREE, registrar);
}
- if (peer)
- ast_say_digits(peer, pu->parkingnum, "", peer->language);
if (pu->notquiteyet) {
/* Wake up parking thread if we're really done */
ast_moh_start(pu->chan, NULL);