Hello Everybody!
This is a quick page for various stuff I did with Asterisk. It was tested on 1.4.5, but of course it might work on other versions. Your mileage may vary. No guarantee is made. Ever. Do not try this in production before testing it completely.
I've written a small PHP program that communicates with many PBXes to transfer blf/presence status across them. It requires a CLI PHP with the sockets extension to work. Instructions are split from the top of the php file and the sample config.
You can get a working func_devstate for Asterisk 1.4.x from Russell's blog
devstate-1.0.tgz
LIBG722:=g722/libg722.a
$(LIBG722):
@$(MAKE) -C g722 all
$(if $(filter codec_g722,$(EMBEDDED_MODS)),modules.link,codec_g722.so): $(LIBG722)
$(MAKE) -C g722 clean
load codec_g722.so
If you get this error:
asterisk: symbol lookup error: /usr/lib/asterisk/modules/codec_g722.so: undefined symbol: g722_decode_initit means that the g722.a file didn't get linked properly. Check that you did the Makefile changes above.
You can now do:
core show translationto verify that the codec is present
You can contact me at nuitari-asterisk _ a _ t _ this _ domain.