[Freeswitch-users] Directory entry variables not set on channel when user authenticated by cidr and domains ACL?
Dmitry Sytchev
kbdfck at gmail.com
Tue Nov 6 15:48:23 MSK 2012
Hi all!
I use xml_curl to get subscriber information from database when they
authenticate with username/password. In my directory script I specify
<params> and <variables> for user entry, and they are set on channel.
Now I'm trying to achieve customer authentication by IP address instead of
username/password.
I have
<list name="domains" default="deny">
<node type="allow" domain="$${domain}"/>
</list>
and apply-inbound-acl="domains" at users' profile, and passwordless
authentication works fine for users with "cidr" attribute, but FS doesn't
set channel variables I return in directory entries in response to
'network-list' request on 'reloadacl', for example.
Since my dialplan logic relies on these variables (like customer ID and so
on), dialplan scripts don't see these vars on incoming calls from users
authenticated by domains ACL and fail their calls :(
Is this normal behaviour or I'm missing something? How can I get user
variables from my DB set on channel when authenticating call by CIDR
attribute?
--
Best regards,
Dmitry Sytchev,
IT Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121106/90e2deb0/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list