Web shared file play issue


I am having asterisk installed on my Fedora core 8 system. I m having PRI line for calling.

I want to play a sound file which is stored at remote place. I try to play that file through CURL.
I m firing the query string with the phone number. the sound file associated with it should be played.

When I am firing the query string through CURL, it gives me the file path. but its not playing that file.
Bellow is my dial plan.

[quote]exten => 1111,1,Answer()
exten => 1111,n,Set(Name=${CURL(192.x.x.x/test/Default.aspx?PhoneNum=900099999)})
exten => 1111,n,NoOp(${Name})
exten => 1111,n,Set(temp=${Name:0:46})
exten => 1111,n,NoOp(${temp})
exten => 1111,n,Playback(${temp})

;exten => 1111,n,Playback(${CURL(192.x.x.x/test/Default.aspx?PhoneNum=900099999):0:46})[/quote]

I can get the file name associated with particular phone number. but I cant play that file.

Thanks for the support in advance.