[Freeswitch-users] Call_group intercept
Miha
miha at softnet.si
Wed May 23 10:42:57 MSD 2012
Hi @Michal,
thank you for your reply. I noticed that it was different problem.
<action application="set"
data="called_party_callgroup=${user_data(${destination_number}*.fs_kabelvoip2*@${domain}
var callgroup)}"/>
Thanks!
Miha
On 5/22/2012 9:07 AM, Michael Collins wrote:
> HI @Michal,
>
>
> I have defined callgroup for users that I would like to have in
> the same callgroup.
>
> After call hit public dialplan I make <action application="info"
> /> 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.
> Would it be better to redirect call to default dialplan?
>
> Regards,
> Miha
>
>
> If your calls are hitting the public context then that suggests to me
> that you are not authenticating the user when he/she calls. If you
> don't authenticate then you don't get the user's channel variables.
> This happens, e.g., when you let callers in via ACL with a rule in the
> "domains" ACL.
>
> If you know which user it is supposed to be then you can cheat and use
> the set_user app:
> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user
>
> -MC
>
>
> _________________________________________________________________________
> 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/20120523/a7ca5459/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list