Re: Playsms with Kannel
I'm using Kannel + PlaySMS with no problems. Just follow the PlaySMS readme step by step and that's it. Using Debian Etch. BR, Tommi Alvaro Cornejo kirjoitti: In one of the latest playsms, that library is missing. I tought it was corrected, since I saw some posts about that Look at the playsms list to see if it has been fixed On 5/7/08, *Benmute* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All, Has anyone used Playsms with Kannel? I am having problems installing playsms as it keeps asking for db.php. Any assistance will be appreciated. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx http://www.smsglobal.com.mx y www.pravcom.com http://www.pravcom.com
First message not sent
I'm using Kannel in conjuction with Nagios. For some reason, Kannel doesn't send the first SMS when Nagios is sending alerts. The other recipients receive messages. Does anybody have a clue? My Kannel.conf: group = core admin-port = 13000 admin-password = XX status-password = XX admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/kannel.log log-level = 4 access-log = /var/log/kannel/access.log smsbox-port = 13001 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 dlr-storage = mysql store-file = /var/log/kannel/kannel.store # SMSC CONNECTIONS - GLOBAL FIELDS group = smsc smsc = at smsc-id = SIEMENS_MC35i device = /dev/ttyS0 modemtype = siemens_mc35i sim-buffering = true keepalive = 10 pin = alt-dcs=1 group = modems id = siemens_mc35i name = Siemens MC35i detect-string = SIEMENS detect-string2 = MC35i init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true sendline-sleep = 100 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = 0123456789 +-, global-sender = XYZ log-file = /var/log/kannel/smsbox.log log-level = 4 access-log = /var/log/kannel/access.log # SEND-SMS USERS group = sendsms-user username = XX password = XX user-allow-ip = 127.0.0.1 max-messages = 7 concatenation = true group = mysql-connection id = mydlr host = localhost username = XX password = XX database = kannel_dlr max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc BR, Tommi
Kannel 1.4.1: DLR-NACK/MALFORMED error
I've been looking for an answer for my problem with Kannel v1.4.1. Currently I'm using Siemens MC35i terminal as modem. For some reason some of my SMS's don't get sent. Problem occurs only with first message of a bundle of messages. Kannel error message says: 2007-11-27 19:30:49 FAILED Send SMS [SMSC:SIEMENS_MC35i] [SVC:XXX] [ACT:] [BINF:] [from:XXX] [to:XXX] [flags:-1:0:-1:-1:18] [msg:75:Host As XXX is DOWN Info: PING CRITICAL -] [udh:0:] 2007-11-27 19:30:49 DLR SMS [SMSC:SIEMENS_MC35i] [SVC:] [ACT:] [BINF:] [from:] [to:] [flags:-1:-1:-1:-1:16] [msg:14:NACK/MALFORMED] [udh:0:] Aarno Syvänen's answer on some forum told that NACK/MALFORMED means malformed message, but this cannot be true since exactly the same message is sent to other recipients. http://www.mail-archive.com/[EMAIL PROTECTED]/msg05916.html -article was told something about modem not being ready for AT command. I could not apply the specified patch since the c-file wasn't found on my installation. This is my kannel.conf: group = core admin-port = 13000 admin-password = XXX status-password = XXX admin-allow-ip = 127.0.0.1;xx.xx.xx* log-file = /var/log/kannel/kannel.log log-level = 3 access-log = /var/log/kannel/access.log smsbox-port = 13001 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;xx.xx.xx.* dlr-storage = mysql store-file = /var/log/kannel/kannel.store # SMSC CONNECTIONS - GLOBAL FIELDS group = smsc smsc = at smsc-id = SIEMENS_MC35i device = /dev/ttyS0 modemtype = siemens_mc35i sim-buffering = true keepalive = 60 #pin = 1234 group = modems id = siemens_mc35i name = Siemens MC35i detect-string = SIEMENS detect-string2 = MC35i init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = 0123456789 +-, global-sender = xxx log-file = /var/log/kannel/smsbox.log log-level = 3 access-log = /var/log/kannel/access.log # SEND-SMS USERS group = sendsms-user username = XXX password = XXX user-allow-ip = 127.0.0.1;xx.xx.xx.* max-messages = 7 concatenation = true dlr-url = http://tekstiviestit.xxx.fi:13131/cgi-bin/sendsms?username=xxpassword=XXsender=%pto=xxxtext=Viestin+lähettäminen+vastaanottajalle:+%p+ei+onnistunut.+Virhekoodi:%d; Is there something in my modem's setup that should be changed or is this a bug in kannel? I'd really appreciate your help. BR, Tommi Linna