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

Anthony Minessale anthony.minessale at gmail.com
Mon Feb 14 20:02:33 MSK 2011


try patch in latest GIT HEAD

On Mon, Feb 14, 2011 at 7:04 AM, Chris Hemmings <chris at cheeky.org> wrote:
> 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
>>
>
>
> _______________________________________________
> 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
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list