Adam Greenbaum
2004-Nov-24 03:34 UTC
[Asterisk-Users] Find extension from Dial(,M()) macro
Hi, How do I find out the extension that answered an incoming call from inside a Dial(number,M()) macro? I've tried MACRO_EXTEN but it seems to be empty. exten => s,100,Dial(${EXTENSIONS},40,M(support)) [macro-support] exten => s,1,NoOp(${MACRO_EXTEN}) etc... Thanks in Advance, Adam.
Adam Greenbaum
2004-Nov-24 03:46 UTC
[Asterisk-Users] Find extension from Dial(,M()) macro
On Wed, 2004-11-24 at 10:34, Adam Greenbaum wrote:> How do I find out the extension that answered an incoming call from > inside a Dial(number,M()) macro? I've tried MACRO_EXTEN but it seems to > be empty.Always the way isn't it, discovering the answer just after you post! I can find the extension by chopping the end off the ${CHANNEL} variable. Adam.