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