[Asterisk-Users] strange error at extension.conf
Carlos Valdes
carlos at dimasin.com
Mon Apr 12 22:17:53 MST 2004
hi,
i write this looking for free conference room, i checl code and don´t see any error but die at priority 7 if room 1001 have users in
exten => _1NXXNXXXXXX,1,RouteCall(${EXTEN})
exten => _1NXXNXXXXXX,2,GotoIf($[${DESTINATION1:0:3} = CONF]?3:13)
exten => _1NXXNXXXXXX,3,Setvar,var=0
exten => _1NXXNXXXXXX,4,MeetMeCount(1001|var)
exten => _1NXXNXXXXXX,5,GotoIf($[${var} =0]?7:6)
exten => _1NXXNXXXXXX,6,Meetme(1001|M)
exten => _1NXXMXXXXXX,7,MeetMeCount(1002|var)
exten => _1NXXNXXXXXX,8,GotoIf($[${var} =0]?10:9)
exten => _1NXXNXXXXXX,9,Meetme(1002|M)
exten => _1NXXMXXXXXX,10,MeetMeCount(1003|var)
exten => _1NXXNXXXXXX,11,GotoIf($[${var} =0]?4:12)
exten => _1NXXNXXXXXX,12,Meetme(1003|M)
exten => _1NXXNXXXXXX,13,Dial(${DESTINATION1})
exten => _1NXXNXXXXXX,114,Congestion
meetme.conf :
conf => 1001
conf => 1002
conf => 1003
in this log all working ok, no one at room 1001
-- Executing RouteCall("SIP/3056236725-7dc3", "16058475739") in new stack
Apr 13 07:09:59 DEBUG[21520]: pbx.c:1088 pbx_substitute_variables_helper: Expression is '1'
-- Executing GotoIf("SIP/3056236725-7dc3", "1?3:13") in new stack
-- Goto (internal,16058475739,3)
-- Executing SetVar("SIP/3056236725-7dc3", "var=0") in new stack
-- Executing MeetMeCount("SIP/3056236725-7dc3", "1001|var") in new stack
== Parsing '/etc/asterisk/meetme.conf': == Parsing '/etc/asterisk/meetme.conf': Found
Apr 13 07:09:59 WARNING[21520]: ast_expr.y:346 ast_yyerror: ast_yyerror(): syntax error: parse error
Apr 13 07:09:59 DEBUG[21520]: pbx.c:1088 pbx_substitute_variables_helper: Expression is '0'
-- Executing GotoIf("SIP/3056236725-7dc3", "0?7:6") in new stack
-- Goto (internal,16058475739,6)
-- Executing MeetMe("SIP/3056236725-7dc3", "1001|M") in new stack
== Parsing '/etc/asterisk/meetme.conf': == Parsing '/etc/asterisk/meetme.conf': Found
-- Created ZapTel conference 1023 for conference '1001'
-- Playing 'conf-onlyperson' (language 'en')
Apr 13 07:10:03 DEBUG[21520]: app_meetme.c:379 conf_run: Placed channel SIP/3056236725-7dc3 in ZAP conf 1023
-- Started music on hold, class 'default', on SIP/3056236725-7dc3
-- Stopped music on hold on SIP/3056236725-7dc3
== Spawn extension (internal, 16058475739, 6) exited non-zero on 'SIP/3056236725-7dc3'
in this log you can see the error, one user is at 1001
-- Executing RouteCall("SIP/3056236725-6771", "16058475739") in new stack
Apr 13 07:17:04 DEBUG[23569]: pbx.c:1088 pbx_substitute_variables_helper: Expression is '1'
-- Executing GotoIf("SIP/3056236725-6771", "1?3:13") in new stack
-- Goto (internal,16058475739,3)
-- Executing SetVar("SIP/3056236725-6771", "var=0") in new stack
-- Executing MeetMeCount("SIP/3056236725-6771", "1001|var") in new stack
Apr 13 07:17:04 WARNING[23569]: ast_expr.y:346 ast_yyerror: ast_yyerror(): syntax error: parse error
Apr 13 07:17:04 DEBUG[23569]: pbx.c:1088 pbx_substitute_variables_helper: Expression is '1'
-- Executing GotoIf("SIP/3056236725-6771", "1?7:6") in new stack
-- Goto (internal,16058475739,7) <<<<<<------------------------ here stop and die ( exten => _1NXXMXXXXXX,7,MeetMeCount(1002|var) )
Apr 13 07:17:14 WARNING[23569]: pbx.c:1837 ast_pbx_run: Timeout, but no rule 't' in context 'internal'
Please, any one can help me???
thanks,
Carlos
carlos at dimasin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040413/a2c17ae5/attachment.htm
More information about the asterisk-users
mailing list