Linux 2 way sms2email/email2sms gateway

General discussion about Linux, Linux distribution, using Linux etc.

Linux 2 way sms2email/email2sms gateway

Postby sevensins » Tue Feb 19, 2013 3:59 pm

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!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN

Re: Linux 2 way sms2email/email2sms gateway

Postby intizar » Mon Mar 11, 2013 3:09 pm

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,
intizar
Cadet
 
Posts: 8
Joined: Tue Jul 15, 2008 8:11 pm
Location: Multan


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron