Change in dial behavior with 1.6?

Hi,

I’m upgrading to the 1.6 beta, and am encountering a different behavior with dial and macros.

I have a macro that (on an inbound call), attempts to dial out and find a person. If successful it bridges the call. In the past this stopped execution after the second person hung up. Now, the original execution continue, which results in the call generally going to voice mail.

The code is similar to this:


screen-record: Please record your name press pound when finished.
screen-from: You have a call from
screen-accept: Press 1 to accept this call or any other key to reject.

exten => 890,1,Wait(0.2)
exten => 890,n,Playback(screen-record)
exten => 890,n,SetVar(SCREEN_FILE=/tmp/${CALLERID(number)}-${EPOCH})
exten => 890,n,Record(${SCREEN_FILE}.gsm|6|25)
exten => 890,n,Dial(SIP/16|60|gM(screen^${SCREEN_FILE}))
exten => 890,n,Voicemail(10@default)

[macro-screen]
exten => s,1,Wait(0.2)
exten => s,n,Playback(screen-from)
exten => s,n,Playback(${ARG1})
exten => s,n,Read(ACCEPT|screen-accept|1)
exten => s,n,GotoIf($[${ACCEPT} = 1 ] ?yes:no)
exten => s,n(yes),SetVar(MACRO_RESULT=CONTINUE)
exten => s,n(no),System(/bin/rm ${ARG1}) 

You can see that the voicemail should not be called if the call is bridged successfully.