Displaying 2 results from an estimated 2 matches for "knummer".
Did you mean:
nummer
2015 Mar 16
1
Use dialplan variables from MySQL database and replace with value
Hello
i have the following field (text string) in a MySQL database :
"${KNUMMER} ${phone_number_to} ${phone_number_from} ${CHANNEL:4}"
I read this string form the database and want to have the dialplan
variables to be replaced with the correct content.
How can I do this ?
Currently this is not working. The variable ${PARAMS} contains the exact
string of the database...
2009 Dec 27
0
Macro only accepts 1 argument
Hello list !
This is my call to the macro :
exten => 36,n,Macro(mymacro,${KNUMMER},yo)
This is where {ARG1} and {ARG2} are used inside the macro :
exten => s,n,Voicemail(${ARG1}@${ARG2},s)
This the output on the CLI :
VoiceMail("IAX2/zoiper-13958", "908001@|s")
The variable ${KNUMMER} is set in the dialplan and well replaced by
908001. But {ARG2} is n...