I have developed a small application using twilio api to make call to any phone number from my twilio number. After dialing call is establishing and a specific audio clip is playing in mobile end. But I am not getting any real voice in any side of the call. Please help me or give me some information regarding how can i get voice in voice call using twilio api. Thanks, Tanim
Code snippet:
$client = new Services_Twilio($AccountSid, $AuthToken);
$call = $client->account->calls->create("My Twilio Number", "Outgoing number", "demo.twilio.com/docs/voice.xml";, array());
var_dump($call->sid);
$response = new Services_Twilio_Twiml();
$response->say('Hello');
$response->play('api.twilio.com/cowbell.mp3';, array("loop" => 5));