Were are you stocking the audio files ? if they are stored in your application bundle, try a code like this :
...
NSString *path = [[NSBundle mainBundle] pathForResource:escapedFilename
ofType:nil];
...
If they are stored in the Documents folder, you should access them like this :
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *filePath = [documentsDirectory stringByAppendingPathComponent:@"filename"];
NSURL *url ....
EDIT : If your url is not null, the then problem is With ARC, the AudioPalyer instance is released after the playVoiceMail method reaches the end. You should create a strong property like this :
@property (nonatomic, strong) AVAudioPlayer *player;
...
self.player= [[AVAudioPlayer alloc] initWithContentsOfURL:URL
error: &error];
[self.player play];
...