Hi everybody
i create some time ago a GUI to chan_dongle to send massive sms
http://www.pcbackup.it/asterisk-chan_dongle-huawei-graphical-interface-to-sms-massive-sending/
but using the dongle even to perform calls and to receive sms cause sometimes the dongle to hung and reinitialize…so losing some outgoing sms
is there a way to send sms via call file ?
I wish i could use call file so that when dongle is not ready to send ,the sms (call file) still remained in spool directory
Now i’m using local channel to do this but without any check on dongle status so call files are deleted even if not sended
the gui generated call file
Channel: local/10@call-file-test
Application: Playback
Data: silence/1&tt-weasels
Setvar: Destination=+39xxxxxxxxxx
Setvar: testo=provaxxx
MaxRetries: 2
RetryTime: 60
the local channel extension
[call-file-test]
exten => 10,1,Answer()
exten => 10,n,DongleSendSMS(dongle0,${Destination},${testo},)
exten => 10,n,Hangup()