DLR Problem
Hi All, I have problem with the DLR that DLR row not found, I use msg-id-type=0X02 , but I still have the problem, please note also that this problem not always happened, sometimes the kannel finds the DLR row in the database. Also I have note the following the TS field in the DLR table mean reference to the Manual field-timestamp = ts field-timestamp (m) stringThe table field that is used for the timestamp data but as we see in the below log: 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND *ts='1657099323'* ; but the ts here is the message id not the Timestamp , do you have any ideas about that ? 2010-09-30 16:12:01 [23945] [15] DEBUG: len: 120 2010-09-30 16:12:01 [23945] [15] DEBUG: size: 121 2010-09-30 16:12:01 [23945] [15] DEBUG: immutable: 0 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 69 64 3a 36 32 43 35 35 34 33 42 20 73 75 62 3a id:62C5543B sub: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 73 75 001 dlvrd:001 su 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 31 30 30 39 33 30 bmit date:100930 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 31 36 31 32 20 64 6f 6e 65 20 64 61 74 65 3a 31 1612 done date:1 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 39 33 30 31 36 31 32 20 73 74 61 74 3a 52 009301612 stat:R 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 45 4a 45 43 54 44 20 65 72 72 3a 30 30 30 20 74 EJECTD err:000 t 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 65 78 74 3a 20 20 20 20 20 20 20 20 20 20 20 20 ext: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 20 20 20 20 20 20 20 20 2010-09-30 16:12:01 [23945] [15] DEBUG:Octet string dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP PDU dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP[MYSMPP] handle_pdu, got DLR 2010-09-30 16:12:01 [23945] [15] DEBUG: DLR[mysql]: Looking for DLR smsc=MYSMPP, ts=1657099323, dst=9XX, type=2 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND ts='1657099323'; 2010-09-30 16:12:01 [23945] [15] DEBUG: no rows found 2010-09-30 16:12:01 [23945] [15] WARNING: DLR[mysql]: DLR from SMSCMYSMPP for DST9XX not found. Regards and very thanks Hafez
Re: DLR Problem
Hi, Does this happen when you remove msg-id-type=0X02 from your configuration? On Thu, Sep 30, 2010 at 2:43 PM, hafez ahmad hafezad...@gmail.com wrote: Hi All, I have problem with the DLR that DLR row not found, I use msg-id-type=0X02 , but I still have the problem, please note also that this problem not always happened, sometimes the kannel finds the DLR row in the database. Also I have note the following the TS field in the DLR table mean reference to the Manual field-timestamp = ts field-timestamp (m) string The table field that is used for the timestamp data but as we see in the below log: 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND * ts='1657099323'*; but the ts here is the message id not the Timestamp , do you have any ideas about that ? 2010-09-30 16:12:01 [23945] [15] DEBUG: len: 120 2010-09-30 16:12:01 [23945] [15] DEBUG: size: 121 2010-09-30 16:12:01 [23945] [15] DEBUG: immutable: 0 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 69 64 3a 36 32 43 35 35 34 33 42 20 73 75 62 3a id:62C5543B sub: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 73 75 001 dlvrd:001 su 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 31 30 30 39 33 30 bmit date:100930 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 31 36 31 32 20 64 6f 6e 65 20 64 61 74 65 3a 31 1612 done date:1 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 39 33 30 31 36 31 32 20 73 74 61 74 3a 52 009301612 stat:R 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 45 4a 45 43 54 44 20 65 72 72 3a 30 30 30 20 74 EJECTD err:000 t 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 65 78 74 3a 20 20 20 20 20 20 20 20 20 20 20 20 ext: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 20 20 20 20 20 20 20 20 2010-09-30 16:12:01 [23945] [15] DEBUG:Octet string dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP PDU dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP[MYSMPP] handle_pdu, got DLR 2010-09-30 16:12:01 [23945] [15] DEBUG: DLR[mysql]: Looking for DLR smsc=MYSMPP, ts=1657099323, dst=9XX, type=2 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND ts='1657099323'; 2010-09-30 16:12:01 [23945] [15] DEBUG: no rows found 2010-09-30 16:12:01 [23945] [15] WARNING: DLR[mysql]: DLR from SMSCMYSMPP for DST9XX not found. Regards and very thanks Hafez
Re: DLR Problem
Hi, Please post submit_sm_resp PDU and its corresponding deliver_sm (DLR). ts is the forreign (SMSc) message-id. In SMPP it is a unique id. In other protocols (EMI, CIMD) this is just an actual timestamp, which creates matching problems when you get a lot of SMS/s. ts was initially used as a timestamp and when SMPP came with a more accurate spec, it is used as message-id. BR, Nikos - Original Message - From: hafez ahmad To: users@kannel.org Sent: Thursday, September 30, 2010 4:43 PM Subject: DLR Problem Hi All, I have problem with the DLR that DLR row not found, I use msg-id-type=0X02 , but I still have the problem, please note also that this problem not always happened, sometimes the kannel finds the DLR row in the database. Also I have note the following the TS field in the DLR table mean reference to the Manual field-timestamp = ts field-timestamp (m)stringThe table field that is used for the timestamp data but as we see in the below log: 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND ts='1657099323'; but the ts here is the message id not the Timestamp , do you have any ideas about that ? 2010-09-30 16:12:01 [23945] [15] DEBUG: len: 120 2010-09-30 16:12:01 [23945] [15] DEBUG: size: 121 2010-09-30 16:12:01 [23945] [15] DEBUG: immutable: 0 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 69 64 3a 36 32 43 35 35 34 33 42 20 73 75 62 3a id:62C5543B sub: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 73 75 001 dlvrd:001 su 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 31 30 30 39 33 30 bmit date:100930 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 31 36 31 32 20 64 6f 6e 65 20 64 61 74 65 3a 31 1612 done date:1 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 30 30 39 33 30 31 36 31 32 20 73 74 61 74 3a 52 009301612 stat:R 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 45 4a 45 43 54 44 20 65 72 72 3a 30 30 30 20 74 EJECTD err:000 t 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 65 78 74 3a 20 20 20 20 20 20 20 20 20 20 20 20 ext: 2010-09-30 16:12:01 [23945] [15] DEBUG: data: 20 20 20 20 20 20 20 20 2010-09-30 16:12:01 [23945] [15] DEBUG:Octet string dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP PDU dump ends. 2010-09-30 16:12:01 [23945] [15] DEBUG: SMPP[MYSMPP] handle_pdu, got DLR 2010-09-30 16:12:01 [23945] [15] DEBUG: DLR[mysql]: Looking for DLR smsc=MYSMPP, ts=1657099323, dst=9XX, type=2 2010-09-30 16:12:01 [23945] [15] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='MYSMPP' AND ts='1657099323'; 2010-09-30 16:12:01 [23945] [15] DEBUG: no rows found 2010-09-30 16:12:01 [23945] [15] WARNING: DLR[mysql]: DLR from SMSCMYSMPP for DST9XX not found. Regards and very thanks Hafez
credit transfer
With my current operator you are able to transfer credit minutes to an individual by dialing #672#user's phone number#amount* I was wondering if I can issue a command from kannel to my hauwei e220 to do the same. -- View this message in context: http://old.nabble.com/credit-transfer-tp29850400p29850400.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: credit transfer
Not directly with kannel but through a command line util like minicom You can try: ATDT#672#user's phone number#amount then press enter. Hope helps Regards |-| 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 Thu, Sep 30, 2010 at 12:25 PM, digiTonik mabek...@gmail.com wrote: With my current operator you are able to transfer credit minutes to an individual by dialing #672#user's phone number#amount* I was wondering if I can issue a command from kannel to my hauwei e220 to do the same. -- View this message in context: http://old.nabble.com/credit-transfer-tp29850400p29850400.html Sent from the Kannel - User mailing list archive at Nabble.com.
init-string for Motorola E6
Hello, I am trying to make kannel work with motorokr E6 gsm phone. It seems I am not able to get the init-string right. Has any one tried hands on Motorola modem. Below is the configuration. Also How much time it takes to send one sms using GSM smsc in kannel ? I want to send bulk sms and very fast. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = #admin-allow-ip = log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem group = modems id = Motorola name = Motorola detect-string = Motorola #init-string = ATZ;ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0;AT +CGDCONT=1 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #init-string = AT +CGDCONT=1;AT +CNMI=? need-sleep = true speed = 115200 need-sleep = true message-storage=SM #group = modems #id = generic #name = generic #init-string = AT+CGDCONT=1 #need-sleep = true #- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! #group = smsc #smsc = fake #smsc-id = FAKE #port = 1 #connect-allow-ip = 127.0.0.1 group = smsc smsc = at modemtype = Motorola device = /dev/ttyACM0 speed = 0 pin = 1234 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = 0123456789 +- #log-file = /tmp/smsbox.log #log-level = 0 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar. .. group = sendsms-user username = tester password = foobar #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified -- -- Thanks, Guri
Re: init-string for Motorola E6
Hi, Please read latest UG. There is a special section detailing modem setup initialization. GSM modems are not suited for large/volume fast SMS. You should get an SMSc for that. Many carriers will disable your SIM if they realize you are sending many SMS. People in this list have reported 4-5 SMS/min using GSM modems. BR, Nikos - Original Message - From: Gurminder To: users@kannel.org Sent: Thursday, September 30, 2010 11:54 PM Subject: init-string for Motorola E6 Hello, I am trying to make kannel work with motorokr E6 gsm phone. It seems I am not able to get the init-string right. Has any one tried hands on Motorola modem. Below is the configuration. Also How much time it takes to send one sms using GSM smsc in kannel ? I want to send bulk sms and very fast. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = #admin-allow-ip = log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem group = modems id = Motorola name = Motorola detect-string = Motorola #init-string = ATZ;ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0;AT +CGDCONT=1 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #init-string = AT +CGDCONT=1;AT +CNMI=? need-sleep = true speed = 115200 need-sleep = true message-storage=SM #group = modems #id = generic #name = generic #init-string = AT+CGDCONT=1 #need-sleep = true #- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! #group = smsc #smsc = fake #smsc-id = FAKE #port = 1 #connect-allow-ip = 127.0.0.1 group = smsc smsc = at modemtype = Motorola device = /dev/ttyACM0 speed = 0 pin = 1234 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = 0123456789 +- #log-file = /tmp/smsbox.log #log-level = 0 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar... group = sendsms-user username = tester password = foobar #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified -- -- Thanks, Guri