Brian
2005-Dec-12 17:02 UTC
[Asterisk-Users] new asterisk 1.2 setup doesn't react when I press any numbers
Hello,
Just to get it out of the way early, I am new to asterisk. The company I
work for has several servers running different versions of asterisk for
different things.
Server1
Asterisk CVS-03/09/04-20:40:10
Server2
Asterisk CVS-v1-0-12/29/04-01:37:27
They want me to setup another server that would act as a backup to these
2 incase they went down. I followed the guide from
http://www.asteriskguru.com on what to download and install (Zaptel,
Libpri, and Asterisk are all version 1.2.1). I then copied the
extensions.conf and zapata.conf from server2 to the new server to test
and see if they would work. I get the company greeting and then when I
try to press 1 for english nothing happens. I tried pressing all the
other numbers and symbols but it doesn't recognize any of them. Below is
the output from *CLI> when I place the call.
-------------------------------------------------------------------------
*CLI> -- Executing Set("SIP/boneill-26fa",
"EDNIS=18662255630") in
new stack
-- Executing Goto("SIP/boneill-26fa", "refill|s|1") in
new stack
-- Goto (refill,s,1)
-- Executing Set("SIP/boneill-26fa", "TECH_DIFF_MODE=")
in new stack
-- Executing Set("SIP/boneill-26fa", "UPGRADE_MODE=") in
new stack
-- Executing Set("SIP/boneill-26fa", "ANNOUNCE=") in new
stack
Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:176 ast_yyerror:
ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting
TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
= 1
^
Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:180 ast_yyerror: If you
have questions, please refer to doc/README.variables in the asterisk
source.
-- Executing GotoIf("SIP/boneill-26fa", "0?s|5:s|7") in
new stack
-- Goto (refill,s,7)
Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:176 ast_yyerror:
ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting
TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
= 1
^
Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:180 ast_yyerror: If you
have questions, please refer to doc/README.variables in the asterisk
source.
-- Executing GotoIf("SIP/boneill-26fa", "0?s|8:s|10") in
new stack
-- Goto (refill,s,10)
-- Executing Goto("SIP/boneill-26fa",
"refill-welcome|s|1") in new
stack
-- Goto (refill-welcome,s,1)
-- Executing Set("SIP/boneill-26fa",
"TIMEOUT(response)=10") in new
stack
-- Response timeout set to 10
-- Executing Answer("SIP/boneill-26fa", "") in new stack
-- Executing Wait("SIP/boneill-26fa", "1") in new stack
-- Executing BackGround("SIP/boneill-26fa",
"refill/greeting") in
new stack
-- Playing 'refill/greeting' (language 'en')
Dec 12 18:51:59 WARNING[21931]: pbx.c:2405 __ast_pbx_run: Timeout, but
no rule 't' in context 'refill-welcome'
-------------------------------------------------------------------------
The first couple times I called the number I got a couple more errors
but found this page
http://www.voip-info.org/wiki/index.php?page=Asterisk+v1.2.0+upgrade
which showed some of the syntax changed. I changed the DBGet, DBPut, and
ResponseTimeout to get rid of some previous errors. Google searches
haven't turned up much help and I didn't find anything helpful in the
doc/README.variables.
If anyone knows what this means or anything I should try please let me
know.
Also if you need more information or output let me know.
Thanks,
Brian O'Neill
KRTorio
2005-Dec-12 20:46 UTC
[Asterisk-Users] new asterisk 1.2 setup doesn't react when I press any numbers
Check the dtmfmode settings in sip.conf. The CLI shows a different problem. Lookup GotoIf and Asterisk Dialplan Expressions in voip-info.org for that. On 12/12/05, Brian <boneill@platinumtel.com> wrote:> > Hello, > > Just to get it out of the way early, I am new to asterisk. The company I > work for has several servers running different versions of asterisk for > different things. > > Server1 > Asterisk CVS-03/09/04-20:40:10 > Server2 > Asterisk CVS-v1-0-12/29/04-01:37:27 > > They want me to setup another server that would act as a backup to these > 2 incase they went down. I followed the guide from > http://www.asteriskguru.com on what to download and install (Zaptel, > Libpri, and Asterisk are all version 1.2.1). I then copied the > extensions.conf and zapata.conf from server2 to the new server to test > and see if they would work. I get the company greeting and then when I > try to press 1 for english nothing happens. I tried pressing all the > other numbers and symbols but it doesn't recognize any of them. Below is > the output from *CLI> when I place the call. > > ------------------------------------------------------------------------- > > *CLI> -- Executing Set("SIP/boneill-26fa", "EDNIS=18662255630") in > new stack > -- Executing Goto("SIP/boneill-26fa", "refill|s|1") in new stack > -- Goto (refill,s,1) > -- Executing Set("SIP/boneill-26fa", "TECH_DIFF_MODE=") in new stack > -- Executing Set("SIP/boneill-26fa", "UPGRADE_MODE=") in new stack > -- Executing Set("SIP/boneill-26fa", "ANNOUNCE=") in new stack > Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:176 ast_yyerror: > ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting > TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: > = 1 > ^ > Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:180 ast_yyerror: If you > have questions, please refer to doc/README.variables in the asterisk > source. > -- Executing GotoIf("SIP/boneill-26fa", "0?s|5:s|7") in new stack > -- Goto (refill,s,7) > Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:176 ast_yyerror: > ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting > TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: > = 1 > ^ > Dec 12 18:51:39 WARNING[21931]: ast_expr2.fl:180 ast_yyerror: If you > have questions, please refer to doc/README.variables in the asterisk > source. > -- Executing GotoIf("SIP/boneill-26fa", "0?s|8:s|10") in new stack > -- Goto (refill,s,10) > -- Executing Goto("SIP/boneill-26fa", "refill-welcome|s|1") in new > stack > -- Goto (refill-welcome,s,1) > -- Executing Set("SIP/boneill-26fa", "TIMEOUT(response)=10") in new > stack > -- Response timeout set to 10 > -- Executing Answer("SIP/boneill-26fa", "") in new stack > -- Executing Wait("SIP/boneill-26fa", "1") in new stack > -- Executing BackGround("SIP/boneill-26fa", "refill/greeting") in > new stack > -- Playing 'refill/greeting' (language 'en') > Dec 12 18:51:59 WARNING[21931]: pbx.c:2405 __ast_pbx_run: Timeout, but > no rule 't' in context 'refill-welcome' > > ------------------------------------------------------------------------- > > The first couple times I called the number I got a couple more errors > but found this page > http://www.voip-info.org/wiki/index.php?page=Asterisk+v1.2.0+upgrade > which showed some of the syntax changed. I changed the DBGet, DBPut, and > ResponseTimeout to get rid of some previous errors. Google searches > haven't turned up much help and I didn't find anything helpful in the > doc/README.variables. > > If anyone knows what this means or anything I should try please let me > know. > Also if you need more information or output let me know. > > Thanks, > > Brian O'Neill > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051212/76c0ea1f/attachment.htm