Hmm. I
don't think there was anything too complicated about setting up the Gateway to
do the IVR part. But I didn't do that part :) I handled the Radius part. That
was a little tricky. For the IVR script that we chose on the Gateway, it works
like this:
To
handle both cases, we put the following hook in the main <Client>
clause:
# Get the
decoded password from the input packet and add an
attribute
# to the input packet if it is blank. Set the decoded password equal # to the user name attribute. PreHandlerHook sub {if (${$_[0]}->decodedPassword() eq '') \ {${$_[0]}->add_attr('ANI-No-Pass', 'true'); \ ${$_[0]}->{DecodedPassword} =${$_[0]}->get_attr('User-Name');}} and
then we use two Handlers for the two different cases:
Then,
in LDAP_AUTH AuthBy we have:
UsernameAttr
uid
PasswordAttr pass whereas in the LDAP_AUTH_NO_PASSWORD AuthBy we
use:
UsernameAttr uid
PasswordAttr uid
It
works quite nicely. If there's a smoother solution, I'd love to know of
it!
Dave
|
Title: Message
- RE: (RADIATOR) Working with Cisco IVR Kitabjian, Dave
- RE: (RADIATOR) Working with Cisco IVR Ingvar Berg (EIP)