Problem in Monitoring

Hi all,

  When I suppose to start monitoring File is created in the asterisk But its not recorded in the file.

My scenario be,

   I made a call to the respondent, then i made a call to hold by playing back a sound file and then i transfered the call to a extension after which i issued monitor command..

Extension.conf

[auto]
exten => _X.,1,Playback(demo-congrats)

[redirect]
exten => _X.,1,Dial(SIP/${EXTEN})

My console output be,

== Manager ‘admin’ logged on from 192.168.1.134
> Channel SIP/brekeke-0959c6e0 was answered.
– Executing Playback(“SIP/brekeke-0959c6e0”, “demo-congrats”) in new stack
– Playing ‘demo-congrats’ (language ‘en’)
== Spawn extension (redirect, 1000, 0) exited non-zero on ‘SIP/brekeke-0959c6e0’
– Executing Dial(“SIP/brekeke-0959c6e0”, “SIP/1000”) in new stack
– Called 1000
– SIP/1000-095c85d8 is ringing
– SIP/1000-095c85d8 answered SIP/brekeke-0959c6e0
– Attempting native bridge of SIP/brekeke-0959c6e0 and SIP/1000-095c85d8

Regards,
Dinesh.K