Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the fix_avaya issue already added? #8588

Open
JeGoi opened this issue Mar 14, 2025 · 1 comment
Open

Is the fix_avaya issue already added? #8588

JeGoi opened this issue Mar 14, 2025 · 1 comment

Comments

@JeGoi
Copy link
Contributor

JeGoi commented Mar 14, 2025

Describe the bug
From https://sourceforge.net/p/packetfence/mailman/packetfence-users/thread/1720136717.11234296.1556099781504.JavaMail.zimbra%40novasys.coop/#msg36648083

On raddb/policy.d/packetfence

fix_avaya {

     if (!&Calling-Station-Id) {
         if (&User-Name && (&User-Name =~ /^${policy.mac-addr-regexp}$/i)) {
             update {
                 &request:Calling-Station-Id := 
"%{tolower:%{1}%{2}%{3}%{4}%{5}%{6}}"
             }
         }
     }
}

and in conf/radiusd/packetfence (Here
https://github.com/inverse-inc/packetfence/blob/devel/conf/radiusd/packetfence.example#L15),
add fix_avaya

Like that:


#  need to setup hints for the remote radius server
authorize {
     fix_avaya
     # Add in PacketFence specific configuration
     update {

The solution is working and used by at least one client.

Could it be added to our code?

Thanks

@fdurand
Copy link
Member

fdurand commented Mar 17, 2025

Will have to create a Admin UI configuration parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants