Gammu 1.36.8 - SMS gateway - code PIN supported
1.5K
You must share device /dev/ttyUSBX as /dev/mobile in order to make connect gammu to your GSM hardware the PIN ENV variable allow you to specified a SIM PIN code
using docker-compose.yml
gammu:
image: urielch/gammu:lastest
devices:
- "/dev/ttyUSB0:/dev/mobile"
environment:
# SIM PIN CODE
PIN: 0000
PHONE_NUMBER=00123456789
echo My message | docker exec -i sms_gammu_1 gammu-smsd-inject TEXT $PHONE_NUMBER -len 400
docker logs sms_gammu_1
Content type
Image
Digest
Size
172.3 MB
Last updated
almost 11 years ago
docker pull urielch/gammu