Adding Alarm Receiver

hi, I am working with an OpenWRT router with Asterisk already installed and configured for the board; however, Alarm Receiver was stripped from Asterisk before being installed.

Is there any way to add Alarm Receiver to Asterisk after it is already on the router or will I have to recompile their Asterisk build with Alarm Receiver?

I’m very new to Asterisk so I apologize if this is a naive question.


  • Processor: AR9331
  • OpenWRT 12.09
  • Asterisk 11.16.0

Thanks for the help,

You’ll have to have a compiled So…you’ll need the environment that did the build and you’ll need to add, rebuild, and then you can drop the .so in place on the router.

There was a compiled alarmreceiver that could be installed using opkg; however, Asterisk was unwilling to run the app because it “was not compiled with the same compile-time options” (the Asterisk CLI output is below). I did notice that the AlarmReceiver is version 11.12 where the Asterisk version is 11.16. Is this the problem? Will a new need to be compiled under a newer environment?

Thanks for the help,

[color=#0040BF]dragino-143800*CLI> module load[/color]
[color=#A0A0A0]Unable to load module
Command ‘module load’ failed.
[Jan 19 19:56:18] WARNING[1813]: loader.c:840 inspect_module: Module ‘’ was not compiled with the same compile-time options as this version of Asterisk.
[Jan 19 19:56:18] WARNING[1813]: loader.c:841 inspect_module: Module ‘’ will not be initialized as it may cause instability.
[Jan 19 19:56:18] WARNING[1813]: loader.c:931 load_resource: Module ‘’ could not be loaded.[/color]

You need to compile it under exactly the same environment, both Asterisk version, platform, and the settings selected with menuconfig. In many cases the code will run properly when this is not true, but it would take a careful analysis of the code to be sure of that.