Hi,
Is there any reason why audio format when using, for example:
external/record//var/digit/ivr/src/yate/scripts/stream.php
could vary from slin little endian to big endian ?
My code:
$m = new Yate("chan.masquerade");
$m->params["message"] = "call.execute";
$m->params["id"] = $channel_id;
$m->params["callto"] = 'conf/' . $stream_id;
$m->params["notify"] = $channel_id;
$m->params["lonely"] = true;
$m->params["maxusers"] = 1;
$m->params["smart"] = true;
$m->params["utility"] = false;
$m->params["record"] = 'external/record//var/digit/ivr/src/yate/scripts/stream.php';
// set this so that script can play warnings in conference
$m->params["recordwarn"] = "-";
$m->params["speakers"] = true;
$m->params["interval"] = 3000;
$m->params["waitlock"] = -200;
$m->Dispatch();
Always within the same call, but the above conference could be destroyed and restarted.
Thank you,
Regards
Jamie