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

The codec_opus.os module for asterisk-18.25.0 cannot be found. Is there a solution #567

Open
liunaqq opened this issue Nov 6, 2024 · 3 comments

Comments

@liunaqq
Copy link

liunaqq commented Nov 6, 2024

Hello, your project is very good, I use asterisk-18.25.0, but I can't find codec_opus.os module, can you give me one, or how did you generate it? My current system is Raspberry PI 5, arm system. Thank you very much

@InnovateAsterisk
Copy link
Owner

Tip

Make sure that ts it not just a typo - it would be codec_opus.so (not .os as specified in the title above)

The last time I tried this was on Asterisk 16 on a Raspberry Pi 4. But from what i understand, Asterisk still don't offer the codec_opus.so as part of the menu select options for ARM based systems.

Download it from there: https://github.com/InnovateAsterisk/Browser-Phone/tree/master/modules/ast-16

Note

Asterisk 16 (and above i guess) will check that the checksum of the .so files in modules folder matches the id generated at make menuselect, so you need to update the checksum in codec_opus_arm.so:

$ nano /home/pi/asterisk-16.*.0/include/asterisk/buildopts.h

Take note of the AST_BUILDOPT_SUM (copy the value), then perform a replace of my old checksum like this:

$ sudo sed -i 's/1fb7f5c06d7a2052e38d021b3d8ca151/<value of AST_BUILDOPT_SUM>/g' /usr/lib/asterisk/modules/codec_opus_arm.so

Let me know if this works.

@liunaqq
Copy link
Author

liunaqq commented Nov 7, 2024 via email

@hanyuanzhong
Copy link

Tip

Make sure that ts it not just a typo - it would be codec_opus.so (not .os as specified in the title above)

The last time I tried this was on Asterisk 16 on a Raspberry Pi 4. But from what i understand, Asterisk still don't offer the codec_opus.so as part of the menu select options for ARM based systems.

Download it from there: https://github.com/InnovateAsterisk/Browser-Phone/tree/master/modules/ast-16

Note

Asterisk 16 (and above i guess) will check that the checksum of the .so files in modules folder matches the id generated at make menuselect, so you need to update the checksum in codec_opus_arm.so:

$ nano /home/pi/asterisk-16.*.0/include/asterisk/buildopts.h

Take note of the AST_BUILDOPT_SUM (copy the value), then perform a replace of my old checksum like this:

$ sudo sed -i 's/1fb7f5c06d7a2052e38d021b3d8ca151/<value of AST_BUILDOPT_SUM>/g' /usr/lib/asterisk/modules/codec_opus_arm.so

Let me know if this works.

https://github.com/InnovateAsterisk/Browser-Phone/tree/master/modules/ast-16
Hello, thank you very much for your reply, there is only ast-16 under this link, I now want to use asterisk18.25.0, how do I build the 18 version of codec_opus.so?

Note: Asterisk 16 will check that the checksum of the .so files in modules folder matches the id gerenated at make menuselect, so you need to update the checksum in codec_opus_arm.so:

asterisk16 version, can work, thank you very much for your offer of project, it is very good,

Can you show me how to create codec_opus_arm.so for asterisk version 18.25.0, thank you again

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

No branches or pull requests

3 participants