OpenWrt Forum Archive

Topic: [MZK-W04NU] FreeSwitch + scripting language?

The content of this topic has been archived on 18 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello

I was wondering if someone succesfully used the Planex MZK-W04NU hardware to run FreeSwitch (alternative to Asterisk to build IP PBX) on top of OpenWrt, and what high-level scripting language is available to write scripts to build an IVR.

Ideally, I'd like to be able to run Python, but with only 32MB of RAM, it looks there wouldn't be much memory left :-/

Thank you.

Take a look at Lua, it is packaged for OpenWrt, has a very low memory footprint and is only a few dozen kb in size.

Thanks for the tip. I'll check it out and see if has enough features to do what I need through a dialplan.

hi,

with lua you can do a lot of thing !
are you successfull running freeswitch on planex ?
did you installed the freeswitch packages that come with openwrt under the network session ?

I am trying to do this on a RouterStationPro

bye bye

I have to correct myself.
Mod_lua is not available in Freeswitch OpenWRT packages.
In the Freeswitch Makefile that is available under /feeds/packages/net/freeswitch$ is written:

$(eval $(call BuildPlugin,lua,Lua language interface,mod_lua,,@BROKEN)) # needs C++

what does exactly means ?
what is missing to have mod_lua ?
make menuconfig->Base System ->libstdcpp is not sufficient ?

regards
satjuice

Hi all,

Lua module is available from a couples of weeks.
Thanks to the community !


Regards
Satjuice

The discussion might have continued from here.