// for examples :
// extensions.conf
[test]
exten => 123,1,Answer()
exten =>123,n,Fnn()
exten =>123,n,Hangup()
// end
If I add a Fnn function , I want the function execute .
How to do ?
Any help ?
// for examples :
// extensions.conf
[test]
exten => 123,1,Answer()
exten =>123,n,Fnn()
exten =>123,n,Hangup()
// end
If I add a Fnn function , I want the function execute .
How to do ?
Any help ?
Actually, if you are doing like you wrote, you’ll be executing an application.
Take a look at the following documentation to help you clarify your mind.
Applications:
voip-info.org/wiki/view/Aste … n+commands
Functions:
voip-info.org/wiki/view/Asterisk+functions
Dialplan functions have the following basic syntax:
FUNCTION_NAME(argument)
You reference a function’s name the same way as a variable’s name, but you reference a
function’s value with the addition of a dollar sign, an opening curly brace, and a closing
curly brace:
${FUNCTION_NAME(argument)}
Functions can also encapsulate other functions, like so:
${FUNCTION_NAME(${FUNCTION_NAME(argument)})}
Example:
exten => 123,1,NoOp()
same => n,Set(TEST=example)
same => n,Playback(silence/1)
same => n,SayNumber(${LEN(${TEST})})