Hello Chad,
If you check the code at the line mentioned:
sub getVoipVsa {
my ($self) = @_;
my $logger = $self->logger;
my $vlanid = sprintf( "%03x\n", $self->getVlanByName($VOICE_ROLE) );
my $hexvlan = hex( "31000" . $vlanid );
return ( 'Egress-VLANID' => $hexvlan, );
}
What is the VLAN id that you want to return ?
Thanks,
The VLAN ID for Voice should be 202. From troubleshooting, I am able to get the
proper VOICE VLAN assignment if I use the Packetfence::Standard switch
template, but some other features are not functioning on the Aruba 2930
switches I have. The main difference I see in the templates is:
Packetfence:: Standard::VOIP Scope uses Tunnel-Private-Group-Id
$switch._voiceVlan
HP::Switch::VOIP Scope uses Egress-VLAN-Name 1$(switch._voiceRole)
---------------------------------------------------------------
Chad Jemison
Director of IT
Seneca Gaming Authority<http://www.sni.org/sga>
345 Third Street, Suite 404
Niagara Falls, New York 14303
716-299-1246 x267
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users