mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 18:40:46 +00:00
Fix sounds descriptions, add more info to chan_agent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -237,12 +237,16 @@ static struct ast_frame *agent_read(struct ast_channel *ast)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (f && (f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_ANSWER)) {
|
if (f && (f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_ANSWER)) {
|
||||||
|
if (option_verbose > 2)
|
||||||
|
ast_verbose(VERBOSE_PREFIX_3 "%s answered, waiting for '#' to acknowledge\n", p->chan->name);
|
||||||
/* Don't pass answer along */
|
/* Don't pass answer along */
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
f = &null_frame;
|
f = &null_frame;
|
||||||
}
|
}
|
||||||
if (f && (f->frametype == AST_FRAME_DTMF) && (f->subclass == '#')) {
|
if (f && (f->frametype == AST_FRAME_DTMF) && (f->subclass == '#')) {
|
||||||
if (!p->acknowledged) {
|
if (!p->acknowledged) {
|
||||||
|
if (option_verbose > 2)
|
||||||
|
ast_verbose(VERBOSE_PREFIX_3 "%s acknowledged\n", p->chan->name);
|
||||||
p->acknowledged = 1;
|
p->acknowledged = 1;
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
f = &answer_frame;
|
f = &answer_frame;
|
||||||
|
54
sounds.txt
54
sounds.txt
@@ -330,55 +330,57 @@
|
|||||||
|
|
||||||
%privacy-unident.gsm%will_be_added_later
|
%privacy-unident.gsm%will_be_added_later
|
||||||
|
|
||||||
%h-1%first
|
%at.gsm%at
|
||||||
|
|
||||||
%h-2%second
|
%h-1.gsm%first
|
||||||
|
|
||||||
%h-3%third
|
%h-2.gsm%second
|
||||||
|
|
||||||
%h-4%fourth
|
%h-3.gsm%third
|
||||||
|
|
||||||
%h-5%fifth
|
%h-4.gsm%fourth
|
||||||
|
|
||||||
%h-6%sixth
|
%h-5.gsm%fifth
|
||||||
|
|
||||||
%h-7%seventh
|
%h-6.gsm%sixth
|
||||||
|
|
||||||
%h-8%eighth
|
%h-7.gsm%seventh
|
||||||
|
|
||||||
%h-9%ninth
|
%h-8.gsm%eighth
|
||||||
|
|
||||||
%h-10%tenth
|
%h-9.gsm%ninth
|
||||||
|
|
||||||
%h-11%eleventh
|
%h-10.gsm%tenth
|
||||||
|
|
||||||
%h-12%twelfth
|
%h-11.gsm%eleventh
|
||||||
|
|
||||||
%h-13%thirteenth
|
%h-12.gsm%twelfth
|
||||||
|
|
||||||
%h-14%fourteenth
|
%h-13.gsm%thirteenth
|
||||||
|
|
||||||
%h-15%fifteenth
|
%h-14.gsm%fourteenth
|
||||||
|
|
||||||
%h-16%sixteenth
|
%h-15.gsm%fifteenth
|
||||||
|
|
||||||
%h-17%seventeenth
|
%h-16.gsm%sixteenth
|
||||||
|
|
||||||
%h-18%eighteenth
|
%h-17.gsm%seventeenth
|
||||||
|
|
||||||
%h-19%nineteenth
|
%h-18.gsm%eighteenth
|
||||||
|
|
||||||
%h-20%twentieth
|
%h-19.gsm%nineteenth
|
||||||
|
|
||||||
%h-30%thirtieth
|
%h-20.gsm%twentieth
|
||||||
|
|
||||||
%at%at
|
%h-30.gsm%thirtieth
|
||||||
|
|
||||||
%today%today
|
%at.gsm%at
|
||||||
|
|
||||||
%tomorrow%tomorrow
|
%today.gsm%today
|
||||||
|
|
||||||
%yesterday%yesterday
|
%tomorrow.gsm%tomorrow
|
||||||
|
|
||||||
%vm-received%received
|
%yesterday.gsm%yesterday
|
||||||
|
|
||||||
|
%vm-received.gsm%received
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user