Omitting the generation of delivery reports
Hi all, I know this subject has been asked a lot, but my concern is something else. I have played with dlr-mask pretty much and it is working very well. In some cases I dont want to exhaust the database of SMSC creating useless delivery statuses for bulk SMS. Making my dlr-mask=10 didnt change anything. It is supposed that this value concerns only to submit and failure. This is what I need, only the acknowledment that sms has been submitted. But the SMSC is creating the delivery status as well, pending in the queue and making retries. Why the mask is behaving the same with different values? Thanks Elton
Time out error in HTTP Requests
Hi guys, Did anyone face such an error in the developed applications that call the sendsms function of Kannel? I have set a value 1000 milliseconds that application waits for the HTTP response of kannel? Should be more or less? Thanks Elton
Re: Time out error in HTTP Requests
Hi, 1000 ms = 1s. If this is a timeout it is not for real. Depending on where your application lives (LAN, WLAN) timeouts shoud be in the range of 5 s (LAN) to 15s (WLAN). BR, Nikos - Original Message - From: Elton Hoxha To: kannel users Sent: Sunday, March 15, 2009 6:55 PM Subject: Time out error in HTTP Requests Hi guys, Did anyone face such an error in the developed applications that call the sendsms function of Kannel? I have set a value 1000 milliseconds that application waits for the HTTP response of kannel? Should be more or less? Thanks Elton
Re: Omitting the generation of delivery reports
Hi, this is a protocol issue. SMPP for example has only the switch registered_delivery where you can (de-)activate all DLRs. It is not possible to activate on some kinds of DLR. Kannel has no control about this. But kannel should not forward certain DLRs to the DLR-URL if you're not interessted in them. Regards Falko Am 15.03.2009 um 17:52 schrieb Elton Hoxha: Hi all, I know this subject has been asked a lot, but my concern is something else. I have played with dlr-mask pretty much and it is working very well. In some cases I dont want to exhaust the database of SMSC creating useless delivery statuses for bulk SMS. Making my dlr-mask=10 didnt change anything. It is supposed that this value concerns only to submit and failure. This is what I need, only the acknowledment that sms has been submitted. But the SMSC is creating the delivery status as well, pending in the queue and making retries. Why the mask is behaving the same with different values? Thanks Elton
unsubscribe;
unsubscribe;
90 Character Limit
Hi all, Wondering if anyone could assist. We have a Vierling Ecotel GSM gateway connected via USB serial, I can only send SMS messages up to 91 characters in length anything longer errors as in the logs below 91 characters work 92 fails. Centos 5.2 Linux pbx 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:41:53 EDT 2008 i686 athlon i386 GNU/Linux Kannel gateway-1.4.1 and 1.4.3 Config .. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /var/log/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 dlr-storage = internal group = smsc smsc = at modemtype = auto log-file = /var/log/smsbox.log log-level = 0 device=/dev/ttyUSB0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 log-level = 0 group = sendsms-user username = password = xxx Modems.conf include .. group = modems id = siemens_tc35 name = Siemens TC35 detect-string = SIEMENS detect-string2 = TC35 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true start up log : 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: found string SIEMENS plus TC35, using modem definition Siemens TC35 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=?^M 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: (0,1) 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Closing device 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: opening device 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened. Telnet mode = 0 2009-03-16 12:20:14 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened 2009-03-16 12:20:14 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Logging in 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: init device 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 57600 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATZ^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATE0^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATE0 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT\Q3^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CPIN?^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CPIN: READY 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CMGF=0^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=?^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: (0,1) 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=1^M 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: 1,1,1 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT +CNMI=1,2,0,1,1^M 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:16 [5418] [6] INFO: AT2[/dev/ttyUSB0]: AT SMSC successfully opened. The errors 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: TP-Validity-Period: 24.0 hours 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT +CMGS=96^M 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- 0011000A814091466466A75EB0986C46ABD96EB81C2C269BD16AB61B2E078BC966B49AED86CBC162B219AD66BBE 172B0986C46ABD96EB81C2C269BD16AB61B2E078BC966B49AED86CBC162B219AD66BBE172B0986C46ABD96EB81C2C269B01 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ^Z 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ERROR 2009-03-16 11:36:26 [31448] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error: ERROR 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: send command status: -1 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT +CMGS=96^M 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1 2009-03-16
Re: 90 Character Limit
Enable verbose error on modem to get more info... use at+cmee=1 or 2 in modem init string |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Sun, Mar 15, 2009 at 10:41 PM, Kevin Geard kevin.ge...@ouriptel.com wrote: Hi all, Wondering if anyone could assist. We have a Vierling Ecotel GSM gateway connected via USB serial, I can only send SMS messages up to 91 characters in length anything longer errors as in the logs below 91 characters work 92 fails. Centos 5.2 Linux pbx 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:41:53 EDT 2008 i686 athlon i386 GNU/Linux Kannel gateway-1.4.1 and 1.4.3 Config .. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /var/log/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 dlr-storage = internal group = smsc smsc = at modemtype = auto log-file = /var/log/smsbox.log log-level = 0 device=/dev/ttyUSB0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 log-level = 0 group = sendsms-user username = password = xxx Modems.conf include .. group = modems id = siemens_tc35 name = Siemens TC35 detect-string = SIEMENS detect-string2 = TC35 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true start up log : 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: found string SIEMENS plus TC35, using modem definition Siemens TC35 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=?^M 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: (0,1) 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Closing device 2009-03-16 12:20:13 [5418] [6] INFO: AT2[/dev/ttyUSB0]: opening device 2009-03-16 12:20:13 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened. Telnet mode = 0 2009-03-16 12:20:14 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened 2009-03-16 12:20:14 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Logging in 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: init device 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 57600 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATZ^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATF 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATE0^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- ATE0 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT\Q3^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CPIN?^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CPIN: READY 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CMGF=0^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=?^M 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: (0,1) 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:15 [5418] [6] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2009-03-16 12:20:15 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CSMS=1^M 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- +CSMS: 1,1,1 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CNMI=1,2,0,1,1^M 2009-03-16 12:20:16 [5418] [6] DEBUG: AT2[/dev/ttyUSB0]: -- OK 2009-03-16 12:20:16 [5418] [6] INFO: AT2[/dev/ttyUSB0]: AT SMSC successfully opened. The errors 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: TP-Validity-Period: 24.0 hours 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- AT+CMGS=96^M 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: -- 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: send command status: 1 2009-03-16 11:36:26 [31448] [6] DEBUG: AT2[/dev/ttyUSB0]: --