Add documentation for asterisk-chan-quectel

This commit is contained in:
Peter Šurda 2023-01-06 23:24:50 +08:00
parent 5e9075b5c8
commit ec472a14e8
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 10 additions and 2 deletions

View File

@ -1,9 +1,16 @@
#!/bin/bash
# use imagebuilder
ls -lah /Downloads
# use the SDK to build the module:
# https://github.com/IchthysMaranatha/asterisk-chan-quectel
# The module is for two vendors, the Quectel-EC* and Simcom SIM7600. In
# preparation I bought one of each (EC25EUX and SIM7600G specifically), I don't
# really care if only one will work, then I'll just buy more of that specific
# vendor's model.
# now I noticed there is actually a Makefile for openwrt in the repo already:
# https://github.com/IchthysMaranatha/asterisk-chan-quectel/tree/master/openwrt
tar -xJf /Downloads/openwrt-imagebuilder-${OPENWRT_VERSION}-*.tar.xz
cd openwrt-imagebuilder-*/
@ -17,5 +24,6 @@ make image \
asterisk-codec-alaw asterisk-codec-ulaw \
asterisk-res-rtp-asterisk kmod-nf-nathelper-extra"
mkdir -p ../../out
mv build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/tmp/*.gz ../../out