-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Closed
Copy link
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Milestone
Description
If one of the extensions in the dial string has SRTP disabled, isTrunk = 1 header is used for all extensions called. This is because the freepbx func-set-sipheaders is called once before the Dial, but then func-apply-sipheaders is called once for each extension in the dial with always the same headers.
The consequence is that if the encrypted extension has strict SRTP (like it is for the mobile app), call fails
This bug is introduced with nethesis/ns8-nethvoice#489
Steps to reproduce
- give to an user two devices, one encrypted one not encrypted
- call user
Expected behavior
- isTrunk=1 header should be present only in the INVITE for the unencrypted extension
Actual behavior
- both INVITE has isTrunk=1 header
Workaround
- Enable encryption for all user's extensions
See also
https://mattermost.nethesis.it/nethesis/pl/p8ncyx9j87yqzfkr9idghezxoa
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Type
Projects
Status
Done