A
A
Aristes2014-07-31 12:49:39
Asterisk
Aristes, 2014-07-31 12:49:39

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

ZY: I have Realtime. Asterisk 1.8.15. E173Huawei

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-08-16
@rostel

Receive in PDU format via AMI.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question