Macro-vm simple edit

I have customized macro-vm for the purpose of adding some ringing before the voicemail message plays.

It works great with this at the top:

exten=> s,1,Ringing
exten=> s,n,Wait(4)

However, I do not want this extra ringing to happen if the voicemail is played from an IVR (the IVR uses destination with type no-msg)

So, I want it to work like this:

IFNOT NO-MSG THEN
exten=> s,1,Ringing
exten=> s,n,Wait(4)

Can anyone help?