Setting a CDR field value

HI all.

I have a custom feature I think its called, where a person can dial a number and something happens.
But when they do it, I want the CDR data to contain some data I tell it to contain.
I THOUGHT the following would work:-

exten => *800,1,Answer
exten => *800,n,SayDigits(1234)
exten => *800,n,Hangup()
exten => *800,n,Set(CDR(src)=“My-Data”)
exten => *800,n,ResetCDR(w)
exten => *800,n,NoCDR()

But the CDR doesnt change. Im I doing it wrong? or just the wrong sequence of execution of the items?

Any help appreciated.

Jeremy

Its ok. I have now figured it out. Plus I have just found out that only the account and userfield are able to be changed, but thats ok, I can live with that.

Jeremy