[asterisk-users] Function SHELL not registered

Michael Jepson
Tue, 05 Jul 2016 14:06:37 -0000

I have rebuilt a new version, making sure func_shell was selected, but I am
still getting this error.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces
at lists.digium.com] On Behalf Of A J Stiles
Sent: maandag 4 juli 2016 09:34
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users
at lists.digium.com>
Subject: Re: [asterisk-users] Function SHELL not registered

On Monday 04 Jul 2016, Michael Jepson wrote:
> Hi all,
>
> I am getting the following error when starting asterisk:
> pbx_functions.c: Function SHELL not registered
>
> Some of my conf files use a SHELL command, which used to work with an
> older version of asterisk, but now with version 13.9.1 I see this
> warning in the error log. How can I register the SHELL function? From
> what I can find in the wiki's, it should just be available?
>
> Best regards,
>
> Michael Jepson

Did you include func_shell in your Asterisk build?

Fortunately, it's no biggie to build a missing module, because the
"make"
command explicitly keeps track of everything it has already done and does not
need to do again.  Just cd into the folder with your Asterisk source, run `make
menuselect` and select "func_shell"  (under dialplan functions).  Then
run `make` and finally `make install`.

--
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit: