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

Trevor G. Hammonds trevor at skyhost.net
Fri Jan 28 04:57:52 MST 2005


Randy Johnson <> wrote on Thursday, 27 January 2005 9:02 PM:

> 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}

Perhaps you should try: 
exten => s,2,SayDigits(${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

Good luck!

		Sincerely,
		Trevor Hammonds




More information about the asterisk-users mailing list