Making SMS work with house alarm again.
Some time ago, Eir ceased the SMS center feature, so house alarms couldn't send SMS's any more. to make things worse, they would try, and eventually time out.
Asterisk can act as a service center for SMSs, so setting up a sipura ATA to take the call from the alarm panel , convert it to sip and send it to asterisks, ends up with the SMS sitting in /var/spool/asterisk/sms
I used astlinux on an alix system as my asterisks setup, and added this to the extensions.conf
exten => 1234/98765,1,Verbose(Receiving SMS from ${CALLERIDNUM})
exten => 1234/98765,2,Answer
exten => 1234/98765,3,Wait(1)
exten => 1234/98765,4,SMS(sms_fixedline,as)
exten => 1234/98765,5,Hangup
and made sure the call was routed to this extension.
you can simple cron watching the spool directory, pick the sms and forward via an sms provider with curl ...
Some time ago, Eir ceased the SMS center feature, so house alarms couldn't send SMS's any more. to make things worse, they would try, and eventually time out.
Asterisk can act as a service center for SMSs, so setting up a sipura ATA to take the call from the alarm panel , convert it to sip and send it to asterisks, ends up with the SMS sitting in /var/spool/asterisk/sms
I used astlinux on an alix system as my asterisks setup, and added this to the extensions.conf
exten => 1234/98765,1,Verbose(Receiving SMS from ${CALLERIDNUM})
exten => 1234/98765,2,Answer
exten => 1234/98765,3,Wait(1)
exten => 1234/98765,4,SMS(sms_fixedline,as)
exten => 1234/98765,5,Hangup
and made sure the call was routed to this extension.
you can simple cron watching the spool directory, pick the sms and forward via an sms provider with curl ...
Comments
Really Appreciated !
We Are Also A Bulk SMS Provider
Have A Look At Our Site Also !!