Building full image that's supposed to contain asterisk-chan-quectel #2
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/openwrt#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lee.miller/openwrt:quectel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
You've got a toolchain for
aarch64_cortex-a72_gcc-11.2.0_musl
and a factory world in the container.This builds a custom image with config changes in the
config.extra
(from yourmake image
PACKAGES
plusasterisk-chan-quectel
), those .gz should appear in the out together with packages.Final build lasted for 57:40 min.
a12dd441ae
to7711e71476
cb4bb41e58
to1da3e27066
Well, apparently the SDK builds a package alongside with a large dependencies subtree. Not so fast, but there is no need for three hours of building a toolchain (maybe you need to do
docker image prune
on one of your servers );The builder makes an image, which is going to
out
together with packages dir (maybe I need to copytelephony
andquectel
with dirs?), now you can check.@ -14,0 +20,4 @@
cat ${pwd}/feeds.conf >> feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
I think lines 23 and 25 should be skipped, no? That would just recompile unnecessarily. The documentation doesn't mention these steps, only
feeds update
and thenfeeds install packagename
.See also from the documentation:
It seems trying to run
make menuconfig
if I removemake defconfig
, see at line 2043.It's not working also without feeds install, see line 1979.
I'll check the build logs.
Ok I don't know how to fix it either, at least it doesn't look like it's compiling everything, only some dependencies, so it's fine. I tried a full build previously and it takes several hours: https://buildbot.bitmessage.org/#/builders/33/builds/14862
I will rarely build this so it's not a big deal if I have to wait an hour.
While I think a part of the process can be skipped, it's exactly what I wanted, thanks. I haven't tested it yet but will shortly.
Test looks good.
device state
shows among other thingsI was also able to successfully send a SMS from asterisk. I'm having trouble setting up voice and receiving SMS but I think that's due to configuration issues (I'm new to asterisk so I don't know what I'm doing)
Notes:
missing packages to bundle in the image:
kmod-usb-audio
asterisk-app-sms
alsa-lib
user
asterisk
needs to be added to groupsaudio
anddialout
bd2e3823c7
toed3791fe1c
Receiving an SMS is even easier, you don't need asterisk for that, gammu-smsd is enough. When I worked at office, I had a simple script for qNAP with a Huawei modem reacting to an SMS (;
Here is a gammu config:
The
gammu
is started as/usr/bin/gammu-smsd -c /etc/smsdie/gammu-smsdrc -d --pid=$PIDFILE > $QDK_DIR/smsdie.log
.Yea I used
smsd
in the past to receive messages with some USB modem, I just wanted to test asterisk. It did show in the logs that there is an incoming SMS but it couldn't be processed due to missing configuration. It just logged an error and deleted the SMS from the SIM. So I think the code is fine, just missing config. The audio device showed up once I installed the alsa-usb module so I think voice calls will also work.I tried asterisk with two cards, Quectel EC20 and EC25-EUX, it works with both, I don't need to test with more models, the EC20 is the default one they ship with the device so I'll stick with that.
Also one more thing, I use the
uac/quectel.conf
file instead of theetc/quectel.conf
, Quectel wrote on some forum that the UAC audio mode should be preferred.