Greetings all,
I followed the suggestions from Erik from an old post and I can not get it to work.
I set up the script in the Script Library called Transfers4RSMTW"
put this into it
exten => s,1,Goto(from-inside-RSMTW,${EXTEN},1)
set up the outbound route to trigger it
_8xx
When I dial i get this error in the console
sent into invalid extension 's' in context 'from-inside-RSMTW', but no invalid handler
However when I do this in the script library
exten => s,1,Goto(from-inside-RSMTW,814,1)
it works perfect.
it is like the ${EXTEN} varible is not being passed along.
I am sure it is something super simple I am missing
thanks in advance!
Keith
Excellent, thanks again works
Excellent, thanks again works perfect
_3XXX runs a Goto(from-inside-${ARG1},${MACRO_EXTEN},1)
and ARG1= tenantname
Cheers!
Keith
the ${EXTEN} variable is in fact NOT being passed along :-) that variable always matches the value to the right of => , in this case 's'. You're looking for ${MACRO_EXTEN} if you want to know the extension number before invoking a macro.