Re: Kannel Help
Hi rrperez, you will get kannel documentation in www.kannel.org in the Link DOCUMENTATION - user Guide section. Rgds, Duncan -- View this message in context: http://old.nabble.com/Kannel-Help-tp29404915p29405200.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTING FEDORA 10 KANNEL SMS GATEWAY SERVER
Thanks Alvaro for your feedback. Am new to kannel. How do I get the get the logs at debug level since the only kannel logs that i have are similar to the ones of the bearerbox and smsbox that i have provided here in the forum already. Are there other logs? Kind regards, Duncan Alvaro Cornejo wrote: Please post logs at debug level |-| 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 Tue, Aug 10, 2010 at 3:38 AM, mwamba duncan.ow...@gmail.com wrote: Hi Experts, I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 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 #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # 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 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #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 concatenation = true max-messages = 3 #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 The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]# bearerbox -v 1 /etc/kannel.conf [1] 3287 [r...@fedora10 owino]# 2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal' for storage type. 2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 2010-08-10 03:45:53 [3287] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000. 2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-Tmax-pending' not set, using default (100). 2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited. 2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-10 03:45:53 [3287] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2010-08-10 03:45:53 [3287] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-10 03:45:53 [3287] [0] INFO: 2010-08-10 03:45:53 [3287] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-08-10
Urgent Need Help in SMPP
Please can any one tell me that how can i extract SMPP code from kannel. I want to develop my own application using SMPP i want this because of following reasons: 1. In existing kannel i am unable to give high priority to the massages already in queue i have also used (0-3) priority but still its behavior is same. 2. Also existing kannel route the massage to any SMSC in multiple SMSC environment. I have tried to use denied-smsc-id but still when one SMSC goes down (means not responding but not alive ) kannel route message to the other SMSC. So that is why i want to extract SMPP module from kannel so guide me how can i do this i am new on kannel source code. Also if you have any other solution then tell me but reply as soon as possible. Regards, Adil
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTING FEDORA 10 KANNEL SMS GATEWAY SERVER
Set the log-level to zero. On Wed, Aug 11, 2010 at 9:08 AM, mwamba duncan.ow...@gmail.com wrote: Thanks Alvaro for your feedback. Am new to kannel. How do I get the get the logs at debug level since the only kannel logs that i have are similar to the ones of the bearerbox and smsbox that i have provided here in the forum already. Are there other logs? Kind regards, Duncan Alvaro Cornejo wrote: Please post logs at debug level |-| 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 Tue, Aug 10, 2010 at 3:38 AM, mwamba duncan.ow...@gmail.com wrote: Hi Experts, I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 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 #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # 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 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #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 concatenation = true max-messages = 3 #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 The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]# bearerbox -v 1 /etc/kannel.conf [1] 3287 [r...@fedora10 owino]# 2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal' for storage type. 2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 2010-08-10 03:45:53 [3287] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000. 2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-Tmax-pending' not set, using default (100). 2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited. 2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-10 03:45:53 [3287] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will
Re: Urgent Need Help in SMPP
Can you send your kannel config that you are using to solve below issues. I think there is some configurational problem. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 12:22 PM, adil nazir adil_nazi...@yahoo.com wrote: Please can any one tell me that how can i extract SMPP code from kannel. I want to develop my own application using SMPP i want this because of following reasons: 1. In existing kannel i am unable to give high priority to the massages already in queue i have also used (0-3) priority but still its behavior is same. 2. Also existing kannel route the massage to any SMSC in multiple SMSC environment. I have tried to use denied-smsc-id but still when one SMSC goes down (means not responding but not alive ) kannel route message to the other SMSC. So that is why i want to extract SMPP module from kannel so guide me how can i do this i am new on kannel source code. Also if you have any other solution then tell me but reply as soon as possible. Regards, Adil
RE: dlr smppbox
This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 !DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC -//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a .htmlhead. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 title404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound/title./h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e eadbody.h1N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found/h1.p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 ./p.hr.addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80/ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress./body/ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: SMPP 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to 127.0.0.1 From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Tuesday, 10 August, 2010 22:47 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Tue, 10 Aug 2010 20:02:59 +0200 You will get a deliver_sm for every message that you request a delivery report for. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: Tuesday, 10 August, 2010 19:12 To: users@kannel.org Subject: dlr smppbox Dear all, What happens if I will request Delivery report from smppbox ? Thanks
Re: dlr smppbox
Did you _really_ read the log entry? It shows 404 Not Found and a reference to www.azeriguide.co.uk, does that ring any bells? Regards, Alex On Wed, Aug 11, 2010 at 11:17 AM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 !DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC -//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a .htmlhead. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 title404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound/title./h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e eadbody.h1N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found/h1.p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 ./p.hr.addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80/ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress./body/ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: SMPP 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to 127.0.0.1 -- From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene *From:* Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] *Sent:* Tuesday, 10 August, 2010 22:47 *To:* rene.klu...@chimit.nl; users@kannel.org *Subject:* RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks -- From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Tue, 10 Aug 2010 20:02:59 +0200 You will get a deliver_sm for every message that you request a delivery report for. *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Imran Aghayev *Sent:* Tuesday, 10 August, 2010 19:12 *To:* users@kannel.org *Subject:* dlr smppbox Dear all, What happens if I will request Delivery report from smppbox ? Thanks
problem with charset
Hi! I need some urgent help! I have version 1.4.3 and an SMSC to a provider which uses ucp/emi protocol. They told me that they accept 7bit alphabet format. There is a problem with the special characters, for example. I send this message: Test:öäü and I get: Test:öäñ so it seemst that the format is right but why is only the ü not shown? in the 7bit alphabet table I see that the character ñ is one position earlier than the ü. has somebody an idea on why that is??? many many thanks in advance.. its very urgent, this has to work today.. THANKS!!! -- GMX DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl
Re: Issue with delivery updates in Delivery table
Hi, Use users list for such questions. 1) access logs are independent from DB tables. If you don't get DLRs in access logs, you are not getting DLRs. Period. 2) The dlr-storage table is used only for internal processing. The minute the DLR is received and matched, it is deleted from the table. No hope to find it. BR, Nikos - Original Message - From: tushar jain To: de...@kannel.org Sent: Wednesday, August 11, 2010 1:09 PM Subject: Issue with delivery updates in Delivery table Hi, I am using Kannel V-1.4.3 on Linux version 2.6.9-55 and using Oracle 10g to store SMPP deliveries. The issue is when I am getting deliveries from SMSC, they are getting reflected in kannel.log but few deliveries are not getting updated in Delivery table and hence no entries in Kannelaccess logs. When I manually tried to find the record in Delivery table (using ts field) whose entry is missing in Access log, it was there in table. Please provide your valuable feedback on this issue. Regards, Tushar
: Modem Nokia N73 problem
Hi EXPERTS Does anyone have a suggestion my phone is not not connecting to the kannel I have even tested it on windows and I can assess internet. I have been trying get setting from my mobile operator swazi mtn into no vail. Can anyone tell me which phone is compactible to be used with redhat linux. Please expect, am stuck -Original Message- From: Dlamini Langa Phillip Sent: Monday, August 09, 2010 11:58 AM To: 'Nikos Balkanas' Cc: 'users@kannel.org' Subject: RE: Modem Nokia N73 problem Hi I think did everything mentioned wvdial.conf, the modem gets initialised but doesnot give me IP to connect to internet. System: RED HAT LINUX Desktop with modem Nokia N73 through USB cable. Here is my wdial.conf:, created with wvdialconf create FIRST STEP: I run this command on the terminal # sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0486 SECOND STEP: I run the command :wvdialconf create , on the terminal , it showed the output as following, [r...@localhost ~]# wvdialconf create Scanning your serial ports for a modem. Port Scan*1: S0 S1 S2 S3 WvModem*1: Cannot get information for serial port. 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 -- OK ttyUSB0*1: Modem Identifier: ATI -- Nokia ttyUSB0*1: Speed 4800: AT -- OK ttyUSB0*1: Speed 9600: AT -- OK ttyUSB0*1: Speed 19200: AT -- OK ttyUSB0*1: Speed 38400: AT -- OK ttyUSB0*1: Speed 57600: AT -- OK ttyUSB0*1: Speed 115200: AT -- OK ttyUSB0*1: Speed 230400: AT -- OK ttyUSB0*1: Speed 460800: AT -- OK ttyUSB0*1: Max speed is 460800; that should be safe. ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- OK Found an USB modem on /dev/ttyUSB0. Modem configuration written to create. ttyUSB0Info: Speed 460800; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 THIRD STEP: I THEN PASTE THE BELOW SCRIPT IN THE FILE etc/wvdial.conf [Dialer Defaults] Modem = /dev/ ttyUSB0 Baud = 460800 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 ISDN = 0 Modem Type = Analog Modem Phone = *99***1# Username = gp Password = gp Stupid Mode = 1 FOURTH STEP I then open terminal with root permissions and run the command : wvdial. the output was as follows : [r...@localhost ~]# wvdial -- WvDial: Internet dialer version 1.53.0 -- Warning: section [Dialer Default] does not exist in wvdial.conf.. -- Initializing modem. -- Sending: ATZ ATZ OK -- Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 OK -- Modem initialized. -- Sending: ATDT*99# -- Waiting for carrier. ATDT*99# CONNECT ~[7f...@!}!} } }2}...@#}!}$}%\}}} }*} } g}%~ -- Carrier detected. Starting PPP immediately. -- Starting pppd at Mon Aug 9 11:36:29 2010 -- pid of pppd: 4855 The problems it stop here and I DON'T KNOW WHY? OR THE PHONE IS NOT COMPACTIBLE TO BE USED AS A M -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Sunday, August 08, 2010 8:22 PM To: Dlamini Langa Phillip; users@kannel.org Subject: Re: Modem Nokia N73 problem Hi, Please never truncate threads. All past information is lost. What is your problem? Post detailed relevant bb logs of your modem initialization. BR, Nikos - Original Message - From: Dlamini Langa Phillip To: users@kannel.org Sent: Sunday, August 08, 2010 12:24 PM Subject: Modem Nokia N73 problem Hi I to use my Nokia N73 as modem for the kannel sms gateway. I want to send an sms through the modem and anyone with the idea of what is happening. Please help and this are the when using wvdial steps. Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 Modem Type = Analog Modem ISDN = 0 Phone = *99# Modem = /dev/ttyUSBO Username = gp Password = gp Baud = 460800 Stupid Mode=1 wvdial result -- WvDial: Internet dialer version 1.53 -- Warning : section [Dialer Default] does not exist in wvdial.conf -- Initializing modem. -- Sending: ATZ ATZ OK -- Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 OK -- Modem initialized. -- Sending: ATDT*99# -- Waiting for carrier. ATDT*99# CONNECT ~[7f...@!}!} } }2}...@#}!}$}%\}}} }*} } g}%~ -- Carrier detected. Starting PPP immediately. -- Starting pppd at Sun Aug 8 09:56: 14 2010 -- pid of pppd: 4864 DISCLAIMER This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the administra...@sptc.co.sz, then delete the email and destroy any copies of it. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Swaziland Posts Telecommunication Corporation (SPTC) or any of its subsidiaries or associated companies. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of
Re: Urgent Need Help in SMPP
Hi, for the priority problem: If you are giving priority parameter in kannel, then it just put this value in priority_flag of submit_sm pdu of smpp. So, dont expect if there is a Qeue of 100 msg's and you send a 0 priority message, it will jump this queue and reach smsc premises. After that its SMSc's role to deliver it by looking this parameter, and sometimes smsc's does not do it as they are not bound to do it. Kannel routing problem: Looking on your config it seems ok, just try with commenting denied-smsc-id. Be sure that you are sending the message with smsc-id from behind, then only this routing mechanism will work. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 2:38 PM, adil nazir adil_nazi...@yahoo.com wrote: I hereby enclose the configuration file please find attachment and give me the solution of my problems. -- *From:* jyotiranjan panda tell2jy...@gmail.com *To:* adil nazir adil_nazi...@yahoo.com *Cc:* users@kannel.org *Sent:* Wed, August 11, 2010 12:17:44 PM *Subject:* Re: Urgent Need Help in SMPP Can you send your kannel config that you are using to solve below issues. I think there is some configurational problem. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 12:22 PM, adil nazir adil_nazi...@yahoo.comwrote: Please can any one tell me that how can i extract SMPP code from kannel. I want to develop my own application using SMPP i want this because of following reasons: 1. In existing kannel i am unable to give high priority to the massages already in queue i have also used (0-3) priority but still its behavior is same. 2. Also existing kannel route the massage to any SMSC in multiple SMSC environment. I have tried to use denied-smsc-id but still when one SMSC goes down (means not responding but not alive ) kannel route message to the other SMSC. So that is why i want to extract SMPP module from kannel so guide me how can i do this i am new on kannel source code. Also if you have any other solution then tell me but reply as soon as possible. Regards, Adil
Re: dlr smppbox
Your smsc needs to support DLR's. It's usually not enabled by default and you need to check with them. The first DLR is created internally by Kannel when it receives the submit_sm_resp no matter what the SMSC have configured (I call them fake dlrs). From then on, real DLR's arrive as deliver_sm's from the SMSC, and that's where you need to be sure that they do have them enabled. Check with your SMSC operator, if you send them messages with registered_delivery 0 and don't get the deliver_sm dlrs back it's probably them not having it enabled. Hope it helps. Regards, Alex On Wed, Aug 11, 2010 at 12:14 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: I read it, it does not matter what is in log file, Not found, ok or failure. My question was about Delivery report not http smsc response. At the bottom of log file you can see SMSC[EXTERNAL]: creating DLR message So this DLR messages inserted to dlr table but esme doesn't receive it. I need to find why esme didn't got deliver_sm ? Thanks -- Date: Wed, 11 Aug 2010 11:34:55 +0200 Subject: Re: dlr smppbox From: alejandro.guerri...@gmail.com To: imran.agha...@hotmail.co.uk CC: rene.klu...@chimit.nl; users@kannel.org Did you _really_ read the log entry? It shows 404 Not Found and a reference to www.azeriguide.co.uk, does that ring any bells? Regards, Alex On Wed, Aug 11, 2010 at 11:17 AM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 !DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC -//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a .htmlhead. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 title404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound/title./h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e eadbody.h1N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found/h1.p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 ./p.hr.addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80/ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress./body/ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: SMPP 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to 127.0.0.1 -- From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene *From:* Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] *Sent:* Tuesday,
RE: dlr smppbox
Could you also post your smppbox.log? From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: Wednesday, 11 August, 2010 12:14 To: alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox I read it, it does not matter what is in log file, Not found, ok or failure. My question was about Delivery report not http smsc response. At the bottom of log file you can see SMSC[EXTERNAL]: creating DLR message So this DLR messages inserted to dlr table but esme doesn't receive it. I need to find why esme didn't got deliver_sm ? Thanks _ Date: Wed, 11 Aug 2010 11:34:55 +0200 Subject: Re: dlr smppbox From: alejandro.guerri...@gmail.com To: imran.agha...@hotmail.co.uk CC: rene.klu...@chimit.nl; users@kannel.org Did you _really_ read the log entry? It shows 404 Not Found and a reference to www.azeriguide.co.uk, does that ring any bells? Regards, Alex On Wed, Aug 11, 2010 at 11:17 AM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 !DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC -//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a .htmlhead. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 title404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound/title./h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e eadbody.h1N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found/h1.p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 ./p.hr.addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80/ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress./body/ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: SMPP 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to 127.0.0.1 _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Tuesday, 10 August, 2010 22:47 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr
RE: sqlbox problem with utf-8 coding
Great I installed it and it works fine. Good job Rene ;) Tks Rene Kluwen wrote: Your solution exists already. Update sqlbox to latest svn (later than 2010-08-02). The quote bug is solved in that version. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adams0 Sent: Tuesday, 10 August, 2010 16:56 To: users@kannel.org Subject: sqlbox problem with utf-8 coding Hello All, I am using kannel-1.4.3 with sqlbox-0.7.2. Sqlbox works fine except that I encounter a coding pb when sending char like ', I receive /' on my cell phone. I know this is known pb and looked for solutions online, but no success. ex: I send an http request with text = d'utilesssql. If I check my logs I have: access_smsbox_server.log: 2010-08-09 15:09:22 send-SMS request added - sender:tester:parameter 127.0.0.1 target: request: 'd'utilesssql' sqlbox: | sql_id | momt | sender| receiver| udhdata | msgdata | time | smsc_id | service | account | id | sms_type | mclass | mwi | coding | compress | validity | deferred | dlr_mask | dlr_url | pid | alt_dcs | rpi | charset | boxc_id | binfo | +-+--+---+-+-+--+--- -+---+-+-+--+--++--+ +--+--+--+--+-+--+-+ --+-+-+---+ | 3422777 | MT | parameter | xx | NULL| d'utilesssql | 1281359362 | group_all | tester | NULL| NULL |2 | NULL | NULL | 0 | NULL | NULL | NULL | NULL | NULL| NULL |NULL | NULL | NULL | NULL| NULL | access_server.log: 2010-08-09 15:59:11 Sent SMS [SMSC:xx] [SVC:tester] [ACT:] [BINF:] [FID:] [META:] [from:parameter] [to:xxx] [flags:-1:0:-1:-1:-1] [msg:14:d./'utilesssql] [udh:0:] I 've set everything in utf-8 from kannel (.conf files) to mysql and linux (env). Magic quotes on mysql are off too. Please help meon that subject. I think the solution would go through php or C dev but I am not really a specialist on these points. Rgds Adams -- View this message in context: http://old.nabble.com/sqlbox-problem-with-utf-8-coding-tp29397830p29397830.h tml Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/sqlbox-problem-with-utf-8-coding-tp29397830p29407044.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Urgent Need Help in SMPP
Actually, Kannel honors your priority inside its queue, 3 being the highest and 0 the lowest. Regarding the SMPP priority flag, I seriously doubt that any carrier out there would trust 3rd. parties to set their priority queueing. It's one of those parameters that made sense on the spec papers but would never go past company's policies. ;) Regards, Alex On Wed, Aug 11, 2010 at 12:54 PM, jyotiranjan panda tell2jy...@gmail.comwrote: Hi, for the priority problem: If you are giving priority parameter in kannel, then it just put this value in priority_flag of submit_sm pdu of smpp. So, dont expect if there is a Qeue of 100 msg's and you send a 0 priority message, it will jump this queue and reach smsc premises. After that its SMSc's role to deliver it by looking this parameter, and sometimes smsc's does not do it as they are not bound to do it. Kannel routing problem: Looking on your config it seems ok, just try with commenting denied-smsc-id. Be sure that you are sending the message with smsc-id from behind, then only this routing mechanism will work. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 2:38 PM, adil nazir adil_nazi...@yahoo.comwrote: I hereby enclose the configuration file please find attachment and give me the solution of my problems. -- *From:* jyotiranjan panda tell2jy...@gmail.com *To:* adil nazir adil_nazi...@yahoo.com *Cc:* users@kannel.org *Sent:* Wed, August 11, 2010 12:17:44 PM *Subject:* Re: Urgent Need Help in SMPP Can you send your kannel config that you are using to solve below issues. I think there is some configurational problem. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 12:22 PM, adil nazir adil_nazi...@yahoo.comwrote: Please can any one tell me that how can i extract SMPP code from kannel. I want to develop my own application using SMPP i want this because of following reasons: 1. In existing kannel i am unable to give high priority to the massages already in queue i have also used (0-3) priority but still its behavior is same. 2. Also existing kannel route the massage to any SMSC in multiple SMSC environment. I have tried to use denied-smsc-id but still when one SMSC goes down (means not responding but not alive ) kannel route message to the other SMSC. So that is why i want to extract SMPP module from kannel so guide me how can i do this i am new on kannel source code. Also if you have any other solution then tell me but reply as soon as possible. Regards, Adil
Re: Urgent Need Help in SMPP
Please always add users@kannel.org in your mail. Dont send direct mails. In this way only anyone can help you. I am just elaborating your case which I understand from your mail like below group = smsc smsc-id = A denied_smsc_id = B allowed_smsc_id = A group = smsc smsc-id = B denied_smsc_id = A allowed_smsc_id = B x Now you sent msg1 with smsc-id = A and smsc A is not working, then As per my knowledge the message will be in Queue as smsc B will not allow any message with smsc-id = A. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 4:51 PM, adil nazir adil_nazi...@yahoo.com wrote: For Kannel routing Problem i have testes a case in which i use the 2 SMPP connections and in both smsc connections i declare denied-smsc-id. After that i send an msg on the opposite smsc's by logic smsc's should not a accept msg even its url include the smsc id because i declare denied-smsc-id. But its accepting all messages why? For testing purpose I a using one PC and drive_smpp located in test folder assuming that the same behavior will be shown by them when i deploy them in real scenario. On the other hand the same test case run successfully when i use fakesmsc. Tell me why? is it true that denied-smsc-id is not work with SMPP type of smsc id?. -- *From:* jyotiranjan panda tell2jy...@gmail.com *To:* adil nazir adil_nazi...@yahoo.com *Cc:* users@kannel.org *Sent:* Wed, August 11, 2010 3:54:49 PM *Subject:* Re: Urgent Need Help in SMPP Hi, for the priority problem: If you are giving priority parameter in kannel, then it just put this value in priority_flag of submit_sm pdu of smpp. So, dont expect if there is a Qeue of 100 msg's and you send a 0 priority message, it will jump this queue and reach smsc premises. After that its SMSc's role to deliver it by looking this parameter, and sometimes smsc's does not do it as they are not bound to do it. Kannel routing problem: Looking on your config it seems ok, just try with commenting denied-smsc-id. Be sure that you are sending the message with smsc-id from behind, then only this routing mechanism will work. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 2:38 PM, adil nazir adil_nazi...@yahoo.comwrote: I hereby enclose the configuration file please find attachment and give me the solution of my problems. -- *From:* jyotiranjan panda tell2jy...@gmail.com *To:* adil nazir adil_nazi...@yahoo.com *Cc:* users@kannel.org *Sent:* Wed, August 11, 2010 12:17:44 PM *Subject:* Re: Urgent Need Help in SMPP Can you send your kannel config that you are using to solve below issues. I think there is some configurational problem. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 12:22 PM, adil nazir adil_nazi...@yahoo.comwrote: Please can any one tell me that how can i extract SMPP code from kannel. I want to develop my own application using SMPP i want this because of following reasons: 1. In existing kannel i am unable to give high priority to the massages already in queue i have also used (0-3) priority but still its behavior is same. 2. Also existing kannel route the massage to any SMSC in multiple SMSC environment. I have tried to use denied-smsc-id but still when one SMSC goes down (means not responding but not alive ) kannel route message to the other SMSC. So that is why i want to extract SMPP module from kannel so guide me how can i do this i am new on kannel source code. Also if you have any other solution then tell me but reply as soon as possible. Regards, Adil
Re: Problem with spool store - missing sms_type
Hi Rene, Thanks for solving the problem. However I've found in the code few lines earlier in *pdu_to_msg: if (pdu-u.submit_sm.esm_class (0x04|0x08)) { msg-sms.sms_type = report_mo; } and then there is: msg-sms.sms_type = mt_push; which will finally always rewrite a value of msg-sms.sms_type to mt_push. Shouldn't this line be set before? Tomasz W Twoim liście datowanym 11 sierpnia 2010 (14:10:20) można przeczytać: I submitted the MT_PUSH fix to svn trunk already. You just need to svn update and you are all set. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 22:26 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, I added following line after 1485 line to smppbox.c (is case submit_sm section): msg-sms.sms_type = mt_push; to check if this time msg_type will be filled and it seems to be. Bearerbox now see MT_PUSH as Type in admin page. But I don't know if submit_sm is used only to send MT messages so this is not final clear solution I think. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (21:49:05) można przeczytać: Looking into the msg.c source code (function msg_pack()) it is not even possible for smppbox to send a message with an invalid msg-type to bearerbox. I wonder what might be wrong. == Rene -Original Message- From: Tomasz [mailto:ad...@impexrur.pl] Sent: Tuesday, 10 August, 2010 20:22 To: Rene Kluwen Subject: Re: Problem with spool store - missing sms_type When I call http://domain.pl:13000/store-status I can see the table of all queued messages (if any). And all those messages which were submitted via openSMPPBOX have Type field empty there. However all messages submitted by SMSBOX have this value filled correctly. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (19:06:21) można przeczytać: Where exactly in the http admin page do you see that msg_type is empty? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 18:21 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, I don't know for sure if this is openSMPPBOX issue or not but if messages are submitted via openSMPPBOX the msg_type is empty and this makes that Bearerbox crashes during restart when we have some messages queued in the spool. When submitting messages by SMSBOX (CGI push), the problem didn't exists - msg_type is set correctly. I can check if msg_type exists or not using http admin store-status command (when there are some queued messages). Messages submitted via openSMPPBOX have empty fields in Type column. Rene, I can provide more details with the issue, but I can't see in logs any revelant information - only PANICs during start of Bearerbox. Only at http admin page I can see that msg_type is empty. But if you need please let me know what information would be helpful. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (17:01:52) można przeczytać: In the smppbox code, I don’t see anywhere where a msg is created without msg_type. We use the msg_create() function and dlr_find functions to create messages. If this is an smppbox issue, I would like to get more information about it. == Rene From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Monday, 09 August, 2010 23:27 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Problem with spool store - missing sms_type Exactly. The point is: during normal operation, kannel of course it doesn't panic and will accept messages without a valid sms type. However, they're kept on the store with an invalid format, so if you shutdown the service with messages pending on the store, and just one of them happens to have an invalid sms type, the service panics at startup. This is less than desirable of course, specially when you have a ton of completely valid messages and just a bunch of invalid. IMHO, kannel should reject messages with invalid sms type during regular operation (with a WARN logged). It _shouldn't_ try to fix them. That would take care of the problem in a proper way. Apart from that, a way to discard invalid messages at bootup without panicking would also be desirable Regards, Alex On Mon, Aug 9, 2010 at 11:11 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Yes, open smppbox should correctly fill in the correct type. If it doesn't it is an error. But at the same time: If one particular message has an incorrent sms_type. Why panic? It can just discard the message and go on with normal operation. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 09 August, 2010 22:34 To: Alejandro Guerrieri Cc:
Re: problem with charset
try using alt-charset in smsc group. use the charset in which your smsc needs it. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 5:46 PM, Beatrice Tamburrino beatrice.tamburr...@gmx.ch wrote: no hellp? :( Original-Nachricht Datum: Wed, 11 Aug 2010 12:14:50 +0200 Von: Beatrice Tamburrino beatrice.tamburr...@gmx.ch An: users@kannel.org Betreff: problem with charset Hi! I need some urgent help! I have version 1.4.3 and an SMSC to a provider which uses ucp/emi protocol. They told me that they accept 7bit alphabet format. There is a problem with the special characters, for example. I send this message: Test:öäü and I get: Test:öäñ so it seemst that the format is right but why is only the ü not shown? in the 7bit alphabet table I see that the character ñ is one position earlier than the ü. has somebody an idea on why that is??? many many thanks in advance.. its very urgent, this has to work today.. THANKS!!! -- GMX DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
RE: Problem with spool store - missing sms_type
You are right! I moved the line further upward in the sources. I knew that line (with report_mo) had to be somewhere. But couldn't find it so fast. Heh... == Rene -Original Message- From: Tomasz Konopka [mailto:ad...@impexrur.pl] Sent: Wednesday, 11 August, 2010 14:24 To: Rene Kluwen Cc: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, Thanks for solving the problem. However I've found in the code few lines earlier in *pdu_to_msg: if (pdu-u.submit_sm.esm_class (0x04|0x08)) { msg-sms.sms_type = report_mo; } and then there is: msg-sms.sms_type = mt_push; which will finally always rewrite a value of msg-sms.sms_type to mt_push. Shouldn't this line be set before? Tomasz W Twoim liście datowanym 11 sierpnia 2010 (14:10:20) można przeczytać: I submitted the MT_PUSH fix to svn trunk already. You just need to svn update and you are all set. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 22:26 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, I added following line after 1485 line to smppbox.c (is case submit_sm section): msg-sms.sms_type = mt_push; to check if this time msg_type will be filled and it seems to be. Bearerbox now see MT_PUSH as Type in admin page. But I don't know if submit_sm is used only to send MT messages so this is not final clear solution I think. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (21:49:05) można przeczytać: Looking into the msg.c source code (function msg_pack()) it is not even possible for smppbox to send a message with an invalid msg-type to bearerbox. I wonder what might be wrong. == Rene -Original Message- From: Tomasz [mailto:ad...@impexrur.pl] Sent: Tuesday, 10 August, 2010 20:22 To: Rene Kluwen Subject: Re: Problem with spool store - missing sms_type When I call http://domain.pl:13000/store-status I can see the table of all queued messages (if any). And all those messages which were submitted via openSMPPBOX have Type field empty there. However all messages submitted by SMSBOX have this value filled correctly. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (19:06:21) można przeczytać: Where exactly in the http admin page do you see that msg_type is empty? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 18:21 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, I don't know for sure if this is openSMPPBOX issue or not but if messages are submitted via openSMPPBOX the msg_type is empty and this makes that Bearerbox crashes during restart when we have some messages queued in the spool. When submitting messages by SMSBOX (CGI push), the problem didn't exists - msg_type is set correctly. I can check if msg_type exists or not using http admin store-status command (when there are some queued messages). Messages submitted via openSMPPBOX have empty fields in Type column. Rene, I can provide more details with the issue, but I can't see in logs any revelant information - only PANICs during start of Bearerbox. Only at http admin page I can see that msg_type is empty. But if you need please let me know what information would be helpful. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (17:01:52) można przeczytać: In the smppbox code, I don’t see anywhere where a msg is created without msg_type. We use the msg_create() function and dlr_find functions to create messages. If this is an smppbox issue, I would like to get more information about it. == Rene From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Monday, 09 August, 2010 23:27 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Problem with spool store - missing sms_type Exactly. The point is: during normal operation, kannel of course it doesn't panic and will accept messages without a valid sms type. However, they're kept on the store with an invalid format, so if you shutdown the service with messages pending on the store, and just one of them happens to have an invalid sms type, the service panics at startup. This is less than desirable of course, specially when you have a ton of completely valid messages and just a bunch of invalid. IMHO, kannel should reject messages with invalid sms type during regular operation (with a WARN logged). It _shouldn't_ try to fix them. That would take care of the problem in a proper way. Apart from that, a way to discard invalid messages at bootup without panicking would also be desirable Regards, Alex On Mon, Aug 9, 2010 at 11:11 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Yes, open smppbox should correctly fill in the correct type. If it doesn't it is
Re: problem with charset
hey thanks for your input. but I tried to set this configuration, I tried with UTF-8, latin1.. and thats it not working.. its 7bit alphabet format.. should I try something else?? Original-Nachricht Datum: Wed, 11 Aug 2010 17:57:21 +0530 Von: jyotiranjan panda tell2jy...@gmail.com An: Beatrice Tamburrino beatrice.tamburr...@gmx.ch CC: users@kannel.org Betreff: Re: problem with charset try using alt-charset in smsc group. use the charset in which your smsc needs it. Regards Jyoti Ranjan Panda On Wed, Aug 11, 2010 at 5:46 PM, Beatrice Tamburrino beatrice.tamburr...@gmx.ch wrote: no hellp? :( Original-Nachricht Datum: Wed, 11 Aug 2010 12:14:50 +0200 Von: Beatrice Tamburrino beatrice.tamburr...@gmx.ch An: users@kannel.org Betreff: problem with charset Hi! I need some urgent help! I have version 1.4.3 and an SMSC to a provider which uses ucp/emi protocol. They told me that they accept 7bit alphabet format. There is a problem with the special characters, for example. I send this message: Test:öäü and I get: Test:öäñ so it seemst that the format is right but why is only the ü not shown? in the 7bit alphabet table I see that the character ñ is one position earlier than the ü. has somebody an idea on why that is??? many many thanks in advance.. its very urgent, this has to work today.. THANKS!!! -- GMX DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
How do i unsubscribe?
Hi, How do i unsubscribe from the mailinglist? -- Marc
RE: How do i unsubscribe?
Wish I knew been trying for a year now * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This e-mail, the information contained in it and any files or attachments transmitted with it are confidential and may be legally privileged. They are intended solely for the use of the intended recipient(s). Access to this e-mail by anyone else is unauthorised. The content of this e-mail and any files or attachments transmitted with it may have been changed or replaced without the consent of the author, and in circumstances where the content of this e-mail is important you should not rely on its integrity without checking it by telephone or fax. Eagle Eye SOlutions does not accept any responsibility for any breach of confidence which may arise from the use of e-mail as a means of communication If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, copying, transmission or other use of this e-mail is prohibited and may, in certain circumstances, be a criminal offence, as may any action taken or omitted to be taken in reliance on it. Please also note that any views, opinions or advice contained in this e-mail are those of the sending individual, except where the sender specifically states them to be the views of Eagle Eye Solutions. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Eagle Eye Solutions Limited Registered in the UK Company Registration Number: 04745717 Registered Address: 3rd Floor, City View Place, 67, Sydenham Road, Guildford, Surrey. GU1 3RY * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Marc Cuypers Sent: 11 August 2010 15:59 To: 'Kannel list' Subject: How do i unsubscribe? Hi, How do i unsubscribe from the mailinglist? -- Marc __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
GSM characters
Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
Hi, Please post relevant startup detailed bb + smsbox logs of the failed attempt (after restart). BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Wednesday, August 11, 2010 3:12 PM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks all, The bearer box and smsbox logs when log-level is set to 0 is as follows: #BEARERBOX LOGS AT log-level=0# 2010-08-11 13:33:06 [3498] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2010-08-11 13:33:06 [3498] [0] INFO: HTTP: Opening server at port 13000. 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-08-11 13:33:06 [3498] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3498. 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-08-11 13:33:06 [3498] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3498. 2010-08-11 13:33:06 [3498] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 3498. 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2010-08-11 13:33:06 [3498] [0] DEBUG: starting smsbox connection module 2010-08-11 13:33:06 [3498] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-08-11 13:33:06 [3498] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3498. 2010-08-11 13:33:06 [3498] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 3498. 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2010-08-11 13:33:06 [3498] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-11 13:33:06 [3498] [0] INFO: SMS resend retry set to unlimited. 2010-08-11 13:33:06 [3498] [0] DEBUG: smsbox MO concatenated message handling enabled 2010-08-11 13:33:06 [3498] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-11 13:33:06 [3498] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2010-08-11 13:33:06 [3498] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3498. 2010-08-11 13:33:06 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem speed. 2010-08-11 13:33:06 [3498] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2010-08-11 13:33:06 [3498] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 3498. 2010-08-11 13:33:06 [3498] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2010-08-11 13:33:06 [3498] [0] INFO: 2010-08-11 13:33:06 [3498] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-08-11 13:33:06 [3498] [0] INFO: MAIN: Start-up done, entering mainloop 2010-08-11 13:33:06 [3498] [0] DEBUG: AT2[/dev/ttyACM0]: start called 2010-08-11 13:33:06 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet mode = 0 2010-08-11 13:33:07 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2010-08-11 13:33:07 [3498] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-08-11 13:33:07 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M 2010-08-11 13:33:09 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2010-08-11 13:33:09 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT 2010-08-11 13:33:09 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2010-08-11 13:33:09 [3498] [6] INFO: AT2[/dev/ttyACM0]: Closing device 2010-08-11 13:33:09 [3498] [6] INFO: AT2[/dev/ttyACM0]: detect speed is 115200 2010-08-11 13:33:09 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2010-08-11 13:33:09 [3498] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-11 13:33:09 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet mode = 0 2010-08-11 13:33:10 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2010-08-11 13:33:10 [3498] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-08-11 13:33:10 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATI^M 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- Sony Ericsson C702 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2010-08-11 13:33:12 [3498] [6] DEBUG: AT2[/dev/ttyACM0]: found string Sony, using modem definition Sony Ericsson C702 2010-08-11 13:33:12 [3498] [6]
Re: GSM characters
FYI, I tested your command with lastest Kannel SVN and I got: @£$¥?_?^{}\[~]|???!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ?? §¿abcdefghijklmnopqrstuvwxyz?ü *Note: I have in my case cgi-script - smsbox - sqlbox - bearerbox* Regards, Emmanuel 2010/8/11 Rene Kluwen rene.klu...@chimit.nl The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and further do some kind of character set processing. Does that mean that greek characters in these versions cannot be sent anymore? Requirement is to have gsm encoding in the sendsms url. How do I do that? == Rene *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Rene Kluwen *Sent:* Wednesday, 11 August, 2010 18:02 *To:* users@kannel.org *Subject:* GSM characters Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
RE: GSM characters
Thanks for testing. The question marks should be Greek characters. I am implementing an old Kannel version now, just because of this. Patched sqlbox so that it works without meta-data and I do get the proper characters on my hand set when I insert that string into send_sms. == Rene From: Emmanuel CHANSON [mailto:emmanuelchan...@gmail.com] Sent: Wednesday, 11 August, 2010 23:40 To: Rene Kluwen Cc: users@kannel.org Subject: Re: GSM characters FYI, I tested your command with lastest Kannel SVN and I got: @£$¥?_?^{}\[~]|???!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ?? §¿abcdefghijklmnopqrstuvwxyz?ü Note: I have in my case cgi-script - smsbox - sqlbox - bearerbox Regards, Emmanuel 2010/8/11 Rene Kluwen rene.klu...@chimit.nl The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and further do some kind of character set processing. Does that mean that greek characters in these versions cannot be sent anymore? Requirement is to have gsm encoding in the sendsms url. How do I do that? == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: Wednesday, 11 August, 2010 18:02 To: users@kannel.org Subject: GSM characters Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Re: GSM characters
I cannot test them. However, there is a patch for GSM 0.38 from Stipe for its CG version. I am not sure of the copyrights. Apparently some functionality was lost when migrated from 1.4.1 to utf in 1.4.3. BR, Nikos - Original Message - From: Rene Kluwen To: 'Rene Kluwen' ; users@kannel.org Sent: Thursday, August 12, 2010 12:17 AM Subject: RE: GSM characters The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and further do some kind of character set processing. Does that mean that greek characters in these versions cannot be sent anymore? Requirement is to have gsm encoding in the sendsms url. How do I do that? == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: Wednesday, 11 August, 2010 18:02 To: users@kannel.org Subject: GSM characters Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇ�øÅåΔ_ΦΓΛΩΠΨΣ��^{}\[~]|€Ææ�É!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑ�§¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene
Re: Kannel and mods design question
Hi Emmanuel, I don't quite understand what you mean. Can you elaborate? 1) Unitary SMS. You mean individual SMS pushed on demand? Definitely the smsbox HTTP API. You will need some kind of fancy HTTP interface for the client. You may need also online accounting/billing. 2) batch/mailing? You mean batch submit SMS over SMTP? You can definitely use sqlbox for the batch part, you will need some fancy footwork to extract SMS into the DB. 3) MO and DLRs. The scheme you describe will handle both MOs and DLRs. I am not sure what you mean by the distinction of MT-sqlbox and MO-sqlbox, I don't have that much experience with it, and maybe someone can add if it needs something else. AFAIK sqlbox can handle both kinds of traffic, without the need of anything external. BR, Nikos - Original Message - From: Emmanuel CHANSON To: users Sent: Thursday, August 12, 2010 12:10 AM Subject: Re: Kannel and mods design question Hello, Any advises about this question below ? Regards, Emmanuel 2010/8/11 Emmanuel CHANSON emmanuelchan...@gmail.com I post this question just to get feedback from you experts about the best way to design a kannel system where needs are: - unitary SMS ( CGI script from smsbox in this case is recommended ?) - batch/mailling SMS (MT injection in sqlbox-mt in this case ?) - MOs and DLRs to receives (sqlbox-mo and smsbox in this case ?) Traffic is not high for MO (1 SMS / minute) , a little bit more for MT mailling ( batch of 5000 per day, so DLRs comming back have to be handled) My actuel config: HTTP CGI script -- SMSBOX --- SQLBOX-MO --- BEARERBOX --- MODEM/SMS-C | | | HTTP SCRIPT for MT Injection - SQLBOX-MT--- Question is this relevant to configure Kannel like this for my purposes ? Best Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Re: Kannel and mods design question
Thanks Nikos, You understand well my questions. - 1) For individual SMS pushed better to use smsbox HTTP API - 2) For batch SMS ( AO-MT I mean ) better to use sqlbox injection. - 3) MO and DLRs handled by sqlbox-mo and smsbox I have separated the MO and MT flow by connecting two sqlbox (one for MO and DLRs and the others for MT injection) I know we can think differently (work with just one sqlbox) but I will work like this for my purpose that is to use a GUI ( new PlaySMS branch created called PlaySMS-KM² who can use smsbox HTTP API for single SMS and sqlbox MT injection for batch, with some others things). Regards, Emmanuel 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi Emmanuel, I don't quite understand what you mean. Can you elaborate? 1) Unitary SMS. You mean individual SMS pushed on demand? Definitely the smsbox HTTP API. You will need some kind of fancy HTTP interface for the client. You may need also online accounting/billing. 2) batch/mailing? You mean batch submit SMS over SMTP? You can definitely use sqlbox for the batch part, you will need some fancy footwork to extract SMS into the DB. 3) MO and DLRs. The scheme you describe will handle both MOs and DLRs. I am not sure what you mean by the distinction of MT-sqlbox and MO-sqlbox, I don't have that much experience with it, and maybe someone can add if it needs something else. AFAIK sqlbox can handle both kinds of traffic, without the need of anything external. BR, Nikos - Original Message - From: Emmanuel CHANSON To: users Sent: Thursday, August 12, 2010 12:10 AM Subject: Re: Kannel and mods design question Hello, Any advises about this question below ? Regards, Emmanuel 2010/8/11 Emmanuel CHANSON emmanuelchan...@gmail.com I post this question just to get feedback from you experts about the best way to design a kannel system where needs are: - unitary SMS ( CGI script from smsbox in this case is recommended ?) - batch/mailling SMS (MT injection in sqlbox-mt in this case ?) - MOs and DLRs to receives (sqlbox-mo and smsbox in this case ?) Traffic is not high for MO (1 SMS / minute) , a little bit more for MT mailling ( batch of 5000 per day, so DLRs comming back have to be handled) My actuel config: HTTP CGI script -- SMSBOX --- SQLBOX-MO --- BEARERBOX --- MODEM/SMS-C | | | HTTP SCRIPT for MT Injection - SQLBOX-MT--- Question is this relevant to configure Kannel like this for my purposes ? Best Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Re: Kannel and mods design question
Just one more point. I imagine you use sqlbox-MO just for billing. Otherwise an smsbox--besarerbox-modem would be better. BR, Nikos - Original Message - From: Emmanuel CHANSON To: Nikos Balkanas Cc: users Sent: Thursday, August 12, 2010 2:50 AM Subject: Re: Kannel and mods design question Thanks Nikos, You understand well my questions. - 1) For individual SMS pushed better to use smsbox HTTP API - 2) For batch SMS ( AO-MT I mean ) better to use sqlbox injection. - 3) MO and DLRs handled by sqlbox-mo and smsbox I have separated the MO and MT flow by connecting two sqlbox (one for MO and DLRs and the others for MT injection) I know we can think differently (work with just one sqlbox) but I will work like this for my purpose that is to use a GUI ( new PlaySMS branch created called PlaySMS-KMΒ² who can use smsbox HTTP API for single SMS and sqlbox MT injection for batch, with some others things). Regards, Emmanuel 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi Emmanuel, I don't quite understand what you mean. Can you elaborate? 1) Unitary SMS. You mean individual SMS pushed on demand? Definitely the smsbox HTTP API. You will need some kind of fancy HTTP interface for the client. You may need also online accounting/billing. 2) batch/mailing? You mean batch submit SMS over SMTP? You can definitely use sqlbox for the batch part, you will need some fancy footwork to extract SMS into the DB. 3) MO and DLRs. The scheme you describe will handle both MOs and DLRs. I am not sure what you mean by the distinction of MT-sqlbox and MO-sqlbox, I don't have that much experience with it, and maybe someone can add if it needs something else. AFAIK sqlbox can handle both kinds of traffic, without the need of anything external. BR, Nikos - Original Message - From: Emmanuel CHANSON To: users Sent: Thursday, August 12, 2010 12:10 AM Subject: Re: Kannel and mods design question Hello, Any advises about this question below ? Regards, Emmanuel 2010/8/11 Emmanuel CHANSON emmanuelchan...@gmail.com I post this question just to get feedback from you experts about the best way to design a kannel system where needs are: - unitary SMS ( CGI script from smsbox in this case is recommended ?) - batch/mailling SMS (MT injection in sqlbox-mt in this case ?) - MOs and DLRs to receives (sqlbox-mo and smsbox in this case ?) Traffic is not high for MO (1 SMS / minute) , a little bit more for MT mailling ( batch of 5000 per day, so DLRs comming back have to be handled) My actuel config: HTTP CGI script -- SMSBOX --- SQLBOX-MO --- BEARERBOX --- MODEM/SMS-C Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | HTTP SCRIPT for MT Injection - SQLBOX-MT--- Question is this relevant to configure Kannel like this for my purposes ? Best Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΞΉdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΓ©donie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com