Answer the question
In order to leave comments, you need to log in
How to glue long SMS (Asterisk, chan_dongle)?
Actually, as everyone knows, long SMS messages are divided into pieces.
First comes the first part of the message and then the rest.
But after the arrival of the first message, he already sent a letter. And actually pieces of the message then are divided into letters.
How to be?
gsm01 sms 1 System echo 'From: [email protected]\nTo: [email protected]\nSubject: Входящее сообщение\nContent-Type: text/plain\073 charset=UTF-8\073 format=flowed\nMime-Version: 1.0\n\n${BASE64_DECODE(${SMS_BASE64})}' >> /root/SMS.txt
gsm01 sms 2 System ssmtp -v [email protected] < /root/-SMS.txt
gsm01 sms 3 Hangup
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question