[Asterisk-Users] Dial and Macro Do not seem to be working

Randy Johnson techlists at paperlesspractice.com
Thu Jan 27 22:02:02 MST 2005


Hello,

Here is the dial command:

exten => 790,2,Dial(SIP/${EXT707}@broadvoice|60|M(screen^${CALLERIDNUM}))


Here is the macro

[macro-screen]
exten => s,1,Wait(0.2)
exten => s,2,say number ${ARG1}
exten => s,3,Read(ACCEPT|screen-accept|1)
exten => s,4,GotoIf($[${ACCEPT} = 1 ] ?7:6)
exten => s,5,SetVar(MACRO_RESULT=CONTINUE)
exten => s,6,System(/bin/rm ${ARG1})


When I do the above it dials the extension, user picks up but it does not 
say the number.   the number is actually getting passed correctly because it 
is in the logs...  but it does not say the number.

It is almost as if the macro is not getting ran???

Any thoughts?

Thanks!

Randy





More information about the asterisk-users mailing list