Pbx_functions.c:608 ast_func_read: Function AMD not registered

Hi there!, I´m running an Asterisk 18.20.2 and trying to use AMD

I have
CLI> module show like app_amd
Module Description Use Count Status Support Level
app_amd.so Answering Machine Detection Application 0 Running extended

but
CLI> core show functions like ‘AMD’
Matching Custom Functions:

0 matching custom functions installed.

Please, can help?
Regards!

There is no such function documented.

AMD is an Application:

https://docs.asterisk.org/Asterisk_16_Documentation/API_Documentation/Dialplan_Applications/AMD/

Thanks for your response…

what I can see in the asterisk console is

[Mar 17 20:08:57] ERROR[25969][C-00000002]: pbx_functions.c:608 ast_func_read: Function AMD not registered

and the dialplan (just to test AMD) configuration is

exten => 7771,1,NoOp(FEATURE: ECHO TEST)
same => n,Set(AMD_RESULT=${AMD()})
same => n,Answer
same => n,Wait(1)
same => n,Playback(demo-echotest)
same => n,Echo()
same => n,Playback(demo-echodone)
same => n,Hangup()

Regards!

As stated, it’s not a function. You’re trying to use it as one and that won’t work. Where did you think you could?

It would properly be used like:

same => n,AMD()
same => n,NoOp(${AMDSTATUS})

Thanks for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.