[Freeswitch-users] Call_group intercept

Michael Collins msc at freeswitch.org
Mon May 21 20:14:44 MSD 2012


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?

-MC

On Sun, May 20, 2012 at 11:51 PM, Miha <miha at softnet.si> wrote:

>  HI,
>
> I read wiki tutorial about call group intercept (
> http://wiki.freeswitch.org/wiki/Callgroup_intercept) ans also implemented
> it. (If I make call intercept which is not for callgroup it works)
>
> I put this in public dialplan, so that every call UUID will be inserted in
> mysql database.
>
>  <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}"/>
>
>
>
> 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?
>
> THanks!
>
> Miha
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120521/9a55eb5b/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list