app_dial: set the comment for OPT_ARG_ANNOUNCE to really what is done

Change-Id: I08f88adb09f7e5813f37e70fecd787468cdb32c8
This commit is contained in:
Rodrigo Ramírez Norambuena
2018-09-03 11:27:07 -03:00
committed by Rodrigo Ramirez Norambuena
parent cfb854e241
commit 8879a62c1c

View File

@@ -2852,7 +2852,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
chans[0] = chan;
chans[1] = peer;
/* we need to stream the announcement while monitoring the caller for a hangup */
/* we need to stream the announcement to the called party when the OPT_ARG_ANNOUNCE (-A) is setted */
/* stream the file */
res = ast_streamfile(peer, opt_args[OPT_ARG_ANNOUNCE], ast_channel_language(peer));