Hi,<br>Is it possible to filter specific events for a particular uuid through ESL. I am using it from a PHP application as follows:<br><br>$sock->SendRecv("events plain ALL");<br>$sock->SendRecv("filter unique-id 12345");<br>
$sock->sendRecv("filter Event-Name CHANNEL_ANSWER");<br>$sock->sendRecv("filter Event-Name CHANNEL_HANGUP");<br>$sock->sendRecv("filter Event-Name CHANNEL_HANGUP_COMPLETE");<br><br>In the case above, I start seeing the events coming from CHANNEL_ANSWER and thereafter all events for that uuid is received.<br>
Even if I write:<br><br>$sock2->SendRecv("events plain ALL");<br>$sock2->SendRecv("filter unique-id 12345");<br>$sock2->sendRecv("filter Event-Name CHANNEL_HANGUP_COMPLETE");<br><br>
I get all the events belonging to uuid 12345 starting from CHANNEL_ANSWER event name. I also tried doing "myevents 12345 plain" and then applying filters but it still doesnt work as expected.<br>I tried googling a bit but could'nt find much help. Anybody pointing me to a proper direction in this regards is highly appreciated.<br>
<br>Thanks,<br><br>--- Jayesh<br>