Walking through the code I found a problem..

I'll file a ticket, do a patch and come back to you this afternoon with
a patch to try.


Here's the ticket:
#1202: RADIUS VoIP authorization issues
http://www.packetfence.org/bugs/view.php?id=1202

And attached is the patch.

This might or might not fix everything though. Increase verbosity in the radius and Cisco subsystems by adding the following in your conf/log.conf:
log4perl.category.pf.radius = TRACE
log4perl.category.pf.SNMP.Cisco = DEBUG

Then re-test and check your logs.

Cheers!
--
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
#
# old_revision [565bd3a9f1347831c7aa323afae24d84864bb1be]
#
# patch "pf/lib/pf/radius.pm"
#  from [44c47dda78009b6f1cd6150e686cea8e838309cd]
#    to [7cf85c5913b678b95f6364271bb876570339c681]
#
============================================================
--- pf/lib/pf/radius.pm 44c47dda78009b6f1cd6150e686cea8e838309cd
+++ pf/lib/pf/radius.pm 7cf85c5913b678b95f6364271bb876570339c681
@@ -373,8 +373,7 @@ sub _authorizeVoip {
     }
 
     locationlog_synchronize(
-        $switch->{_ip}, $this->_translateNasPortToIfIndex($port), 
$switch->{_voiceVlan}, $mac, 
-        VOIP, $connection_type, $user_name, $ssid
+        $switch->{_ip}, $port, $switch->{_voiceVlan}, $mac, VOIP, 
$connection_type, $user_name, $ssid
     );
 
     my %RAD_REPLY = $switch->getVoipVsa();
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to