ESL Mod_Conference Observations
Hi, Just wanted to know why don't I get any events on start/stop speaking conference joins/leaves if I do something like this: $con->events("plain","all"); $con->events("plain","CUSTOM conference::maintenance"); $con->sendRecv("filter Unique-ID $confUUID"); Instead I've to do something like this: $con->events("plain","all"); $con->events("plain","CUSTOM conference::maintenance"); $con->sendRecv("filter Unique-ID $confmember1"); $con->sendRecv("filter Unique-ID $confmember2"); $con->sendRecv("filter Unique-ID $confmember3"); . . . Which is useless in case you want to check if a user is entering/leaving a particular conference in a single inbound ESL script... What I'm doing instead now is something on these lines: $con->events("plain","all"); $con->sendRecv("filter Unique-ID $CONFNAME"); i//psuedocode if event equals PRESENCE_IN and presence-call-direction equals inbound then { execute API command conference list confname parse uuid from members add a filter update the hashtable for existing confmembers } //once we have the uuid filter added we'll get to know if that user leaves, so the logic for removing the filter is straight forward if event equals CUSTOM and subtype is CONFERENCE::MAINTANANCE { if event action=del-member remove filter for UUID } I don't get ANY event if I'm filtering on conference UUID... I think that needs to be fixed, because its mod_conference which is throwing all those events. Regards. -- I'd love to change the world, but they wont gimme the source code to it
participants (1)
-
Usama Zaidi