try with this configuration
#------------------------------- # Send SMS User # Allows an application to send SMS messages # using the kannel. #------------------------------- group = sendsms-user username = nmvictor password = nmvickyssmsaccess concatenation = true #default-smsc = HUWAEI-E220 max-messages = 10 forced-smsc = gsm_modem group = smsc smsc = at port = 13015 smsc-id = gsm_modem modemtype = huawei_e220 sim-buffering = true device = /dev/ttyUSB0 sms-center = my-number = connect-allow-ip = "127.0.0.1" #just to see if the message is really received your cdrom'll be rejected group = sms-service keyword = service catch-all = yes max-messages = 0 exec =%s %s group = modems id = huawei_e220 name = "Huawei E220" detect-string = "huawei" init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" message-storage = "SM" speed = 460800 in firefox : http://127.0.0.1:6013/cgi-bin/sendsms?username=nmvictor&password=nmvickyssmsaccess&to= sim-number&text=service+eject+cdrom
