I think that perhaps you are misunderstanding what the instructions on that wiki page are doing. The var &quot;callgroup&quot; is set in the user&#39;s directory entry. Did you do that for each user in your pickup group?<br>
<br>-MC<br><br><div class="gmail_quote">On Sun, May 20, 2012 at 11:51 PM, Miha <span dir="ltr">&lt;<a href="mailto:miha@softnet.si" target="_blank">miha@softnet.si</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    HI,<br>
    <br>
    I read wiki tutorial about call group intercept
    (<a href="http://wiki.freeswitch.org/wiki/Callgroup_intercept" target="_blank">http://wiki.freeswitch.org/wiki/Callgroup_intercept</a>) ans also
    implemented it. (If I make call intercept which is not for callgroup
    it works)<br>
    <br>
    I put this in public dialplan, so that every call UUID will be
    inserted in mysql database. <br>
    <pre><small> &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}&quot;/&gt;
 &lt;action application=&quot;db&quot; data=&quot;insert/last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;
 &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_ext}@$${domain}&quot;/&gt;


</small></pre>
    When call hit public dialplan I can not access variable callgroup.
    As callgroup variable is not set I can not make right mysql insert.
    What is the best way to deal with this?<br>
    <br>
    THanks!<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Miha<br>
  </font></span></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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>