Skip to content

Conversation

@GiuTav
Copy link

@GiuTav GiuTav commented Dec 2, 2025

No description provided.

@OCA-git-bot
Copy link
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@etobella
Copy link
Member

etobella commented Dec 2, 2025

Justify the change, I am not sure if this should be modified, as this is the external library

@GiuTav
Copy link
Author

GiuTav commented Dec 2, 2025

Justify the change, I am not sure if this should be modified, as this is the external library

The change is justified because this parameter is not required for all PBX systems. By making it negotiated based on the PBX, the parameter is used only when necessary, depending on the specific configuration.

@etobella
Copy link
Member

etobella commented Dec 2, 2025

But this is not the way for solving it. This comes from the library. You should try to find how to configure it and allow user to define it.

@GiuTav
Copy link
Author

GiuTav commented Dec 2, 2025

But this is not the way for solving it. This comes from the library. You should try to find how to configure it and allow user to define it.

I took inspiration from the Odoo Enterprise VoIP module, where the driver is configured so it can work with different PBX systems. With this approach, the parameter comes from the library but is exposed as a configuration option, so each user can define it according to their PBX instead of being constrained to a single fixed behavior

@etobella
Copy link
Member

etobella commented Dec 2, 2025

You enforced the change on the library file, If you want to do that, you need to add an option on the pbx configuration and pass it.

@GiuTav
Copy link
Author

GiuTav commented Dec 2, 2025

I would appreciate your advice on how to implement this change correctly. If you could guide me on adding the option to the PBX configuration and passing it properly, I would be very grateful.

@etobella
Copy link
Member

etobella commented Dec 3, 2025

Add a field in voip.pbx with the possible values in voip.pbx and default value require.

Pass the value to the frontent using _voip_get_info in res.users

Add the parameter here using a new key

sessionDescriptionHandlerFactoryOptions: {
rtcpMuxPolicy: parameter,
}

Just warning that this is an approach, review it and improve it

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants