I am seeing the following in my log file (standard trixbox install). One seems to be complaining about an error in the dialplan but it won't tell me what file or what line. The other (maybe related) is complaining about a channel lock. How to do go about trying to figure out what the problem is and how to solve it? ---------------Logfile-------------------------------------------- Nov 14 07:20:19 WARNING[14067] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: "" != " ^ Nov 14 07:20:20 WARNING[14067] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source. Nov 14 07:20:44 ERROR[24091] chan_sip.c: We could NOT get the channel lock for SIP/101-082695f0! Nov 14 07:20:44 ERROR[24091] chan_sip.c: SIP MESSAGE JUST IGNORED: ACK Nov 14 07:20:44 ERROR[24091] chan_sip.c: BAD! BAD! BAD! Nov 14 07:20:45 ERROR[24091] chan_sip.c: We could NOT get the channel lock for SIP/101-082695f0! Nov 14 07:20:45 ERROR[24091] chan_sip.c: SIP MESSAGE JUST IGNORED: ACK Nov 14 07:20:45 ERROR[24091] chan_sip.c: BAD! BAD! BAD! Nov 14 07:20:46 ERROR[24091] chan_sip.c: We could NOT get the channel lock for SIP/101-082695f0! Nov 14 07:20:46 ERROR[24091] chan_sip.c: SIP MESSAGE JUST IGNORED: ACK Nov 14 07:20:46 ERROR[24091] chan_sip.c: BAD! BAD! BAD! --------------LInes in the dialplan with != in them------------------ asterisk -r -x 'show dialplan' | grep ! 's' => 1. GotoIf($["${REALCALLERIDNUM:1:2}" != ""]?start) [pbx_config] 2. GotoIf($["${REALCALLERIDNUM:1:2}" != ""]?start) [pbx_config] 2. GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" !"${RGPREFIX}"]?4:3) [pbx_config] 2. Set(VMGAIN=${IF($["foo${VM_GAIN}"!="foo"]?"g(${VM_GAIN})":"")}) [pbx_config] 'docfu' => 1. Set(RTCFU=${IF($["${VMBOX}"!="novm"]?${RINGTIMER}:"")}) [pbx_config] 6. Set(RT=${IF($[$["${VMBOX}"!="novm"] | $["foo${CFUEXT}"!="foo"]]?${RINGTIMER}:"")}) [pbx_config] 10. GosubIf($[$["${DIALSTATUS}"="NOANSWER"] & $["foo${CFUEXT}"!="foo"]]?docfu|1) [pbx_config] 31. GotoIf($[$["${CALLTRACE_HUNT}" != "" ] & $["${RingGroupMethod}" = "hunt" ]]?32:35 ) [pbx_config] 35. GotoIf($[$["${CALLTRACE_HUNT}" != "" ] & $["${RingGroupMethod}" = "memoryhunt" ]]?36:50 ) [pbx_config] 2. GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" !"${RGPREFIX}]"?NEWPREFIX) [pbx_config] 2. GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" !"${RGPREFIX}]"?NEWPREFIX) [pbx_config]
Tomislav Parčina
2006-Nov-15 05:52 UTC
[asterisk-users] Re: unable to get channel lock BAD BAD BAD
In article <855e4dcf0611141350i5e6a5c7cyd7e7bd1dfda17d9@mail.gmail.com>, timuckun@gmail.com says...> I am seeing the following in my log file (standard trixbox install). > One seems to be complaining about an error in the dialplan but it > won't tell me what file or what line. The other (maybe related) is > complaining about a channel lock. > > How to do go about trying to figure out what the problem is and how to solve it? > > Nov 14 07:20:44 ERROR[24091] chan_sip.c: BAD! BAD! BAD!Yes, I get same error message in my log. Anybody has any info on this one? -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)270248 Mob.: +385(91)1212148 SIP: tomo@sip.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr
Tim Uckun
2006-Nov-15 13:43 UTC
[asterisk-users] Re: unable to get channel lock BAD BAD BAD
> > Yes, I get same error message in my log. Anybody has any info on this one?Are you using trixbox? It would be nice to try and isolate this problem by ruling out a bad config in trixbox.
Tomislav Parčina
2006-Nov-16 00:43 UTC
[asterisk-users] Re: unable to get channel lock BAD BAD BAD
In article <855e4dcf0611151243t418274ccn6e96e1c9ae45f45f@mail.gmail.com>, timuckun@gmail.com says...> Are you using trixbox? It would be nice to try and isolate this > problem by ruling out a bad config in trixbox.No, I'm running Asterisk. -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)270248 Mob.: +385(91)1212148 SIP: tomo@sip.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr
Benny Amorsen
2006-Nov-16 05:56 UTC
[asterisk-users] Re: unable to get channel lock BAD BAD BAD
>>>>> "TU" == Tim Uckun <timuckun@gmail.com> writes:TU> I am seeing the following in my log file (standard trixbox TU> install). One seems to be complaining about an error in the TU> dialplan but it won't tell me what file or what line. The other TU> (maybe related) is complaining about a channel lock. TU> How to do go about trying to figure out what the problem is and TU> how to solve it? I can confirm the "BAD! BAD! BAD!" message on both our servers running 1.2.13. Our servers running 1.2.7.1 do not exhibit the problem. /Benny
Warren (mailing lists)
2006-Nov-16 06:14 UTC
[asterisk-users] Fax pdf attachment naming badly when no caller id on zaptel
I just installed a Digium TDM04B card. The lines that are plugged into it do not send caller id. As a result (i believe) of no caller ID, the name of the fax pdf is ".pdf". The subject is "Fax from". Windows clients do not like opening files with just an extension. Is there a simple way to change the name if it comes in blank? TIA, Warren
Tomislav Parčina
2006-Nov-17 01:53 UTC
[asterisk-users] Re: unable to get channel lock BAD BAD BAD
In article <455CCB63.2020104@fnords.org>, eric@fnords.org says...> Deadlocks are not a config or Trixbox issue.I'm confirming this one! -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)270248 Mob.: +385(91)1212148 SIP: tomo@sip.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr