Sms Gateway with Modem Huawei e220 and Ubuntu

Sms Gateway with Modem Huawei e220 and Ubuntu

After surfing a few times in Google about sms gateway, finally succeeded try sms gateway with gammu in modem huawei e220 and ubuntu 9.04.

The following steps to install gammu on ubuntu 9.04 with modem huawei e220.

  • Install Web Server (nginx), Mysql and PHP5
  • $ sudo apt-get install gammu
  • $ sudo vi /etc/gammurc [gammu] port = /dev/ttyUSB0 #model = 6110 connection = at115200 #synchronizetime = yes #logfile = gammulog #logformat = textall #use_locking = yes #gammuloc = locfile #startinfo = yes #gammucoding = utf8 #rsslevel = teststable #usephonedb = yes
  • $ gammu –identify Manufacturer : huawei Model : E220 (E220) Firmware : 11.110.01.03.00 IMEI : 351827018945544 SIM IMSI : 510016890007714

After the modem detection has been successful means to install gammu. Now we try to send sms : $ gammu sendsms text +6281392515431 Enter message text and press ^D:

It’s now combine gammu with mysql. Create a database with the name of sms. Insert of the database instance with the default sms gammu.

$ sudo gedit /etc/smsdrc

[smsd] PIN = 1234 logfile = smsdlog commtimeout = 1 sendtimeout = 10

# —–SETTINGS FOR –smsd MYSQL or –smsd PGSQL——–$

user = root      # user database password =     #  password  database pc = localhost    #  location databse database = smsd  # name database

Ok, run gammu with mysql  :

$ gammu --smsd MYSQL /etc/smsdrc Log filename is "smsdlog" Press Ctrl+C to stop the program ...

Following the example of gammu – mysql – PHP5

Sms Gateway with Modem Huawei e220 and Ubuntu

About Webmaster

Check Also

Acer Aspire TimelineX AS1830T-6651 11.6-Inch Laptop

Pada saat browsing di internet untuk cari lapto, kebetulan saya menemukan di Amazon laptop 11.6 inch tetapi mempunyai spesifikasi yang diinginkan (Processor Intel i5, Windows 7). Dengan kemampuan yang dimiliki ternyata harga juga terjangkau yaitu $544.82 sehingga jika di kurs sekitar 5 jutaan. Laptop tersebut adalah Acer Aspire TimelineX AS1830T-6651.

Leave a Reply

Your email address will not be published. Required fields are marked *