<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 5/21/2012 6:14 PM, Michael Collins wrote:
    <blockquote
cite="mid:CAKzWOxWLarRbi-Vz9zN9eCbsWR_9nsKb4=Z+JWwjHCHXLCn3tQ@mail.gmail.com"
      type="cite">I think that perhaps you are misunderstanding what the
      instructions on that wiki page are doing. The var "callgroup" is
      set in the user'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 moz-do-not-send="true"
            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
              moz-do-not-send="true"
              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="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/&gt;
 &lt;action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/&gt;
&nbsp;&lt;action application="bridge" data="user/${dialed_ext}@$${domain}"/&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 moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" 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 moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    HI @Michal,<br>
    <br>
    I have defined callgroup for users that I would like to have in the
    same callgroup.<br>
    <br>
    After call hit public dialplan I make &lt;action application="info"
    /&gt; but in log I can not see that any variable for that user is
    set. If I make call from default dialplan variables are set and I
    can use them.<br>
    Would it be better to redirect call to default dialplan?<br>
    <br>
    Regards,<br>
    Miha<br>
  </body>
</html>