search for: read_digits

Displaying 1 result from an estimated 1 matches for "read_digits".

2011 Nov 14
0
Asterisk 1.6 AEL Macro vs GoSub
...I have recently run into the problem with macro implementation in AEL in Asterisk 1.6. I have some older AEL dialplan which runs on 1.4 but it does not on 1.6 and I'm not sure how to solve this correctly. Let me explain... For example, in Asterisk 1.4 I have a macro like this: macro read_digits(digits) { Set(playlist=${SHELL(${PYTHON} ${SCRIPTS}/read_digits.py ${digits})}); if ("${playlist}"!="") { Background(${playlist}); } } This macro calls a python script which generates a list of sound files which are then played back by Background app...