ossobv / asterisklint

Asterisk PBX configuration syntax checker
GNU General Public License v3.0
61 stars 12 forks source link

E_APP_ARG_MANY gosub freeze endless check with 100% cpu core load #41

Closed utrumo closed 4 years ago

utrumo commented 4 years ago

I have make syntax mistake - added excess comma before opening bracket in gosub: exten => _7495XXXXXXX,1,Gosub(sub-dial,${EXTEN},1,(${SOME_VARIABLE}))

When i start asterisklint dialplan-check extensions.conf it freeze with 100% one core cpu load and this message in console: extensions.conf:44 E_APP_ARG_MANY: too many arguments for app 'Gosub', maximum is 3

P.S. I broke by this error your site: https://asterisklint.osso.pub/ I'm sorry! :))

wdoekes commented 4 years ago

Thanks for the report!

Bug has been fixed. Website has been fixed. New release has been made.