ossobv / asterisklint

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

missing asterisk built in functions #49

Closed perkons closed 3 years ago

perkons commented 3 years ago

OpenBSD 6.8 Asterisk 18.1.1

E_FUNC_MISSING: function does not exist (or func_odbc created?):
'DEVICE_STATE'
'DIALGROUP'
'DIALPLAN_EXISTS'
'PJSIP_DIAL_CONTACTS'

Links to the function docs: https://wiki.asterisk.org/wiki/display/AST/Function_DEVICE_STATE https://wiki.asterisk.org/wiki/display/AST/Function_DIALGROUP https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_DIALPLAN_EXISTS https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Function_PJSIP_DIAL_CONTACTS

wdoekes commented 3 years ago

Yes. I haven't been updating the list of available functions for a while. This was bound to happen.

Thanks for the report!

jjsearle commented 3 years ago

I have included these (+ others) in the following pull request https://github.com/ossobv/asterisklint/pull/50

wdoekes commented 3 years ago

Thanks! Should be fixed.