Page 1 of 1

Linux 2 way sms2email/email2sms gateway

Posted: Tue Feb 19, 2013 3:59 pm
by sevensins
Salaam,

I have a gsm modem successfully running on a windows machine running ActiveSMS demo product. The idea is that a user sends an sms to a specific number, the sms-gateway recvs the sms and forwards it to an email box .e.g. support@localhost , There is another mailbox supportreply@localhost which the sms-gateway connects to after every 2 mins and gets the email, strips the number from the email rcpt and sends the email body as sms to the number.

I have searched for an opensource product which gives me both the functionality as described but unfortunately haven't found one. Can any one of the esteemed members point me towards some opensource 2way smstoemail/emailtosms gateways.

Re: Linux 2 way sms2email/email2sms gateway

Posted: Mon Mar 11, 2013 3:09 pm
by intizar
Walikum asalam,

you can setup this type of scenario with this http://playsms.org/ , this is an awsum application or you can use gnokii or smstools alone to receive sms and perform some parsing with shell scripts or with perl scripts. these application can trigger another application upon receiving a sms , e.g you can write a shell/perl script which can parse the content of a sms and can find a unique match . you can run gonkii to trigger a script as follows

Code: Select all

/your_installation_path/smsd -m file -c /your_spooldirectory/ -u /your_shell/perl_script -f /ur_logs


for further information plz read http://wiki.gnokii.org/index.php/User%27s_Guide