Skip to main content

SetAMAFlags deprecated after upgrade to 9.1.2-37

Posted by acraft on Tue, 02/05/2019

Hello,

We upgraded our TL MT from version 9.0.2 to the latest 9.1.2-37, and are now getting a new error in the /var/log/asterisk/messages and full logs listed below. This appears to only happen on inbound calls when the billable flag is set on an inbound route.

WARNING[27639][Unique Call ID] pbx_builtins.c: The SetAMAFlags application is deprecated. Please use the CHANNEL function instead.

Any info on this and how to correct is appreciated.

Andrew


Submitted by volodya on Wed, 02/06/2019 Permalink

Hello Andrew,

Please run dialplan show from-outside-redir in Asterisk CLI and check if you have SetAMAFlags used for your inbound route number. If yes - try resaving it. SetAMAFlags has to be replaced with Set(CHANNEL(amaflags)=billing).