Tag: Asterisk

Connect GoIP8 GSM gateway to Asterisk

Here are the steps how to connect GSM Gateway GoIP8 to Asterisk. Required features: the possibility to outgoing calls and receive incoming. For outgoing calls to have a choice of an arbitrary line. 1.  GoiP 8 configuring It is assumed that you have a new device out of the box, so the steps – as …

Continue reading

How to create a loop in Asterisk

Let we have some variable like: Set(Asterisk=1,2,3,4,5) We need to go through the variable, using «,» as a separator. Solution: same => n,Set(Asterisk=1,2,4,3,5) same => n,Set(X=1) same => n,Set(DEV=${CUT(Asterisk,\,,1)}) same => n,While($[${EXISTS(${DEV})}]) same => n,NoOp(DEV = ${DEV}) same => n,Set(X=$[${X} + 1]) same => n,Set(DEV=${CUT(Asterisk,\,,${X})}) same => n,EndWhile()

Module was not compiled with the same compile-time options as this version of Asterisk

Module-was-not-compiled-with-the-same-compile-time-options-as-this-version-of-Asterisk

Asterisk developers have built check that prevents the module is loaded from another binary assembly, as this may cause a malfunction PBX Asterisk. check algorithm checks the value of a constant AST_BUILDOPT_SUM where hash sum at module’s compile time was recorded. Using this hash it’s possible to uniquely identify each binary assembly. It looks like …

Continue reading

You Do Not Appear to Have the Sources for Kernel Installed

If you get the following error “You Do Not Appear to Have the Sources for Kernel Installed” (or similar) when trying to build Asterisk or DAHDI you have to install the kernel devel / kernel headers. This post covers kernel headers and kernel source installation for Debian, Ubuntu, Red Hat/Fedora/CentOS systems. Asterisk Build Errors Related …

Continue reading

Asterisk installation on CentOS with YUM

Officially now Asterisk packages repository is gone (but packages are still on place). Asterisk installation manual gone as well. This post is some handy memo on Asterisk install from packages using YUM.

Continue reading

Use a Mobile Phone as a GSM Gateway in Asterisk (Asterisk + chan_mobile)

My task is to use mobile phone as GSM Gateway to my Asterisk with a help of chan_mobile so in case I’m unavailable on mobile people can leave a message in my voicemail box. SMS text messages arrive as emails, my replies to which are sent by SMS. So I used my old Sony Ericsson …

Continue reading

Load more