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

Using asterisk addon with chan HW device drivers #342

Open
litinoveweedle opened this issue Aug 10, 2024 · 4 comments
Open

Using asterisk addon with chan HW device drivers #342

litinoveweedle opened this issue Aug 10, 2024 · 4 comments

Comments

@litinoveweedle
Copy link

Hello,

I have question regarding your intentions about extending chan modules for other devices.
Currently you are compiling chan_dongle, but it seems, it is not used, as any HW device mapping is missing in the compose, and therefore it will not be accessible by asterisk.

I extended original docker file to compile chan_quectel (for 4g/LTE) devices, as chan_dongle only supports 3G/UMTS modems. Will you be interested in PR? To work it would be again also needed to extend docker_compose.yaml for apropriate devices mappings.

@felipecrs
Copy link
Collaborator

This is a Home Assistant add-on. chan_dongle can access devices thanks to this:

uart: true # chan-dongle requirement

And yes, it works normally. I used it for years.

As per docker compose, it is a secondary use case. I'd say we expect users to know what they are doing if they are using docker compose, and therefore know what they need to include in their compose.yaml.

As per chan_quectel, would it replace the existing chan_dongle compilation (i.e. does it retain support for the devices supported by chan_dongle? If yes, then I'd say yes for sure. Otherwise, it would be nice to know how much bigger the image would be like with chan_quectel.

@litinoveweedle
Copy link
Author

Hello,

sorry I missed that HA config.yaml, this should make the trick.

chan_quectel is just another asterisk module/driver, so it doesn't replace chan_dongle, those can even be used together.

regarding the size, it is minimal, you can check it here: https://github.com/litinoveweedle?tab=packages&repo_name=asterisk-hass-addons

I will open PR so you can check it out. Another question, is there any reason why you are compiling asterisk from source and not using either debian package or compiling from package sources?

@litinoveweedle
Copy link
Author

opened PR #343

@felipecrs
Copy link
Collaborator

Yes, there was a reason. I don't remember it though.

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

2 participants