Errors on "Apply Config": You have to be kidding-- add exten '' to context housekeeping-service? Figure out a name and call me back. Action ignored

Whenever I do a ‘module reload’ in asterisk -r or “Apply Config” in the web GUI, I get 31of the above errors, followed by:
Unable to register extension at line 3892 of /etc/asterisk/extensions_additional.conf
where the line number is in the 3900 range.

that file has stuff like:

include => clean-custom
exten => ,1,Noop(====> Room ${CALLERID(num)} is Clean now <====)
exten => ,n,AGI(mk_clean.agi,${CALLERID(num)},1)
exten => ,n,Hangup

;–== end of [clean] ==–;

include => receptionist-custom
exten => 100,1,Goto(from-internal,${EXTEN},1)
exten => 100,n,Hangup

;–== end of [receptionist] ==–;

include => mini-bar-custom
exten => ,1,Noop(====> Room ${CALLERID(num)} ask a mini-bar <====)
exten => ,n,Playback(pms/drink-code)
exten => ,n(read_key),Read(Minibar,1,5)
exten => ,n,GotoIf($["${Minibar}" != “*”]?add_mini_bar)
exten => ,n,Set(minibar=${mini_bar})
exten => ,n,AGI(minibar.agi,${CALLERID(num)},${minibar})
exten => ,n,Playback(goodbye)
exten => ,n,Goto(end)
exten => ,n(add_mini_bar),Set(mini_bar=${mini_bar}${Minibar} )
exten => ,n,SayNumber(${Minibar:0:1},c)
exten => ,n,Goto(read_key)
exten => ,n(end),Hangup

in that range. Have I done something wrong in setting things up? I have a very basic SNG7-FPBX-64bit-1904-2 build on a Mid-2010 Mac Mini with all the latest updates, a single Polycom SoundPoint IP-650 phone registered and (as yet) no trunks.

Yeah, I know it’s not a very serious problem to not be able to do the mini-bar thing with my bare-bones setup, but shouldn’t the defaults be something that doesn’t throw errors?


1 Like

maybe syntax error?

Are you using PMS? If not, remove it.

fwconsole ma uninstall pms
fwconsole ma delete pms
fwconsole r
1 Like

That did it, thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.