This seemed to work for me in Perl:

$con->sendRecv("event plain ALL");
$con->sendRecv("filter Unique-ID ".$uuid);
$con->sendRecv("filter Unique-ID ".$out_uuid);

Cheers,

Chris

On 14 February 2011 11:46, Stephen Wilde <wstephen80@gmail.com> wrote:
If I have 2 uuid (uuid_inbound and uuid_outbound) in an ESL socket outbound application, there is a way to filter events related to this two uuid?

If I try to do:

connection.filter("unique-id", uuid_inbound);
connection.filter("unique-id", uuid_outbound);

it seems that the second filter overwrite the first one and my application receives only uuid_outbound related events.

I have tried also an:

connection.filter("unique-id", uuid_inbound + "|" + uuid_outbound);

but in this way no event are received.

There is a way to filter 2 specific uuid's or I have to receive all events and implement the filtering in my ESL application?

Stephen

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org