<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
HI,<br>
<br>
I read wiki tutorial about call group intercept
(<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Callgroup_intercept">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> <action application="set" data="called_party_callgroup=${user_data(${dialed_ext}@${domain} var callgroup)}"/>
<action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="user/${dialed_ext}@$${domain}"/>
</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!<br>
<br>
Miha<br>
</body>
</html>