This seemed to work for me in Perl:<br><br>$con->sendRecv("event plain ALL");<br>$con->sendRecv("filter Unique-ID ".$uuid);<br>$con->sendRecv("filter Unique-ID ".$out_uuid);<br><br>Cheers,<br>
<br>Chris<br><br><div class="gmail_quote">On 14 February 2011 11:46, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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?<div><br><div>If I try to do:</div><div><br></div><div>connection.filter("unique-id", uuid_inbound);</div>
<div>connection.filter("unique-id", uuid_outbound);</div><div><br></div><div>it seems that the second filter overwrite the first one and my application receives only uuid_outbound related events.</div><div><br>
</div>
<div>I have tried also an:</div><div><br></div><div>connection.filter("unique-id", uuid_inbound + "|" + uuid_outbound);</div><div><br></div><div>but in this way no event are received.</div><div><br></div>
<div>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?</div><div><br></div><font color="#888888"><div>Stephen</div></font></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>