dect
/
asterisk
Archived
13
0
Fork 0

Fix sounds descriptions, add more info to chan_agent

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1253 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-08-02 21:25:43 +00:00
parent df31b25e49
commit 9083796002
2 changed files with 32 additions and 26 deletions

View File

@ -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 (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "%s answered, waiting for '#' to acknowledge\n", p->chan->name);
/* Don't pass answer along */
ast_frfree(f);
f = &null_frame;
}
if (f && (f->frametype == AST_FRAME_DTMF) && (f->subclass == '#')) {
if (!p->acknowledged) {
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "%s acknowledged\n", p->chan->name);
p->acknowledged = 1;
ast_frfree(f);
f = &answer_frame;

View File

@ -330,55 +330,57 @@
%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