Yes, that will work. You can set the group either within the extension or in the user config.<br><br>For example:<br><br> &lt;extension name=&quot;bridge&quot;&gt;<br>
     &lt;condition field=&quot;destination_number&quot; expression=&quot;^9(\d+)$&quot;&gt;<br>       &lt;action application=&quot;set&quot; data=&quot;eavesdrop_group=spy1&quot;/&gt;<br>
       &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/gw1/$1&quot;/&gt;<br>
     &lt;/condition&gt;<br>
   &lt;/extension&gt;<br> 
&lt;extension name=&quot;eavesdrop&quot;&gt;<br>
     &lt;condition field=&quot;destination_number&quot; expression=&quot;^666$&quot;&gt;<br>
       &lt;action application=&quot;answer&quot;/&gt;<br>       &lt;action application=&quot;set&quot; data=&quot;eavesdrop_require_group=spy1&quot;/&gt;<br>
       &lt;action application=&quot;eavesdrop&quot; data=&quot;all&quot;/&gt;<br>
     &lt;/condition&gt;<br>
   &lt;/extension&gt;<br>
<br><br>-Steve<br><br><br><div class="gmail_quote">On 20 January 2011 10:11, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>&gt;</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 use<br><br>&lt;variable name=&quot;eavesdrop_group&quot; value=&quot;spy1&quot;/&gt;<br><br>at the user config, will the  dialplan barge the above extension where the statement is stated ?<br><br><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: sans-serif; font-size: 13px; line-height: 19px;"><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;">
&lt;extension name=&quot;eavesdrop&quot;&gt;<br>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^779$&quot;&gt;<br>       &lt;action application=&quot;answer&quot;/&gt;<br>       &lt;action application=&quot;set&quot; data=&quot;eavesdrop_require_group=sales_call_eavesdrop&quot;/&gt;<br>

       &lt;action application=&quot;eavesdrop&quot; data=&quot;all&quot;/&gt;<br>     &lt;/condition&gt;<br>   &lt;/extension&gt;</pre></span></span><br>Regds<br><font color="#888888">Sam</font><div><div></div><div class="h5">
<br><br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">
On Thu, Jan 20, 2011 at 3:13 PM, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</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;">

hello ,<br><br>I am using,<br><br><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: sans-serif; font-size: 13px; line-height: 19px;"><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;">
&lt;extension name=&quot;global&quot; continue=&quot;true&quot;&gt;<br>     &lt;condition&gt;<br>       &lt;action application=&quot;info&quot;/&gt;<br>       &lt;action application=&quot;db&quot; data=&quot;insert/spymap/${caller_id_number}/${uuid}&quot;/&gt;<br>


       &lt;action application=&quot;db&quot; data=&quot;insert/last_dial/${caller_id_number}/${destination_number}&quot;/&gt;<br>       &lt;action application=&quot;db&quot; data=&quot;insert/last_dial/global/${uuid}&quot;/&gt;<br>


     &lt;/condition&gt;<br>   &lt;/extension&gt;<br></pre><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;">   &lt;extension name=&quot;eavesdrop&quot;&gt;<br>


     &lt;condition field=&quot;destination_number&quot; expression=&quot;^88(.*)$|^\*0(.*)$&quot;&gt;<br>       &lt;action application=&quot;answer&quot;/&gt;<br>       &lt;action application=&quot;eavesdrop&quot; data=&quot;${db(select/spymap/$1)}&quot;/&gt;<br>


     &lt;/condition&gt;<br>   &lt;/extension&gt;</pre></span></span><br><br>i am getting the below error:-<br><br>2011-01-20 14:54:01.581151 [NOTICE] mod_dptools.c:920 Channel [sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a>] has been answered<br>


2011-01-20 14:54:01.581151 [DEBUG] sofia.c:4646 Channel sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a> entering state [completed][200]<br>EXECUTE sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a> eavesdrop()<br>


2011-01-20 14:54:01.582119 [ERR] mod_dptools.c:529 Usage: [all | &lt;uuid&gt;]<br>2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:189 sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a> has executed the last dialplan instruction, hanging up.<br>


2011-01-20 14:54:01.582119 [DEBUG] switch_channel.c:2535 (sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a>) Callstate Change ACTIVE -&gt; HANGUP<br>2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/<a href="mailto:7006@192.168.2.190" target="_blank">7006@192.168.2.190</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>


<br><br><a href="http://pastebin.freeswitch.org/15076" target="_blank">http://pastebin.freeswitch.org/15076</a><br><br><br>Regds<br><font color="#888888">Sam<br>
</font></blockquote></div><br>
</div></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>