Hi,
Please could you help me ?
I need to be able to remove a caller from a conference and not hang-up.
I've been using the following to create a conference (PHP):
$m = new Yate("chan.masquerade");
$m->id = "";
$m->params["message"] = "call.execute";
$m->params["id"] = $partycallid;
$m->params["callto"] = "conf/cs-$conference_id";
$m->params["notify"] = "conf-monitor/cs-$conference_id";
$m->params["billing"] = "true";
$m->params["lonely"] = "true";
$m->params["maxusers"] = $maxusers;
$m->params["smart"] = "t";
//$m->params["record"] = "external/nodata/conference.php";
// set this so that script can play warnings in conference
//$m->params["recordwarn"] = "-";
$m->params["speakers"] = $speakers;
$m->params["interval"] = $interval_notifications;
$m->params["waitlock"] = -200; // ( ** Not sure what this does ** )
$m->Dispatch();
This work fine.
However, after a period of time, I need to be able to remove the caller from the conference (or destroy it) but without dropping the call.
I've checked for capability in the source ( conference.cpp ) and see that it seems to have class methods that might do it, but I can't see how I would do it.
Your help would be very much appreciated.
Thank you, Regards
Jamie