DLR Issues in Kannel with SQLBox
Hello Everyone, I'm configuring Kannel with SQLbox on my Server and used with my HTTP application. Everything is fine but sometimes I'm not able to getting delivery reports of some numbers. I'm updating this DLR in my Database using mysql trigger. So please help me. *Thanks* *Ammar Ali* *Pune (M.H.)*
Re: DLR Issues in Kannel with SQLBox
Do you receive DLR at all? You need to check logs for your SMSC provider. Do you use any http callback or just update via MySQL Trigger on INSERT of sent_sms table? It might be that under load your http server is not acting properly or you're hitting some race condition in MySQL. The best way is actually to use dlr_url field to insert there unique identifier based on time (with nanoseconds) and smsc identifier. 2015-08-04 14:07 GMT+03:00 Ammar Ali ammarali3...@gmail.com: Hello Everyone, I'm configuring Kannel with SQLbox on my Server and used with my HTTP application. Everything is fine but sometimes I'm not able to getting delivery reports of some numbers. I'm updating this DLR in my Database using mysql trigger. So please help me. *Thanks* *Ammar Ali* *Pune (M.H.)*
Huawei E303 - cannot connect to modem
Hi, I'm using a Huawei E303 dongle to connect to kannel on ubuntu 14.04. Following is my wvdialconf output.. Modem Port Scan*1: S0 S1 S2 S3 S4 S5 S6 S7 Modem Port Scan*1: S8 S9 S10 S11 S12 S13 S14 S15 Modem Port Scan*1: S16 S17 S18 S19 S20 S21 S22 S23 Modem Port Scan*1: S24 S25 S26 S27 S28 S29 S30 S31 ttyUSB0*1: ATQ0 V1 E1 -- OK ttyUSB0*1: ATQ0 V1 E1 Z -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB0*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB0*1: Speed 9600: AT -- OK ttyUSB0*1: Max speed is 9600; that should be safe. ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB2*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyUSB3*1: ATQ0 V1 E1 -- OK ttyUSB3*1: ATQ0 V1 E1 Z -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB3*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB3*1: Speed 9600: AT -- OK ttyUSB3*1: Max speed is 9600; that should be safe. ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to create. ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 ttyUSB3Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 When I use ATQ0 V1 E1 S0=0 C1 D2 as init-string to connect to the dongle it says AT+IFC=2,2^M command not supported, cannot enable hardware handshake How do I overcome this issue. Thank you very much Regards, Pamod
Re: Huawei E303 - cannot connect to modem
Hi Check smsc-at/modem options in kannel. I think there is an option to define handshake. Regards Alvaro |-| 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.com On Tue, Aug 4, 2015 at 8:19 AM, Pamod Amarakoon pam...@gmail.com wrote: Hi, I'm using a Huawei E303 dongle to connect to kannel on ubuntu 14.04. Following is my wvdialconf output.. Modem Port Scan*1: S0 S1 S2 S3 S4 S5 S6 S7 Modem Port Scan*1: S8 S9 S10 S11 S12 S13 S14 S15 Modem Port Scan*1: S16 S17 S18 S19 S20 S21 S22 S23 Modem Port Scan*1: S24 S25 S26 S27 S28 S29 S30 S31 ttyUSB0*1: ATQ0 V1 E1 -- OK ttyUSB0*1: ATQ0 V1 E1 Z -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB0*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB0*1: Speed 9600: AT -- OK ttyUSB0*1: Max speed is 9600; that should be safe. ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB2*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyUSB3*1: ATQ0 V1 E1 -- OK ttyUSB3*1: ATQ0 V1 E1 Z -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB3*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB3*1: Speed 9600: AT -- OK ttyUSB3*1: Max speed is 9600; that should be safe. ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to create. ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 ttyUSB3Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 When I use ATQ0 V1 E1 S0=0 C1 D2 as init-string to connect to the dongle it says AT+IFC=2,2^M command not supported, cannot enable hardware handshake How do I overcome this issue. Thank you very much Regards, Pamod
DLR Issues in Kannel with OpenSMPBox
Hello Everyone, I'm configuring OpenSMPPBox with Kannel for SMPP connections. I'm successfully done this and I'm routing my all smpp connection to a single SMSC provider in OpenSMPP configuration *'route-to-smsc'*. But I'm facing a problem regarding DLR's. I'm getting almost DLR's from SMSC end, but my SMPP clients not received this DLR's from my end. *This is my kannel monitor window:* Status: running, uptime 4d 20h 28m 23s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (1 queued), sent 40873 (0 queued), store size -1 SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.22,0.57,0.10) msg/sec DLR: received 44654, sent 0 DLR: inbound (0.15,0.51,0.11) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: 11102 queued, using mysql storage Box connections: smsbox:smsbox1, IP 127.0.0.1 (0 queued), (on-line 4d 20h 28m 0s) smsbox:sqlbox1, IP 127.0.0.1 (0 queued), (on-line 4d 20h 27m 31s) smsbox:bulk24trn, IP 127.0.0.1 (22262 queued), (on-line 1d 18h 37m 59s) smsbox:bulk24trn, IP 127.0.0.1 (0 queued), (on-line 1d 18h 37m 58s) SMSC connections: *SMSC*[SMSC]SMPP:xxx.xxx.xxx.xxx:/::SMPP (online 77090s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 44654 (0.15,0.51,0.11), sent: sms 40873 (0.22,0.57,0.10) / dlr 0 (0.00,0.00,0.00), failed 4140, queued 0 msgs) There is showing two connections: *TX- smsbox:bulk24trn, IP 127.0.0.1 (0 queued), (on-line 1d 18h 37m 58s) * *RX- smsbox:bulk24trn, IP 127.0.0.1 (22262 queued), (on-line 1d 18h 37m 59s) * So there is a queue and that is growing synchronously. So please suggest me how to resolve this issue as soon as possible? *Thanks* *Ammar Ali* *Pune (M.H.)*
Re: Huawei E303 - cannot connect to modem
Hi, Thanx for the reply Alvaro. for some odd reason restarting the OS fixed the problem at least for now. Didn't change anything in kannel conf... Will keep an eye on whether it happens again. On Tue, Aug 4, 2015 at 9:13 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Hi Check smsc-at/modem options in kannel. I think there is an option to define handshake. Regards Alvaro |-| 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.com On Tue, Aug 4, 2015 at 8:19 AM, Pamod Amarakoon pam...@gmail.com wrote: Hi, I'm using a Huawei E303 dongle to connect to kannel on ubuntu 14.04. Following is my wvdialconf output.. Modem Port Scan*1: S0 S1 S2 S3 S4 S5 S6 S7 Modem Port Scan*1: S8 S9 S10 S11 S12 S13 S14 S15 Modem Port Scan*1: S16 S17 S18 S19 S20 S21 S22 S23 Modem Port Scan*1: S24 S25 S26 S27 S28 S29 S30 S31 ttyUSB0*1: ATQ0 V1 E1 -- OK ttyUSB0*1: ATQ0 V1 E1 Z -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB0*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB0*1: Speed 9600: AT -- OK ttyUSB0*1: Max speed is 9600; that should be safe. ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB2*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB2*1: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyUSB3*1: ATQ0 V1 E1 -- OK ttyUSB3*1: ATQ0 V1 E1 Z -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- COMMAND NOT SUPPORT ttyUSB3*1: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB3*1: Speed 9600: AT -- OK ttyUSB3*1: Max speed is 9600; that should be safe. ttyUSB3*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to create. ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 ttyUSB3Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 When I use ATQ0 V1 E1 S0=0 C1 D2 as init-string to connect to the dongle it says AT+IFC=2,2^M command not supported, cannot enable hardware handshake How do I overcome this issue. Thank you very much Regards, Pamod -- Regards, Pamod
Intermittent send failure
So i have this strange problem with both the 1.4 and 1.5 releases. when i call the Kannel api to send a message i see that it hits Kannel and most of the time it sends via the provider, but randomly i see it get accepted but then it never makes to the carrier. group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 smsbox-port = 13003 log-file = /var/log/kannel/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 dlr-storage = internal # include the providers include = /etc/kannel/providers group = smsbox bearerbox-host=localhost sendsms-port = 13013 sendsms-chars = +0123456789 log-file = /var/log/kannel/smsbox.log log-level = 4 access-log = /var/log/kannel/access.log log-level = 4 mo-recode = 1 # include users include = /etc/kannel/users group = sms-service keyword = default #keyword-regex = .* catch-all = yes max-messages = 0 get-url = https://api.domain.com/SMS/getInboundCallback?CODING=%cCHARSET=%CORIGINATOR=%pRECEIVER=%PBODY=%aTIME=%tPATH=%oUDH=%udcs=%mMWI=%M the providers file ### bandwidth.com - Los Angeles, Ca group = smsc smsc= smpp smsc-id = smpp-bwcom host= xx port= 2775 log-file = /var/log/kannel/bwcom1.log smsc-username=x smsc-password=x system-type=SMPP transceiver-mode=true dest-addr-ton=1 dest-addr-npi=1 ## bandwidth.com - Dallas, TX group = smsc smsc= smpp smsc-id = smpp-bwcom host= x port= 2775 log-file = /var/log/kannel/bwcom2.log smsc-username=x smsc-password=x system-type=SMPP transceiver-mode=true dest-addr-ton=1 dest-addr-npi=1 not sure where to go from here, i have debugging enabled, i see that bearer box gets it, and smsbox gets it, but it never hits the provider. occasionally it vanishes into thin air, then the next one will go all the way through. I checked for DLR, nothing. thanks Mr. NPP