[Freeswitch-users] ESL: how to filter two uuid's?

Chris Hemmings chris at cheeky.org
Mon Feb 14 16:04:12 MSK 2011


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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110214/8e0d5819/attachment.html 


More information about the FreeSWITCH-users mailing list