Linux 2 way sms2email/email2sms gateway

General discussion about Linux, Linux distribution, using Linux etc.
Post Reply
sevensins
Havaldaar
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
Location: PAKISTAN
Contact:

Linux 2 way sms2email/email2sms gateway

Post 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.
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
intizar
Cadet
Posts: 8
Joined: Tue Jul 15, 2008 8:11 pm
Location: Multan

Re: Linux 2 way sms2email/email2sms gateway

Post 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
just do it,
Post Reply