moved server response inside the call back for voicesynth