[asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

thelma at sys-concept.com thelma at sys-concept.com
Mon Jan 4 11:30:15 CST 2021

On 1/4/21 9:04 AM, Joshua C. Colp wrote:
> On Mon, Jan 4, 2021 at 11:57 AM <thelma at sys-concept.com> wrote:
>> Did execution of macro changed in Astersik-16.15 ?
>> When I try to dial an extension that call macro I get an error:
>> app.c:280 ast_app_exec_macro: Cannot run 'Macro(atb)'.  The application is
>> not available.
>> Dial(SIP/718xxxxxxxxxx at pstn-5665,20,m(default)M(atb))
> The Macro application is not built by default, it has to be explicitly
> selected in "make menuselect" when building Asterisk. Have you done so?

On Gentoo we build Asterisk with emerge and use "flags" to enable or disable certain features:

Installed versions:  16.15.1-r1 (alsa bluetooth caps iconv ssl vorbis -calendar -cluster -curl -dahdi -debug -doc -freetds -gtalk -http -ilbc -ldap -libressl -lua -mysql -newt -odbc -oss -pjproject -portaudio -postgres -radius -selinux -snmp -span -speex -srtp -static -statsd -syslog -unbound -xmpp

Which one of the above (the one with "-" in front) are responsible for compiling in Macro feature.

I an replace macro with Gosub but my phone doesn't play the dialing tones after I did it.
My macro execute several sequence of numbers after connecting and I can hear them in the speakerphone now with Gosub, it does execute these numbers but I don't hear anything in the speakerphone just silence.  
Is there a way to activate speakerphone what on Gosub?  So I know the phone is dialing the numbers? 

More information about the asterisk-users mailing list