[Asterisk-Users] Find extension from Dial(,M()) macro

Adam Greenbaum lists at refinitive.com
Wed Nov 24 03:46:46 MST 2004


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.




More information about the asterisk-users mailing list