<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Can you show me exactly how you are overriding them in dialplan?  This should work.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 12, 2018, at 6:40 PM, Alex Goulis <<a href="mailto:agoulis@opensips.org" class="">agoulis@opensips.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class=""><div class=""><div class="">Man thanks for digging deeper... </div><div class=""><br class=""></div><div class="">unfortunately I have an identical match to Pairs 0-3 in my tests.   Ie, they all have the same user/domain in them. And they all match the user/domain I set when invoking userspy.</div><div class=""><br class=""></div><div class="">The events after the invite show them populated as well. </div><div class=""><br class=""></div><div class="">I'm pretty sure the eavesdrop trigger happens before I can manually override them with dialplan on the incoming call to be targeted.</div><div class=""><br class=""></div><div class="">Happy to test any scenario you can further think of though.</div><div class=""><br class=""></div><div class="">Alex</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div id="composer_signature" class=""><div style="font-size:85%;color:#575757" dir="auto" class="">Sent via the Samsung Galaxy Note8, an AT&T 4G LTE smartphone</div></div><div class=""><br class=""></div><div style="font-size: 100%;" class=""><!-- originalMessage --><div class="">-------- Original message --------</div><div class="">From: Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> </div><div class="">Date: 10/12/18  3:53 PM  (GMT-07:00) </div><div class="">To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>> </div><div class="">Subject: Re: [Freeswitch-users] mod_spy, does it only work for registered users? </div><div class=""><br class=""></div></div>After talking to you about this, I just took a look. No its not based on registered users, but authed users will probably more reliably set the right variables to figure out the right user to match to.  Trick is to have the vars set to be able to look them up.<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    username[0] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"Caller-Username"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                            </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    domain[0] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_domain_name"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                         </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                </span><br class="webkit-block-placeholder"></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    username[1] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_dialed_user"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                       </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    domain[1] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_dialed_domain"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                       </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                </span><br class="webkit-block-placeholder"></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    username[2] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_user_name"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                         </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    domain[2] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_domain_name"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                         </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                </span><br class="webkit-block-placeholder"></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    username[3] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_sip_to_user"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                       </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    domain[3] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_domain_name"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                         </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                </span><br class="webkit-block-placeholder"></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    username[4] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_verto_user"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                        </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    domain[4] = switch_event_get_header(event, </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900" class="">"variable_verto_host"</span><span style="font-variant-ligatures: no-common-ligatures" class="">);                                                                                          </span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It has to match one of those pairs.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 5, 2018, at 6:24 PM, Alex Goulis <<a href="mailto:agoulis@opensips.org" class="">agoulis@opensips.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class=""><div class=""><div class="">Hi all...</div><div class=""><br class=""></div>Does the userspy application only target registered users or can you use it to spy calls to let's say calls to a DID?</div></div></blockquote></div></div></div></div></blockquote></div><br class=""></body></html>