Re: Are the any interest for an Android SMSC?
Hi, look at this one: https://play.google.com/store/apps/details?id=eu.apksoft.android.smsgateway Regards, Cezary On 04/05/2012 16:22, Andrew Rump wrote: Hi I have been lurking around kannel.org http://kannel.org for some years to make sure the project are still alive but it still seem to be kicking!?! :-D I used Kannel several years ago with great success and was wondering if anyone are interested in making an Android app service which would enable Kannel to use an (read: any) Android phone as an sms modem? I am not completely sure how to get the data through USB from Kannel to the Android phone but I am pretty confident I can create an Android app service which can send and receive sms'! Does this have any interest? Regards Andrew Rump -- Software Engineer Andrew Rump * N55°41'38.9 E12°29'08.6(WGS 84) E-mail: mailto:and...@rump.dk mailto:and...@rump.dk * WWW: http://www.rump.dk/homepage/andrew/
Re: kannel setup
Hi Have you looked into the gateway's user guide? I don't think it supports SMS at all. This document does not mention SMS: http://www.matrixtelecom.hu/letolt/manualen/MATRIX%20SETU%20ATA211G%20SYSTEM%20MANUAL%20EN.pdf You might be unlucky then... Regards On 14/03/2012 14:31, Punjab OutSourcing wrote: thanks for response. I am using matrix 211g (voip gsm gateway) for dialing purpose with asterisk. I installed kannel on my centos system. i just want to send sms through my matrix device. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group = smsc smsc = fake smsc-id = FAKE port = 1 connect-allow-ip = 192.168.1.196 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 please see and modify according to my requirement. My matrix ip is 192.168.1.196 and it is dialing as peer to peer. On Wed, Mar 14, 2012 at 3:38 PM, Abdul Basit basit.e...@gmail.com mailto:basit.e...@gmail.com wrote: Please share kannel config and more information about gsm gateway like type, brand, number of ports, etc. What is your scope of work? this is necessary for proper answer. -- Regards, Abdul Basit | +92 32 1416 4196 tel:%2B92%2032%201416%204196 | +92 30 0841 1445 tel:%2B92%2030%200841%201445 On Wed, Mar 14, 2012 at 2:25 PM, Punjab OutSourcing punjaboutsourc...@gmail.com mailto:punjaboutsourc...@gmail.com wrote: Hello there. i have installed kannel with my centos server. i am using my gsm gateway http://192.168.1.196 with asterisk for dialing purpose. please guide me how to setup this with my kannel , i tried with smsc setting in kannel.conf but not success. Kindly help
Re: kannel setup
so what protocol do you want to use between kannel and the GSM gateway? Cezary On 14/03/2012 15:21, Punjab OutSourcing wrote: thanks i don't think so, sms is generating from kannel sms gateway and may be issue is setup fake smsc for this devices etc. kindly see. On Wed, Mar 14, 2012 at 8:44 PM, Cezary Siwek cza...@thebestisp.co.uk mailto:cza...@thebestisp.co.uk wrote: Hi Have you looked into the gateway's user guide? I don't think it supports SMS at all. This document does not mention SMS: http://www.matrixtelecom.hu/letolt/manualen/MATRIX%20SETU%20ATA211G%20SYSTEM%20MANUAL%20EN.pdf You might be unlucky then... Regards On 14/03/2012 14:31, Punjab OutSourcing wrote: thanks for response. I am using matrix 211g (voip gsm gateway) for dialing purpose with asterisk. I installed kannel on my centos system. i just want to send sms through my matrix device. group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group = smsc smsc = fake smsc-id = FAKE port = 1 connect-allow-ip = 192.168.1.196 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 please see and modify according to my requirement. My matrix ip is 192.168.1.196 and it is dialing as peer to peer. On Wed, Mar 14, 2012 at 3:38 PM, Abdul Basit basit.e...@gmail.com mailto:basit.e...@gmail.com mailto:basit.e...@gmail.com mailto:basit.e...@gmail.com wrote: Please share kannel config and more information about gsm gateway like type, brand, number of ports, etc. What is your scope of work? this is necessary for proper answer. -- Regards, Abdul Basit | +92 32 1416 4196 tel:%2B92%2032%201416%204196 tel:%2B92%2032%201416%204196 | +92 30 0841 1445 tel:%2B92%2030%200841%201445 tel:%2B92%2030%200841%201445 On Wed, Mar 14, 2012 at 2:25 PM, Punjab OutSourcing punjaboutsourc...@gmail.com mailto:punjaboutsourc...@gmail.com mailto:punjaboutsourc...@gmail.com mailto:punjaboutsourc...@gmail.com wrote: Hello there. i have installed kannel with my centos server. i am using my gsm gateway http://192.168.1.196 with asterisk for dialing purpose. please guide me how to setup this with my kannel , i tried with smsc setting in kannel.conf but not success. Kindly help
Re: SMS push performance problem
Hi, I'm not a Ruby expert but what I can see (correct me if I'm wrong) you are creating a new HTTP connection per SMS. That means the kannel has to create a new thread for each SMS. AFAIR Kannel supports keep-alive so you should be creating one HTTP connection per thread. This should significantly increase the performance. Regards On 13/12/2011 14:57, Fabio Sangiovanni wrote: Hello list, I've got some updates to show you to better explain my problem. Situation: CentOS/6 kannel 1.4.3, used as SMS gateway via http calls originating from a custom application my company developed kannel.conf: http://pastebin.com/CCX9PGMN Problem: Using a multithreaded application to send http requests to kannel, the result is that some of them get an answer only after a long delay (sometimes more than 1 minute). This happens only when a relatively high number of threads is in use (5). I got this behavior both in virtual and physical environment. Logfiles (both bearerbox and smsbox) show no errors at all. SMS messages are ultimately sent correctly to the SMSC. Strange thing: the pause always happens after about 16.300 requests queued. The problem seems to be related to the submit interface of kannel; once they're queued, everything goes smooth (sms delivered to SMSC at the rate forced by the SMSC itself). To reproduce the issue, I've coded a small Ruby script that is a simplified version of the final (more complex) application. You can find the script here: http://pastebin.com/Pe1QULGS Feel free to edit the GET parameters and the number of threads and sms per thread. Here you can find an extract from the results of a 25.000 (25x1000) run: http://pastebin.com/RSi42SVE As far as open files are concerned, during the tests a lsof -u kannel has never showed values beyond 170, so it shouldn't be the cause of the problem. I can provide further information, so feel free to ask. Thanks a lot for your help! Cheers, Fabio Il giorno 09/dic/2011, alle ore 16:29, ha...@aeon.pk ha scritto: Why dont u use SQLBOX? On Fri, Dec 9, 2011 at 7:44 PM, Fabio Sangiovannisangiova...@nweb.it wrote: Thanks again Mohammed, I'll change those settings as soon as I get back to work. I'll keep you posted! :) Cheers, Fabio Il giorno 09/dic/2011, alle ore 15:21, Mohammed Saleem ha scritto: Hey Fabio I can't provide a 100% solution for this issue before seeing the log. Try to check the log and see if there is any error. But most probably it is an open-files limitation problem, because you haven't set a limit to sms-outgoing-queue-limit. But Actually this depends on your throughput and how many messages you put in the queue of each connection. Try to do the following: (1) increase the limit of open-files for the user running kannel. (2) set a limit for sms-outgoing-queue-limit, for example don't make it more than 100 per 40 SMS/S throughput. This way kannel will reject any message when the queue is full (see the HTTP response for the client application which sends messages, you need to handle this kind of response to retry on the rejected messages due to Queue Full) Best Regards, Mohammed M I Sleem http://www.abusleem.net - Personal blog On Fri, Dec 9, 2011 at 4:01 PM, Fabio Sangiovannisangiova...@nweb.it wrote: Hi Mohammed, thanks for your reply. Unfortunately I won't be at my workplace again until next monday, so I won't be able to provide detailed logs since then. On the other hand, I can post the kannel.conf file currently in use on the test machine. Thanks again for your help. I'll post relevant log entries ASAP. Cheers, Fabio # # BEARERBOX # group = core admin-port = 13000 admin-password = SECRET #status-password = SECRET admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.*;192.168.1.* smsbox-port = 13003 #wapbox-port = 13002 #wdp-interface-name = * box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log access-log = /var/log/kannel/access.log store-type = spool store-location = /var/spool/kannel log-level = 1 #log-level = 0 sms-incoming-queue-limit = -1 sms-outgoing-queue-limit = -1 sms-resend-retry = 0 dlr-storage = internal # # SMSBOX # group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = 0123456789 log-file = /var/log/kannel/smsbox.log log-level = 1 #log-level = 0 access-log = /var/log/kannel/access.log # # ACCOUNT/SMSC MAPPINGS # # SMSC FAKEPLEX group = sendsms-user username = USERNAME1 password = SECRET1 name = user_smsc_fake user-deny-ip = *.*.*.* user-allow-ip = 127.0.0.*;192.168.1.* forced-smsc = smscfake default-sender = mycompany max-messages = 3 concatenation = 1 omit-empty = 1 # # SMSC PRODUCTION group = sendsms-user username = USERNAME2 password = SECRET2 name = user_smsc_prod user-deny-ip = *.*.*.* user-allow-ip =
Re: SyncML settings via OTA not valid
Hi Anthony, The *Status: 404 Answer: Unknown request.* error, refers to the favicon.ico which your client (browser?) is trying to fetch from kannel. The first XML request looks OK and smsbox has processed and sent that message: 2011-10-26 10:29:08 [6289] [3] DEBUG: Stored UUID c2b86955-3b76-4b82-97ee-76174db9a7b7 2011-10-26 10:29:08 [6289] [3] DEBUG: message length 363, sending 1 messages 2011-10-26 10:29:08 [6289] [3] DEBUG: Status: 202 Answer: Sent. ps. For oma/ota requests I strongly advise to use more recent version of kannel. IIRC there were a few bugs found and improvements in handling these messages. Regards, Cezary On 26/10/2011 09:36, Anthony Musaluke wrote: Hello all, I am having trouble getting the right format for sending syncml settings to my phone. I am using kannel 1.4.3 from cvs compiled with openssl. Have added to the core settings section, the lines: ssl-server-cert-file = /usr/local/src/trunk/gw/cert.pem ssl-server-key-file = /usr/local/src/trunk/gw/key.pem My syncml xml file loks like so: =//=== ?xml version=1.0 encoding=UTF-8? !DOCTYPE wap-provisioningdoc PUBLIC -//WAPFORUM//DTD PROV 1.0//EN http://www.wapforum.org/DTD/prov.dtd; wap-provisioningdoc characteristic type=APPLICATION parm name=APPID value=w5 / parm name=TO-NAPID value=INTERNET / parm name=NAME value=SyncML / parm name=ADDR value=http://41.222.240.237:8080/funambol/ds; / characteristic type=RESOURCE parm name=URI value=./contacts / parm name=NAME value=Contacts DB / parm name=AACCEPT value=text/x-vcard / /characteristic characteristic type=RESOURCE parm name=URI value=./calendar / parm name=NAME value=Calendar DB / parm name=AACCEPT value=text/x-vcalendar / /characteristic characteristic type=RESOURCE parm name=URI value=./notes / parm name=NAME value=Notes DB / parm name=AACCEPT value=text/plain / /characteristic characteristic type=APPAUTH parm name=AAUTHNAME value=goof / parm name=AAUTHSECRET value=goof / /characteristic /characteristic /wap-provisioningdoc =//=== when I send this file using the /cgi-bin/sendota, the smsbox log has a portion that says unknown request, but the message gets delivered. The problem is the phone cannot open the message and says unable to read message Part of the log file is below: 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 01 06 2f 1f 2d b6 91 81 92 45 35 33 36 39 43 41 ../.-E5369CA 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 34 36 41 30 44 33 37 44 45 38 37 41 43 34 31 38 46A0D37DE87AC418 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 37 35 33 32 46 43 37 34 38 35 39 37 42 44 44 37 7532FC748597BDD7 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 41 00 03 0b 6a 00 45 c6 00 01 55 01 87 36 00 00 A...j.E...U..6.. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 06 03 77 35 00 01 87 22 06 03 49 4e 54 45 52 4e ..w5.INTERN 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 45 54 00 01 87 07 06 03 53 79 6e 63 4d 4c 00 01 ET..SyncML.. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 87 00 01 34 00 00 06 03 68 74 74 70 3a 2f 2f 34 ...4http://3 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 31 2e 32 32 32 2e 32 34 30 2e 32 33 37 3a 38 30 1.222.240.237:80 http://1.222.240.237:80 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 38 30 2f 66 75 6e 61 6d 62 6f 6c 2f 64 73 00 01 80/funambol/ds.. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: c6 00 01 59 01 87 3a 00 00 06 03 2e 2f 63 6f 6e ...Y..:./con 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 74 61 63 74 73 00 01 87 07 06 03 43 6f 6e 74 61 tacts..Conta 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 63 74 73 20 44 42 00 01 87 00 01 2e 00 00 06 03 cts DB.. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 74 65 78 74 2f 78 2d 76 63 61 72 64 00 01 01 c6 text/x-vcard 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 00 01 59 01 87 3a 00 00 06 03 2e 2f 63 61 6c 65 ..Y..:./cale 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 6e 64 61 72 00 01 87 07 06 03 43 61 6c 65 6e 64 ndar..Calend 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 61 72 20 44 42 00 01 87 00 01 2e 00 00 06 03 74 ar DB..t 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 65 78 74 2f 78 2d 76 63 61 6c 65 6e 64 61 72 00 ext/x-vcalendar. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 01 01 c6 00 01 59 01 87 3a 00 00 06 03 2e 2f 6e .Y..:./n 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 6f 74 65 73 00 01 87 07 06 03 4e 6f 74 65 73 20 otes..Notes 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 44 42 00 01 87 00 01 2e 00 00 06 03 74 65 78 74 DB..text 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 2f 70 6c 61 69 6e 00 01 01 c6 00 01 57 01 87 31 /plain..W..1 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 00 00 06 03 67 6f 6f 66 00 01 87 00 01 32 00 00 goof.2.. 2011-10-26 10:29:08 [6289] [3] DEBUG: data: 06 03 67 6f 6f 66 00 01 01 01 01
Re: KANNEL CAN'T RECEIVE SMSes, HELP.
On 11/10/2011 00:51, Wanjiku Mwangi wrote: Hello Kernel users. Am Samuel. I recently setup kannel on Ubuntu 10.10 running XAMPP for linux and using HUAWEI E160 safaricom modem. The modem is sending messages successfully to the intended users without errors meaning that it is correctly configured. The problem is that it does not receive smses. I will attach the modems.conf and smskannel.conf. Please help me. Read the UG about smsbox-route group Regards
Re: Invitation to connect on LinkedIn
Do you know what are you doing? On 14/09/2011 16:10, Amrit Pal Pathak via LinkedIn wrote: LinkedIn Amrit Pal Pathak requested to add you as a connection on LinkedIn: Tapan, I'd like to add you to my professional network on LinkedIn. - Amrit Pal Accept http://www.linkedin.com/e/-dnyjyt-gskg5x9a-1p/T2qfpKUcUkMfGMKYYpwshrTiN_I/blk/I3112359753_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPcRdPARcP8Ncjd9bSF5mktAjAFVbPcMdz4Me3oMczgLrCBxbOYWrSlI/EML_comm_afe/?hs=falsetok=3h2MGJIHnKHkU1 View invitation from Amrit Pal Pathak http://www.linkedin.com/e/-dnyjyt-gskg5x9a-1p/T2qfpKUcUkMfGMKYYpwshrTiN_I/blk/I3112359753_2/39vcPkTejkPcz4NcQALqnpPbOYWrSlI/S2_svi/?hs=falsetok=05Pdd55ADKHkU1 © 2011, LinkedIn Corporation
Re: [Fwd: Re: Kannel issue]
Hi Mirek, Looking on your examples, you are sending a MO message to kannel and then you you send a receipt. Internal DLRs are only for MT messages (for those that you are sending through sendsms-port ). Bear in mind that internal DLRs are being written into the database only if you specify a correct dlr-mask. Regards, Cezary On 12/08/2011 06:13, Mirosław Sołowiej wrote: Hi Guys, I am quite new in kannel business, but first steps went quite smooth. I have ~20 different smsc running and they are ok. The thing which makes my life nightmare is DLR. Either I don't understand it well, or there is something I cannot get just from reading manuals. I have created two different SMSC, one for MO/MT and second one for DLR. # incoming/outgoing group = smsc smsc = http port = 23091 system-type = generic no-sep = true smsc-id = smsc_io smsc-admin-id = smsc_op allowed-smsc-id = smsc_io connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX send-url = http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; generic-foreign-id-regex = mid=([0-9]+) status-success-regex = 1 status-permfail-regex = 2 generic-param-to = sc generic-param-account = operator generic-param-from = msisdn generic-param-text = message generic-param-binfo = mid generic-status-sent = 200 generic-message-sent = OK generic-status-error = 404 log-file = /var/log/kannel/smsc_smscop.log log-level = 1 alt-charset = UTF-8 alt-addr-charset = UTF-8 # smsc Notifications # group = smsc smsc = http smsc-id = smsc_dr smsc-admin-id = smsc_op allowed-smsc-id = smsc_dr port = 23092 system-type = generic no-sep = true send-url = http://www.url.com/tmp; generic-param-dlr-mid = mid generic-param-dlr-mask= binfo generic-param-binfo= binfo generic-param-text= msisdn generic-message-sent = OK status-success-regex = .+ generic-status-sent = 200 generic-status-error = 404 connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX log-file = /var/log/kannel/smsc_smscop.log log-level = 0 alt-charset = UTF-8 alt-addr-charset = UTF-8 # Default Service for smsc group = sms-service keyword = default catch-all = true accepted-smsc = smsc_io concatenation = true omit-empty = true get-url = http://url/smsgate?partner=smsckeyword=%kmessage=%rfrom=%pto=%Psmsc=%icoding=%ccharset=%Cbinfo=%Baccount=%o; This is how I tested it: lynx -dump http://localhost:23091/sms?msisdn=sc=9786operator=PLUSmessage=TQM1+TESTmid=213685 and what I got OK lynx -dump http://localhost:23092/sms?msisdn=binfo=1mid=213685; and got Unknown DLR, not accepted Do you have any idea how to make kannel able to understand DLR? What do I do wrong? I am getting this in the log 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Received an HTTP request 2011-08-11 20:54:21 [3017] [21] DEBUG: DLR[pgsql]: Looking for DLR smsc=smsc_op, ts=157511, dst=(null), type=1 2011-08-11 20:54:21 [3017] [21] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tqm_kannel_dlr WHERE smsc='smsc_op' AND ts='157511' LIMIT 1; 2011-08-11 20:54:21 [3017] [21] DEBUG: no rows found 2011-08-11 20:54:21 [3017] [21] WARNING: DLR[pgsql]: DLR from SMSCsmsc_op for DST(null) not found. 2011-08-11 20:54:21 [3017] [21] ERROR: HTTP[smsc_dr]: Got DLR but could not find message or was not interested in it id157511 dst(null), type1 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Sending reply 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP: Destroying HTTPClient area 0x7f288c002640. 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Destroying client information Best regards and thanks in advance, Miroslaw Operations Manager Tequila Mobile S.A. mobile:: +48 512 833 151 office:: +48 71 750 5402 fax::+48 71 750 5419 skype:: msolowiej web::www.tequilamobile.com address: ul. Świętego Mikołaja 8-11 50-125 Wrocław Operations Manager Tequila Mobile S.A. mobile:: +48 512 833 151 office:: +48 71 750 5402 fax::+48 71 750 5419 skype:: msolowiej web::www.tequilamobile.com address: ul. Świętego Mikołaja 8-11 50-125 Wrocław
Re: [Fwd: Re: Kannel issue]
ok, so how do you send your MT message? do you specify dlr-url and dlr-mask in the url? On 12/08/2011 10:41, Mirosław Sołowiej wrote: Thanks for answer Czarek. I fully understand that DLR are for MT, which is send out in all my cases. Second test (lynx) is made to invoke DLR. Here is what I send back to customer (partner) http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; and here is sendsms invoke: sendsms?user=zzzpass=zzzqqqto=smsc=smsc_iotext=Service is working OK!from=9786dlr-mask=31dlr-url=URL/smsstatus?id_outbox=MYINTERNALIDstatu s=%dstatus_desc=%Abinfo=213685account=PLUScharset=UTF-8coding=1 For some reason, I see that FID: field remains empty in the log file. Does it matter? Any thoughts? Mirosław Sołowiej Message: 2 Date: Fri, 12 Aug 2011 07:13:28 +0200 From: Miros?aw So?owiejmiroslaw.solow...@tequilamobile.com To: users@kannel.org Subject: [Fwd: Re: Kannel issue] Message-ID: 96c905c2733d24840dd4f6f44ca15943.squir...@poczta.carrywater.pl Content-Type: text/plain; charset=iso-8859-2 Hi Guys, I am quite new in kannel business, but first steps went quite smooth. I have ~20 different smsc running and they are ok. The thing which makes my life nightmare is DLR. Either I don't understand it well, or there is something I cannot get just from reading manuals. I have created two different SMSC, one for MO/MT and second one for DLR. # incoming/outgoing group = smsc smsc = http port = 23091 system-type = generic no-sep = true smsc-id = smsc_io smsc-admin-id = smsc_op allowed-smsc-id = smsc_io connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX send-url = http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; generic-foreign-id-regex = mid=([0-9]+) status-success-regex = 1 status-permfail-regex = 2 generic-param-to = sc generic-param-account = operator generic-param-from = msisdn generic-param-text = message generic-param-binfo = mid generic-status-sent = 200 generic-message-sent = OK generic-status-error = 404 log-file = /var/log/kannel/smsc_smscop.log log-level = 1 alt-charset = UTF-8 alt-addr-charset = UTF-8 # smsc Notifications # group = smsc smsc = http smsc-id = smsc_dr smsc-admin-id = smsc_op allowed-smsc-id = smsc_dr port = 23092 system-type = generic no-sep = true send-url = http://www.url.com/tmp; generic-param-dlr-mid = mid generic-param-dlr-mask= binfo generic-param-binfo= binfo generic-param-text= msisdn generic-message-sent = OK status-success-regex = .+ generic-status-sent = 200 generic-status-error = 404 connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX log-file = /var/log/kannel/smsc_smscop.log log-level = 0 alt-charset = UTF-8 alt-addr-charset = UTF-8 # Default Service for smsc group = sms-service keyword = default catch-all = true accepted-smsc = smsc_io concatenation = true omit-empty = true get-url = http://url/smsgate?partner=smsckeyword=%kmessage=%rfrom=%pto=%Psmsc=%i; coding=%ccharset=%Cbinfo=%Baccount=%o This is how I tested it: lynx -dump http://localhost:23091/sms?msisdn=sc=9786operator=PLUSmessage=TQM 1+TESTmid=213685 and what I got OK lynx -dump http://localhost:23092/sms?msisdn=binfo=1mid=213685; and got Unknown DLR, not accepted Do you have any idea how to make kannel able to understand DLR? What do I do wrong? I am getting this in the log 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Received an HTTP request 2011-08-11 20:54:21 [3017] [21] DEBUG: DLR[pgsql]: Looking for DLR smsc=smsc_op, ts=157511, dst=(null), type=1 2011-08-11 20:54:21 [3017] [21] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tqm_kannel_dlr WHERE smsc='smsc_op' AND ts='157511' LIMIT 1; 2011-08-11 20:54:21 [3017] [21] DEBUG: no rows found 2011-08-11 20:54:21 [3017] [21] WARNING: DLR[pgsql]: DLR from SMSCsmsc_op for DST(null) not found. 2011-08-11 20:54:21 [3017] [21] ERROR: HTTP[smsc_dr]: Got DLR but could not find message or was not interested in it id157511 dst(null), type1 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Sending reply 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP: Destroying HTTPClient area 0x7f288c002640. 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Destroying client information Best regards and thanks in advance, Miroslaw Operations Manager Tequila Mobile S.A. mobile:: +48 512 833 151 office:: +48 71 750 5402 fax::+48 71 750 5419 skype:: msolowiej web::www.tequilamobile.com address: ul. ?wi?tego Miko?aja 8-11 50-125 Wroc?aw Operations Manager Tequila Mobile S.A. mobile:: +48 512 833 151 office:: +48 71 750 5402 fax::+48 71 750 5419 skype:: msolowiej web::www.tequilamobile.com address: ul. ?wi?tego Miko?aja 8-11 50-125 Wroc?aw -- next part -- An HTML attachment was scrubbed... URL:
Re: [Fwd: Re: Kannel issue]
as per your example DLR gets matched based on smsc name and the foreign ID: 2011-08-11 20:54:21 [3017] [21] DEBUG: DLR[pgsql]: Looking for DLR smsc=smsc_op, ts=157511, dst=(null), type=1 2011-08-11 20:54:21 [3017] [21] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tqm_kannel_dlr WHERE smsc='smsc_op' AND ts='157511' LIMIT 1; have a look into your logs what is being inserted into the dlr table when you submit the message. ps. Always CC the list On 12/08/2011 11:02, Mirosław Sołowiej wrote: Yes, I do. I do specify dlr-mask and dlr-url. Message gets partner's end. For tracking purpose I am sending binfo, based on which I trust kannel is going to match dlr. I am not getting foreign ID. Is this impacting? Regards, Mirosław Sołowiej -Original Message- From: Cezary Siwek [mailto:cza...@thebestisp.co.uk] Sent: Friday, August 12, 2011 11:44 AM To: Mirosław Sołowiej Cc: users@kannel.org Subject: Re: [Fwd: Re: Kannel issue] ok, so how do you send your MT message? do you specify dlr-url and dlr-mask in the url? On 12/08/2011 10:41, Mirosław Sołowiej wrote: Thanks for answer Czarek. I fully understand that DLR are for MT, which is send out in all my cases. Second test (lynx) is made to invoke DLR. Here is what I send back to customer (partner) http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; and here is sendsms invoke: sendsms?user=zzzpass=zzzqqqto=smsc=smsc_iotext=Service is working OK!from=9786dlr-mask=31dlr-url=URL/smsstatus?id_outbox=MYINTERNALIDstatu s=%dstatus_desc=%Abinfo=213685account=PLUScharset=UTF-8coding=1 For some reason, I see that FID: field remains empty in the log file. Does it matter? Any thoughts? Mirosław Sołowiej Message: 2 Date: Fri, 12 Aug 2011 07:13:28 +0200 From: Miros?aw So?owiejmiroslaw.solow...@tequilamobile.com To: users@kannel.org Subject: [Fwd: Re: Kannel issue] Message-ID: 96c905c2733d24840dd4f6f44ca15943.squir...@poczta.carrywater.pl Content-Type: text/plain; charset=iso-8859-2 Hi Guys, I am quite new in kannel business, but first steps went quite smooth. I have ~20 different smsc running and they are ok. The thing which makes my life nightmare is DLR. Either I don't understand it well, or there is something I cannot get just from reading manuals. I have created two different SMSC, one for MO/MT and second one for DLR. # incoming/outgoing group = smsc smsc = http port = 23091 system-type = generic no-sep = true smsc-id = smsc_io smsc-admin-id = smsc_op allowed-smsc-id = smsc_io connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX send-url = http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; generic-foreign-id-regex = mid=([0-9]+) status-success-regex = 1 status-permfail-regex = 2 generic-param-to = sc generic-param-account = operator generic-param-from = msisdn generic-param-text = message generic-param-binfo = mid generic-status-sent = 200 generic-message-sent = OK generic-status-error = 404 log-file = /var/log/kannel/smsc_smscop.log log-level = 1 alt-charset = UTF-8 alt-addr-charset = UTF-8 # smsc Notifications # group = smsc smsc = http smsc-id = smsc_dr smsc-admin-id = smsc_op allowed-smsc-id = smsc_dr port = 23092 system-type = generic no-sep = true send-url = http://www.url.com/tmp; generic-param-dlr-mid = mid generic-param-dlr-mask= binfo generic-param-binfo= binfo generic-param-text= msisdn generic-message-sent = OK status-success-regex = .+ generic-status-sent = 200 generic-status-error = 404 connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX log-file = /var/log/kannel/smsc_smscop.log log-level = 0 alt-charset = UTF-8 alt-addr-charset = UTF-8 # Default Service for smsc group = sms-service keyword = default catch-all = true accepted-smsc = smsc_io concatenation = true omit-empty = true get-url = http://url/smsgate?partner=smsckeyword=%kmessage=%rfrom=%pto=%Psmsc=%i; coding=%ccharset=%Cbinfo=%Baccount=%o This is how I tested it: lynx -dump http://localhost:23091/sms?msisdn=sc=9786operator=PLUSmessage=TQM 1+TESTmid=213685 and what I got OK lynx -dump http://localhost:23092/sms?msisdn=binfo=1mid=213685; and got Unknown DLR, not accepted Do you have any idea how to make kannel able to understand DLR? What do I do wrong? I am getting this in the log 2011-08-11 20:54:21 [3017] [21] DEBUG: HTTP[smsc_dr]: Received an HTTP request 2011-08-11 20:54:21 [3017] [21] DEBUG: DLR[pgsql]: Looking for DLR smsc=smsc_op, ts=157511, dst=(null), type=1 2011-08-11 20:54:21 [3017] [21] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tqm_kannel_dlr WHERE smsc='smsc_op' AND ts='157511' LIMIT 1; 2011-08-11 20:54:21 [3017] [21] DEBUG: no rows found 2011-08-11 20:54:21 [3017] [21] WARNING: DLR[pgsql]: DLR from SMSCsmsc_op for DST(null) not found. 2011
Re: [Fwd: Re: Kannel issue]
well yes. You need get something back from your SMSC what can match the message with the receipt explicitly. In SMPP you always get that ID. For HTTP based SMSCs it may be tricky but you should be able to get something in the HTTP response. Some of SMSC I've heard of, support your own generated ID as one of HTTP-GET parameters. You need to speak to your SMSC to get this solved. gg me if you need any help: 105019 Cezary On 12/08/2011 11:25, Mirosław Sołowiej wrote: This is how my db is created: group = dlr-db id = tkanneldlr table = t_kannel_dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc Generally speaking, do I need to get foreign id to get my DLR working? Is it mandatory to have it fetched? Mirosław Sołowiej -Original Message- From: Cezary Siwek [mailto:cza...@thebestisp.co.uk] Sent: Friday, August 12, 2011 12:12 PM To: Mirosław Sołowiej Cc: users@kannel.org Subject: Re: [Fwd: Re: Kannel issue] as per your example DLR gets matched based on smsc name and the foreign ID: 2011-08-11 20:54:21 [3017] [21] DEBUG: DLR[pgsql]: Looking for DLR smsc=smsc_op, ts=157511, dst=(null), type=1 2011-08-11 20:54:21 [3017] [21] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tqm_kannel_dlr WHERE smsc='smsc_op' AND ts='157511' LIMIT 1; have a look into your logs what is being inserted into the dlr table when you submit the message. ps. Always CC the list On 12/08/2011 11:02, Mirosław Sołowiej wrote: Yes, I do. I do specify dlr-mask and dlr-url. Message gets partner's end. For tracking purpose I am sending binfo, based on which I trust kannel is going to match dlr. I am not getting foreign ID. Is this impacting? Regards, Mirosław Sołowiej -Original Message- From: Cezary Siwek [mailto:cza...@thebestisp.co.uk] Sent: Friday, August 12, 2011 11:44 AM To: Mirosław Sołowiej Cc: users@kannel.org Subject: Re: [Fwd: Re: Kannel issue] ok, so how do you send your MT message? do you specify dlr-url and dlr-mask in the url? On 12/08/2011 10:41, Mirosław Sołowiej wrote: Thanks for answer Czarek. I fully understand that DLR are for MT, which is send out in all my cases. Second test (lynx) is made to invoke DLR. Here is what I send back to customer (partner) http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; and here is sendsms invoke: sendsms?user=zzzpass=zzzqqqto=smsc=smsc_iotext=Service is working OK!from=9786dlr-mask=31dlr-url=URL/smsstatus?id_outbox=MYINTERNALID statu s=%dstatus_desc=%Abinfo=213685account=PLUScharset=UTF-8coding=1 For some reason, I see that FID: field remains empty in the log file. Does it matter? Any thoughts? Mirosław Sołowiej Message: 2 Date: Fri, 12 Aug 2011 07:13:28 +0200 From: Miros?aw So?owiejmiroslaw.solow...@tequilamobile.com To: users@kannel.org Subject: [Fwd: Re: Kannel issue] Message-ID: 96c905c2733d24840dd4f6f44ca15943.squir...@poczta.carrywater.pl Content-Type: text/plain; charset=iso-8859-2 Hi Guys, I am quite new in kannel business, but first steps went quite smooth. I have ~20 different smsc running and they are ok. The thing which makes my life nightmare is DLR. Either I don't understand it well, or there is something I cannot get just from reading manuals. I have created two different SMSC, one for MO/MT and second one for DLR. # incoming/outgoing group = smsc smsc = http port = 23091 system-type = generic no-sep = true smsc-id = smsc_io smsc-admin-id = smsc_op allowed-smsc-id = smsc_io connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX send-url = http://XXX.XXX.XXX.XXX/keyword/qm.aspx?msisdn=%pmessage=%amid=%B; generic-foreign-id-regex = mid=([0-9]+) status-success-regex = 1 status-permfail-regex = 2 generic-param-to = sc generic-param-account = operator generic-param-from = msisdn generic-param-text = message generic-param-binfo = mid generic-status-sent = 200 generic-message-sent = OK generic-status-error = 404 log-file = /var/log/kannel/smsc_smscop.log log-level = 1 alt-charset = UTF-8 alt-addr-charset = UTF-8 # smsc Notifications # group = smsc smsc = http smsc-id = smsc_dr smsc-admin-id = smsc_op allowed-smsc-id = smsc_dr port = 23092 system-type = generic no-sep = true send-url = http://www.url.com/tmp; generic-param-dlr-mid = mid generic-param-dlr-mask= binfo generic-param-binfo= binfo generic-param-text= msisdn generic-message-sent = OK status-success-regex = .+ generic-status-sent = 200 generic-status-error = 404 connect-allow-ip = 127.0.0.1;XXX.XXX.XXX.XXX log-file = /var/log/kannel/smsc_smscop.log log-level = 0 alt-charset = UTF-8 alt-addr-charset = UTF-8 # Default Service for smsc group = sms-service
Re: A Simple Question regarding kannel
Hi, do you think your mobile operator allows to spoof the sender? The sender always gets replaced to the one assigned to the sim card. If you need to send messages with a custom sender you need to have a direct connection to the operator/aggregator. Regards On 26/07/2011 09:39, Amrit Pal Pathak wrote: If in the main configuration file i don't mention the global-sender i.e the number that wil be use to send the sms still or write a wrong number instead still sms are being send succesfully. How it is happening? Does the kannel aumatically fetch the Sim-card number ? Thanks amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: Where to get sqlbox.tar.gz
svn co https://svn.kannel.org/sqlbox/trunk sqlbox tar -zcf sqlbox.tar.gz sqlbox does it help? If not, maybe it is a good time to start asking such questions on any linux users groups/forums. This is kannel-specific users list. On 14/07/2011 09:09, Amrit Pal Pathak wrote: Can anybody tell me from where i can get sqlbox package ? Thanks amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: Sqlbox could be start
why do you want to run smsbox with the sqlbox config file? On 13/07/2011 11:37, Amrit Pal Pathak wrote: Hey Bearerbox and smsbox are running cool.But to start sqlbox when i give following command it gives the error sudo smsbox -v 1 kannel/sqlbox.conf Error : 2011-07-13 16:05:07 [7887] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2011-07-13 16:05:07 [7887] [0] ERROR: Group 'sqlbox' is no valid group identifier. 2011-07-13 16:05:07 [7887] [0] ERROR: Error found on line 17 of file `kannel/sqlbox.conf'. 2011-07-13 16:05:07 [7887] [0] PANIC: Couldn't read configuration from `kannel/sqlbox.conf'. 2011-07-13 16:05:07 [7887] [0] PANIC: smsbox(gw_panic+0xcd) [0x80895cd] 2011-07-13 16:05:07 [7887] [0] PANIC: smsbox(main+0x1338) [0x8054d38] 2011-07-13 16:05:07 [7887] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x2f1bd6] 2011-07-13 16:05:07 [7887] [0] PANIC: smsbox() [0x8053251] Please somebody help me Thank you amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: Sqlbox could be start
Hi, What do you mean by I need to start smsbox from sqlbox? Smsbox and sqlbox are two different applications. By running sudo smsbox -v 1 kannel/sqlbox.conf you basically try to run smsbox with the sqlbox config file. It's not going to work this way. You can only run sqlbox with the sqlbox.conf ps. please don't email me directly. Always post to the mailing list email address. BR On 13/07/2011 11:48, Amrit Pal Pathak wrote: On Wed, Jul 13, 2011 at 4:11 PM, Cezary Siwek cza...@thebestisp.co.uk mailto:cza...@thebestisp.co.uk wrote: why do you want to run smsbox with the sqlbox config file? I have made a Gui so i need to start smsbox from sqlbox.My kannel/sqlbox.conf file looks like group = sqlbox id = sqlbox-db smsbox-id = mysmsc global-sender = +919417212503 bearerbox-host = localhost bearerbox-port = 13016 smsbox-port = 13017 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 #ssl-client-certkey-file = #ssl-server-cert-file = #ssl-server-key-file = #ssl-trusted-ca-file = # Database connection examples. Please uncomment as needed # Example MYSQL Connection group = mysql-connection id = sqlbox-db host = localhost username = root password = GndeC database = kannel Thanks amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: Sqlbox could be start
sqlbox is not part of standard kannel's package. You need to download it from kannel's repository and compile it from the sources. http://www.kannel.org/download.shtml On 13/07/2011 12:09, Amrit Pal Pathak wrote: On Wed, Jul 13, 2011 at 4:25 PM, Cezary Siwek cza...@thebestisp.co.uk mailto:cza...@thebestisp.co.uk wrote: Hi, What do you mean by I need to start smsbox from sqlbox? Smsbox and sqlbox are two different applications. ok. By running sudo smsbox -v 1 kannel/sqlbox.conf you basically try to run smsbox with the sqlbox config file. It's not going to work this way. You can only run sqlbox with the sqlbox.conf ok . But if i start sqlbox from sqlbox.config file ,it too gives the error as: sudo: sqlbox: command not found sqlbox.conf files has code as in above thread. Can you please tell me how to run the sqlbox ? Thank you amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: Sqlbox could be start
stop emailing me directly! ok . But if i start sqlbox from sqlbox.config file ,it too gives the error as: sudo: sqlbox: command not found You have no sqlbox installed/compiled or is not in your $PATH On 13/07/2011 12:20, Amrit Pal Pathak wrote: On Wed, Jul 13, 2011 at 4:48 PM, Cezary Siwek cza...@thebestisp.co.uk mailto:cza...@thebestisp.co.uk wrote: sqlbox is not part of standard kannel's package. You need to download it from kannel's repository and compile it from the sources. http://www.kannel.org/download.shtml I have already done it . sh ./bootstrap sh ./configure make sudo make install But couldn't start the sqlbox from sqlbox.conf file Thanks you amritpalpathak.blogspot.com http://amritpalpathak.blogspot.com
Re: SQLBOX db as hostname
Hi, You have not done your homework. The problem and solution for it were already mentioned here couple times ;) You have to specify port in your config if you want to use an external db host. Regards, Cezary On 11/07/2011 16:07, JAmes wrote: Hi, Is there a problem with SQLBOX connecting to a mysql db using host = something.db.com http://something.db.com? It seems to fail to connect. Regards, J
Re: Regarding sql and opensmppbox configuration;
don't mess around. each daemon does not know anything about configuration options other daemons and fails to start. Create separate file for bearerbox+smsbox, opensmppbox and sqlbox. Regard, Cezary On 07/07/2011 16:05, Vijay kumar Dadhich wrote: It's very useful for me, but i want to know that proxy configuration and opensmppbox.conf file is same and different,if different then i makea single opensmppbox.conf for it. like this please see carefully many places i confuse.. # Proxy configuration group = opensmppbox bearerbox-host = 127.0.0.1 bearerbox-port = 13000 opensmppbox-id = opensmppbox1 opensmppbox-port = 2345 log-file = /var/log/kannel/opensmppbox.log log-level = 0 our-system-id = opensmppbox route-to-smsc = 184.173.64.242 # New accounts smpp-logins = /etc/opensmppbox/clients #opensmppbox configuration include = /etc/opensmppbox.conf/opensmppbox1.conf #opensmppbox1.conf group = opensmppbox bearerbox-host = 127.0.0.1 bearerbox-port = 13002 opensmppbox-id = it is optional I don't write opensmppbox-port = 13003 log-file = /var/log/kannel/opensmppbox.log log-level = 4 our-system-id = what i give route-to-smsc = what i give smpp-logins = /etc/clients
Re: Network initiated USSD
Hi, some operators use SMPP as a transport for USSD messages but it's operator-specific Regards On 14/06/2011 16:27, Hammad wrote: Hi, USSD is a service that uses MAP protocol since its with HLR. You need connectiviity with HLR to recieve USSD messages. I dont think Kannel has anything relevant for USSD. Regards, Hammad Flexilogix Inc On Mon, Jun 13, 2011 at 10:43 PM, Jinson Abraham jin...@mobme.in mailto:jin...@mobme.in wrote: Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in mailto:jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. /Thanks Regards/** *Jinson * ** -- Disclaimer: This transmission (including any attachments) may contain confidential information, privileged material or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system.
Re: Slow RX incoming
Hi, How do you store MO messages? Maybe there is a bottleneck? BR, Cezary On 14/04/2011 11:00, Rapture wrote: Hi Nikos, I'm referring to MO traffic. It only affects incoming SMS. We run separate TX and RX and operator does not offer transceiver mode. We don't have any logs that indicate slow speed, though traffics backs up at operator's end. When I call them, they insist that it is my application that is not 'picking' messages fast enough from their SMSC. Funny thing is the inhouse app clears the messages in a heartbit. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Thursday, April 14, 2011 12:38 PM To: Rapture; us...@vm1.kannel.org Subject: Re: Slow RX incoming Hi, Kannel doesn't retrieve SMS from the operator. Operator sends them to kannel. Throughput doesn't affect incoming traffic, only outgoing and not *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is difficult to help you without any kind of logs. Since there is back log at your operator, what do his logs say? There is an issue with separate Tx/Rx connections in kannel. If only 1 of the 2 drops, while the other is working, kannel doesn't realize it to reconnect both ends. You might try transceiver mode for that. BR, Nikos - Original Message - From: Rapture To: users@kannel.org Sent: Thursday, April 14, 2011 8:27 AM Subject: Slow RX incoming Hi guys, We've been running a campaign averaging 350,000 messages a day. Lately I noticed kannel does not retrieve them as fast as it needs to hence a backlog builds on the operator's end. This is only affecting one of the operators. On calling them, they insisted that it is Kannel which determines how many RX messages to pull. I tried an old SMPP client software I'd written in Delphi and it cleared all the backlog in less than 5 mins and continues to do so in real time. All data is dumped into the same mysql table. I've tried using throughput in kannel with no success. I've even opened upto 15 channels to the same operator without success. What could be the issue? How can I speed up my intake of messages? Distraught, TR
Re: Slow RX incoming
Ok, that makes it more clear. From my experience I can say that kannel-xttpd-php-mysql way alsways makes some problems if is designed in wrong way. How do you run your php script under http server? Run it using fastcgi and keep persistent connection with the DB. Don't share the db connection across fastcgi processes - use one connection per fastcgi process. Your delphi application does it, right? My application written in Perl, running under lighttpd in fastcgi (with 5-10 concurrent processes) mode can easly handle 150sms/s on one machine. BR, Cezary On 14/04/2011 11:25, Rapture wrote: All MOs are stored via a php script to the same mysql table for incoming messages. This is the same table I use for the inhouse app. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Cezary Siwek Sent: Thursday, April 14, 2011 1:03 PM To: users@kannel.org Subject: Re: Slow RX incoming Hi, How do you store MO messages? Maybe there is a bottleneck? BR, Cezary On 14/04/2011 11:00, Rapture wrote: Hi Nikos, I'm referring to MO traffic. It only affects incoming SMS. We run separate TX and RX and operator does not offer transceiver mode. We don't have any logs that indicate slow speed, though traffics backs up at operator's end. When I call them, they insist that it is my application that is not 'picking' messages fast enough from their SMSC. Funny thing is the inhouse app clears the messages in a heartbit. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Thursday, April 14, 2011 12:38 PM To: Rapture; us...@vm1.kannel.org Subject: Re: Slow RX incoming Hi, Kannel doesn't retrieve SMS from the operator. Operator sends them to kannel. Throughput doesn't affect incoming traffic, only outgoing and not *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is difficult to help you without any kind of logs. Since there is back log at your operator, what do his logs say? There is an issue with separate Tx/Rx connections in kannel. If only 1 of the 2 drops, while the other is working, kannel doesn't realize it to reconnect both ends. You might try transceiver mode for that. BR, Nikos - Original Message - From: Rapture To: users@kannel.org Sent: Thursday, April 14, 2011 8:27 AM Subject: Slow RX incoming Hi guys, We've been running a campaign averaging 350,000 messages a day. Lately I noticed kannel does not retrieve them as fast as it needs to hence a backlog builds on the operator's end. This is only affecting one of the operators. On calling them, they insisted that it is Kannel which determines how many RX messages to pull. I tried an old SMPP client software I'd written in Delphi and it cleared all the backlog in less than 5 mins and continues to do so in real time. All data is dumped into the same mysql table. I've tried using throughput in kannel with no success. I've even opened upto 15 channels to the same operator without success. What could be the issue? How can I speed up my intake of messages? Distraught, TR
Re: Slow RX incoming
Nikos, You are right if we are talking only about kannel's behavior. Bear in mind that kannel have to create thousands http requests. many of them will be hanging and waiting to be processed by http server. Also, if http and mysql server coexist on the same machine that is going to consume all the system resources which will dramatically slow down the kannel. BR, Cezary On 14/04/2011 15:29, Nikos Balkanas wrote: Hi, I don't think that this will solve your problem. If it were an application issue, it would build up kannel's queue, not the SMSc's. SMSc's queue can build up only from dropped connections. These would be shown in your bearerbox logs. Sorry, Cezary. BR, Nikos - Original Message - From: Rapture supp...@ims.co.ke To: 'Cezary Siwek' cza...@thebestisp.co.uk Cc: users@kannel.org Sent: Thursday, April 14, 2011 2:36 PM Subject: RE: Slow RX incoming Thanks Cezary, Will try that. -Original Message- From: Cezary Siwek [mailto:cza...@thebestisp.co.uk] Sent: Thursday, April 14, 2011 1:40 PM To: Rapture Cc: users@kannel.org Subject: Re: Slow RX incoming Ok, that makes it more clear. From my experience I can say that kannel-xttpd-php-mysql way alsways makes some problems if is designed in wrong way. How do you run your php script under http server? Run it using fastcgi and keep persistent connection with the DB. Don't share the db connection across fastcgi processes - use one connection per fastcgi process. Your delphi application does it, right? My application written in Perl, running under lighttpd in fastcgi (with 5-10 concurrent processes) mode can easly handle 150sms/s on one machine. BR, Cezary On 14/04/2011 11:25, Rapture wrote: All MOs are stored via a php script to the same mysql table for incoming messages. This is the same table I use for the inhouse app. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Cezary Siwek Sent: Thursday, April 14, 2011 1:03 PM To: users@kannel.org Subject: Re: Slow RX incoming Hi, How do you store MO messages? Maybe there is a bottleneck? BR, Cezary On 14/04/2011 11:00, Rapture wrote: Hi Nikos, I'm referring to MO traffic. It only affects incoming SMS. We run separate TX and RX and operator does not offer transceiver mode. We don't have any logs that indicate slow speed, though traffics backs up at operator's end. When I call them, they insist that it is my application that is not 'picking' messages fast enough from their SMSC. Funny thing is the inhouse app clears the messages in a heartbit. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Thursday, April 14, 2011 12:38 PM To: Rapture; us...@vm1.kannel.org Subject: Re: Slow RX incoming Hi, Kannel doesn't retrieve SMS from the operator. Operator sends them to kannel. Throughput doesn't affect incoming traffic, only outgoing and not *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is difficult to help you without any kind of logs. Since there is back log at your operator, what do his logs say? There is an issue with separate Tx/Rx connections in kannel. If only 1 of the 2 drops, while the other is working, kannel doesn't realize it to reconnect both ends. You might try transceiver mode for that. BR, Nikos - Original Message - From: Rapture To: users@kannel.org Sent: Thursday, April 14, 2011 8:27 AM Subject: Slow RX incoming Hi guys, We've been running a campaign averaging 350,000 messages a day. Lately I noticed kannel does not retrieve them as fast as it needs to hence a backlog builds on the operator's end. This is only affecting one of the operators. On calling them, they insisted that it is Kannel which determines how many RX messages to pull. I tried an old SMPP client software I'd written in Delphi and it cleared all the backlog in less than 5 mins and continues to do so in real time. All data is dumped into the same mysql table. I've tried using throughput in kannel with no success. I've even opened upto 15 channels to the same operator without success. What could be the issue? How can I speed up my intake of messages? Distraught, TR
Re: Questions on kannel for a new application
hi, On 06/04/2011 17:24, info wrote: Hello, I have a lot of M2M devices which send continuously sms messages and I want to receive them in one server. - Is Kannel the good product to interface my devices ? If your devices can talk using AT commands, probably - yes - How many sms messages can Kannel receive by second ? kannel is not a bottleneck. throughput is mostly limited by the operator and the protocol itself. theoretical sms sending /receiving time is ~0.5s but usually it takes 2-3s to send one message. Using IP link with an aggregator you should be able to send/receive hundreds SMS/s - To assure a certain level of redundancy, is it possible to connect several GSM modems on Kannel ? yes - it is. - As my M2M devices can also send messages by GPRS, could Kannel be also used for a low cost ? probably ... i'm not sure.
Re: Fw: dlr storage problem-urgent help needed
Hi, Maybe you have misunderstood purpose of the dlr-storage? The internal DLR mechanism doesn't store incoming messages a database. If you want to do so, have a look on sqlbox. Regards, Cezary On 05/04/2011 10:05, Deepak Kumar wrote: Dear All, Now Kannel is running fine with dlr-storage = mysql but it will not able to store the data into data base, when kannel receive any sms it will not store any more in data base. the smsbox will have following log. 2011-04-05 14:30:28 [9340] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2011-04-05 14:30:28 [9340] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2011-04-05 14:30:28 [9340] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2011-04-05 14:30:28 [9340] [0] INFO: Connected to bearerbox at localhost port 13001. 2011-04-05 14:30:28 [9340] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2011-04-05 14:30:28 [9340] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 9340. 2011-04-05 14:30:28 [9340] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9340. 2011-04-05 14:30:28 [9340] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 9340. 2011-04-05 14:30:28 [9340] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 9340. 2011-04-05 14:30:28 [9340] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 9340. 2011-04-05 14:30:28 [9340] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9340. 2011-04-05 14:30:28 [9340] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 9340. 2011-04-05 14:30:30 [9360] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2011-04-05 14:30:30 [9360] [0] INFO: HTTP: Opening server at port 13131. 2011-04-05 14:30:30 [9360] [0] ERROR: bind failed 2011-04-05 14:30:30 [9360] [0] ERROR: System error 98: Address already in use 2011-04-05 14:30:30 [9360] [0] PANIC: Failed to open HTTP socket 2011-04-05 14:30:30 [9360] [0] PANIC: smsbox(gw_panic+0xcd) [0x808897d] 2011-04-05 14:30:30 [9360] [0] PANIC: smsbox(main+0x1344) [0x80543c4] 2011-04-05 14:30:30 [9360] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe7) [0x275ce7] 2011-04-05 14:30:30 [9360] [0] PANIC: smsbox() [0x80528d1] 2011-04-05 14:30:31 [9361] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2011-04-05 14:30:31 [9361] [0] INFO: HTTP: Opening server at port 13131. 2011-04-05 14:30:31 [9361] [0] ERROR: bind failed 2011-04-05 14:30:31 [9361] [0] ERROR: System error 98: Address already in use 2011-04-05 14:30:31 [9361] [0] PANIC: Failed to open HTTP socket 2011-04-05 14:30:31 [9361] [0] PANIC: smsbox(gw_panic+0xcd) [0x808897d] 2011-04-05 14:30:31 [9361] [0] PANIC: smsbox(main+0x1344) [0x80543c4] 2011-04-05 14:30:31 [9361] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe7) [0x4f3ce7] 2011-04-05 14:30:31 [9361] [0] PANIC: smsbox() [0x80528d1] Here is my data base conf host = 127.0.0.1 username = xx password = xx port = 3306 database = dlr max-connections = 10 #Data base properties group = dlr-db id = mydlr table = storedlr field-smsc = smsc field-timestamp = timestamp field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc My data base table info is that data base name is dlr table name is storedlr Any idea ?? why this problem occur ? - Forwarded by Deepak Kumar/DEL/ORGA on 04/05/2011 02:17 PM - From: Deepak Kumar/DEL/ORGA To: users@kannel.org Date: 04/05/2011 12:51 PM Subject:dlr storage problem-urgent help needed Dear All, When i used the dlr-storage=mysql bearer box give the following problem 2011-04-05 12:44:04 [6916] [3] PANIC: /lib/libpthread.so.0(+0x5cc9) [0x74ecc9] 2011-04-05 12:44:04 [6916] [3] PANIC: /lib/libc.so.6(clone+0x5e) [0xa5e6ae] 2011-04-05 12:44:04 [6921] [0] INFO: Added logfile `/var/log/kannel/bearerbox.lo g' with level `0'. 2011-04-05 12:44:04 [6921] [0] INFO: Started access logfile `/var/log/kannel/acc ess.log'. 2011-04-05 12:44:04 [6921] [0] INFO: HTTP: Opening server at port 13000. 2011-04-05 12:44:04 [6921] [0] ERROR: bind failed 2011-04-05 12:44:04 [6921] [0] ERROR: System error 98: Address already in use 2011-04-05 12:44:04 [6921] [0] DEBUG: Started thread 1 (gw/bb_http.c:httpadmin_r un) 2011-04-05 12:44:04 [6921] [1] DEBUG: Thread 1 (gw/bb_http.c:httpadmin_run) mapsto pid 6921. 2011-04-05 12:44:04 [6921] [1] DEBUG: HTTP: No clients with requests, quitting. 2011-04-05 12:44:04 [6921] [1] DEBUG: Thread 1 (gw/bb_http.c:httpadmin_run) term inates. 2011-04-05 12:44:04 [6921] [0] DEBUG: starting smsbox connection module 2011-04-05 12:44:04 [6921] [0] INFO: BOXC: 'smsbox-max-pending' not set, using d efault (100). 2011-04-05 12:44:04 [6921] [0] DEBUG: Started thread 2
Re: IP modem
yes, set the device name to rawtcp or telnet. You will need to specify host and port as well. BR Cezary Siwek On 05/04/2011 11:23, João Gil wrote: Hi guys, Is possible to connect a device(modem) via IP, instead of /dev/tty...? Regards, João Gil
Re: IP modem
have you checked the UG? http://www.kannel.org/download/1.5.0/userguide-1.5.0/userguide.html#AEN2058 the GSM modem driver supports also IP connection. BR On 05/04/2011 12:01, João Gil wrote: Hi, u know the syntax? im searching for it but im not finding it. Thank you for ur help Regards, João Gil On Tue, 2011-04-05 at 11:30 +0100, Cezary Siwek wrote: yes, set the device name to rawtcp or telnet. You will need to specify host and port as well. BR Cezary Siwek On 05/04/2011 11:23, João Gil wrote: Hi guys, Is possible to connect a device(modem) via IP, instead of /dev/tty...? Regards, João Gil
Re: Help Need to Setup Kannel DLR
your db schema doesn't match the configuration file (field-boxcid) BR, Cezary On 01/04/2011 07:41, Deepak Kumar wrote: Dear Jyoti, My system information is as follow : Operating system and version. Ubantu V10.10 Kannel version. 1.4.3 Libxml version. 2.30.0 Used client : SMS Client (I am using GSM modem Cinterion MC52i) Single or multi processor machine. Multi Processor We are facing an issue while configuring the DLR storage. Whenever we used dlr-storage = mysql the kannel will stop to work and smsc will not work. after removing the above statement dlr-storage = mysql the kannel will work fine and i am able to send and receive sms on my Modem. I have also check that our kannel is compiled with mysql support. Find my kannel and dlr, mysql database setting with this mail. we are struggling from a week with this problem. Please help us. In case of any query please let us know. The bearebox log say when i activate the dlr storage = mysql 2011-04-01 12:04:22 [4685] [13] INFO: Connection closed by the box 127.0.0.1 2011-04-01 12:04:22 [4685] [14] DEBUG: send_msg: sending msg to box: 127.0.0.1 2011-04-01 12:04:22 [4685] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender) term inates. 2011-04-01 12:04:22 [4685] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function) termina tes. 2011-04-01 12:04:22 [4685] [0] WARNING: Killing signal or HTTP admin command rec eived, shutting down... 2011-04-01 12:04:22 [4685] [0] DEBUG: Shutting down Kannel... 2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down smsc 2011-04-01 12:04:22 [4685] [0] DEBUG: AT2[/dev/ttyS0]: Shutting down SMSCConn, s low 2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down udp 2011-04-01 12:04:22 [4685] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) term inates. 2011-04-01 12:04:22 [4685] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) termin ates. 2011-04-01 12:04:22 [4685] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender) termin ates. 2011-04-01 12:04:22 [4685] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) terminat es. 2011-04-01 12:04:23 [4685] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) ter minates. 2011-04-01 12:04:23 [4685] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) te rminates. 2011-04-01 12:04:23 [4685] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) termin ates. 2011-04-01 12:04:23 [4685] [0] INFO: All flow threads have died, killing core 2011-04-01 12:04:23 [4685] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread)to terminate 2011-04-01 12:04:23 [4685] [3] DEBUG: HTTP: No clients with requests, quitting. 2011-04-01 12:04:23 [4685] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) term inates. *2011-04-01 12:04:23 [4685] [0] PANIC: Cannot die by its own will* *2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80d469d]* *2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox() [0x8054e60]* *2011-04-01 12:04:23 [4685] [0] PANIC: [0xad8400]* Best regards, Deepak Kumar Sr. Software Engineer, RD Application Support e-Documents Division Morpho * Sagem Orga has changed its name to Morpho.* Syscom Corporation Limited Morpho, e-Documents Division D-216, Sector 63, Noida, Uttar-Pradesh, 201301, India Phone: + 91 (120) 4072 837 Internet: www.morpho.com/e-documents Morpho is a member of the Safran group. *Headquarters:* Sagem Orga GmbH Riemekestr. 160 D-33106 Paderborn *Managing Board:* Philippe d´Andréa (CEO) Marc Guillard (CFO) Holm Neuhäußer (SVP-M) *Chairman:* Hagen Holzhauser Register Court Paderborn - HRB 1350 * Think twice before you print!* # Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés. ** This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. #
Re: Facing issue with DLR using MySql
Hi, Have you compiled the kannel with mysql support? what logs says when you start the kannel with dlr-storage = mysql? BR, Cezary On 31/03/2011 11:25, Deepak Kumar wrote: Dear Team, My system information is as follow : Operating system and version. Ubantu V10.10 Kannel version. 1.4.3 Libxml version. 2.30.0 Used client : SMS Client (I am using GSM modem Cinterion MC52i) Single or multi processor machine. Multi Processor Attach Kannel configuration file We are facing an issue while configuring the DLR storage. Whenever we used dlr-storage = mysql the kannel will stop to work and smsc will not work. after removing the above statement dlr-storage = mysql the kannel will work fine and i am able to send and receive sms on my Modem. I have also check that our kannel is compiled with mysql support. Find my kannel and dlr, mysql database setting with this mail. we are struggling from a week with this problem. Please help us. In case of any query please let us know. Regards Deepak # Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés. ** This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. #
Re: Fw: Facing issue with DLR using MySql
: Adding interface * 2011-03-31 17:07:04 [12460] [0] DEBUG: udpc_create: Bound to UDP 0.0.0.0:9200 2011-03-31 17:07:04 [12460] [0] DEBUG: Started thread 8 (gw/bb_udp.c:udp_receiver) 2011-03-31 17:07:04 [12460] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender) 2011-03-31 17:07:04 [12460] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 12460. 2011-03-31 17:07:04 [12460] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 12460. 2011-03-31 17:07:04 [12460] [0] DEBUG: udpc_create: Bound to UDP 0.0.0.0:9201 2011-03-31 17:07:04 [12460] [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver) 2011-03-31 17:07:04 [12460] [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender) 2011-03-31 17:07:04 [12460] [0] DEBUG: starting wapbox connection module 2011-03-31 17:07:04 [12460] [0] ERROR: Missing wapbox-port variable, cannot start WAP 2011-03-31 17:07:04 [12460] [0] DEBUG: starting WDP router 2011-03-31 17:07:04 [12460] [0] DEBUG: Started thread 12 (gw/bearerbox.c:wdp_router) 2011-03-31 17:07:04 [12460] [0] INFO: 2011-03-31 17:07:04 [12460] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2011-03-31 17:07:04 [12460] [0] INFO: MAIN: Start-up done, entering mainloop 2011-03-31 17:07:04 [12460] [0] DEBUG: AT2[/dev/ttyS0]: start called 2011-03-31 17:07:04 [12460] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) maps to pid 12460. 2011-03-31 17:07:04 [12460] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) maps to pid 12460. 2011-03-31 17:07:04 [12460] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender) maps to pid 12460. 2011-03-31 17:07:04 [12460] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps to pid 12460. 2011-03-31 17:07:04 [12460] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) maps to pid 12460. 2011-03-31 17:07:04 [12460] [12] DEBUG: udp_die: removing producers from udp-lists 2011-03-31 17:07:04 [12460] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) terminates. 2011-03-31 17:07:04 [12460] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 12460. 2011-03-31 17:07:04 [12460] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/modem.log' with level `0'. 2011-03-31 17:07:04 [12460] [5] INFO: Client connected from 127.0.0.1 2011-03-31 17:07:04 [12460] [5] DEBUG: Started thread 13 (gw/bb_boxc.c:function) 2011-03-31 17:07:04 [12460] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function) maps to pid 12460. 2011-03-31 17:07:04 [12460] [13] DEBUG: Started thread 14 (gw/bb_boxc.c:boxc_sender) 2011-03-31 17:07:04 [12460] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender) maps to pid 12460. From: Cezary Siwek cza...@thebestisp.co.uk To: users@kannel.org Date: 03/31/2011 04:01 PM Subject:Re: Facing issue with DLR using MySql Sent by:users-boun...@kannel.org Hi, Have you compiled the kannel with mysql support? what logs says when you start the kannel with dlr-storage = mysql? BR, Cezary On 31/03/2011 11:25, Deepak Kumar wrote: Dear Team, My system information is as follow : Operating system and version. Ubantu V10.10 Kannel version. 1.4.3 Libxml version. 2.30.0 Used client : SMS Client (I am using GSM modem Cinterion MC52i) Single or multi processor machine. Multi Processor Attach Kannel configuration file We are facing an issue while configuring the DLR storage. Whenever we used dlr-storage = mysql the kannel will stop to work and smsc will not work. after removing the above statement dlr-storage = mysql the kannel will work fine and i am able to send and receive sms on my Modem. I have also check that our kannel is compiled with mysql support. Find my kannel and dlr, mysql database setting with this mail. we are struggling from a week with this problem. Please help us. In case of any query please let us know. Regards Deepak # Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés. ** This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. # # Ce courriel et les documents qui lui sont joints peuvent contenir des
Re: Re : How to change Phone Number to Name when getting SMS on phone screen
No You can use an alternative telco for MT messages. BR Cezary Siwek On 23/03/2011 08:32, Kidi Kidi wrote: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think *hamza* are right by saying *you can only use it if it is allowed by your telco operator over* * the account allotted to you. * Is there a way to do it without my telco operator support? *From:* ha...@aeon.pk ha...@aeon.pk *To: *Richard Crawshaw richard.craws...@callparents.com *Sent:* 22 March 2011 14:33 *Subject:* Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com mailto:richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard *From:*users-boun...@kannel.org mailto:users-boun...@kannel.org [mailto:users-boun...@kannel.org mailto:users-boun...@kannel.org] *On Behalf Of *Kidi Kidi *Sent:* 22 March 2011 14:33 *To:* users@kannel.org mailto:users@kannel.org *Subject:* How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? *De :*ha...@aeon.pk mailto:ha...@aeon.pk ha...@aeon.pk mailto:ha...@aeon.pk *À :* Kidi Kidi kidi...@yahoo.fr mailto:kidi...@yahoo.fr *Cc :* users@kannel.org mailto:users@kannel.org *Envoyé le :* Mar 22 mars 2011, 14h 07min 21s *Objet :* Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr mailto:kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that?
Re: HTTP request by SMS-services is over TCP?
Hi, Kannel by defaut supports keep-alive. You can disable that by adding '--disable-keepalive' option in configure script. Make sure your HTTP server also supports keep-alive. Reagrds, Cezary On 09/03/2011 07:46, Pierre-Pierre Courant wrote: Hello, My question is the HTTP request perform by SMS-service when an incoming SMS message is received, is it made over TCP protocol? If yes, does it use 1 TCP connection per request or can make several request per TCP connection? For example, if 3 SMS messages arrived in the SMS box with the same keyword. The SMS-service will send 3 HTTP requests to the same server in 1 TCP connection or 3 ? Thank you, Pierre.
Re: SMSC Balancing
Hi, use an external application to load balance your traffic or create 4 binds to sms1 and one to smsc2. Regards, Cezary On 03/03/2011 11:42, Luca Agostini wrote: Hello, in my bearerbox I have 2 smsc connection set. Is there a way to configure MT traffic with different balancing weights? Now it works with 50%-50% traffic balancing between smsc. Is it possible have 80%-20%? Regards Pino
Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid
Hi, check whether the user which kannel is running on has permissions to read/write to /dev/ttyUSB0 Regards, On 02/03/2011 08:28, Willy Mularto wrote: I can read and send sms via minicom. it said it is on /dev/ttyUSB0. But when I start Kannel (after I kill minicom), it stops at AT2[smscid]: start called phase. Here is my config group = modems id = wavecom name = Wavecom detect-string = WAVECOM speed = 115200 group = smsc smsc = at smsc-id = gsm denied-smsc-id = others allowed-smsc-id = gsm preferred-smsc-id = gsm modemtype = WAVECOM device = /dev/ttyUSB0 validityperiod = 167 sim-buffering = true log-file = /home/myname/gsm/var/log/wavecom.log log-level = 0 On Mar 2, 2011, at 3:18 PM, Abdul Basit wrote: Unplug GSM modem. Might possible minicom still engaging the device. see at tail -f /var/log/messages Plug modem in again and try wvdialconfig. wvdial is just a utility that make it sure that you are using right device id. -- regards, Abdul Basit On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.com mailto:sangpr...@gmail.com wrote: Hi List, Does anybody has successfully configure USB Wavecom GSM Modem with Ubuntu Lucid? dmesg reads: [23634.280199] pl2303 5-1:1.0: pl2303 converter detected [23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0 I did try minicom and set port to /dev/ttyUSB0 and try some AT commands via minicom such as AT+CGMI it returns WAVECOM MODEM, AT+CGMM it returns MULTIBAND 900E 1800 But when try wvdialconf it said no modem detected. Please help. Thanks Willy Mularto F300HD+MR18DE -- Regards, Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445 Willy Mularto F300HD+MR18DE
Re: Can Kannel act as an SMSC?
kannel cannot act as an SMSC. there are few commercial and free addons which provide smsc functionality search for opensmppbox or smppbox Regards, Cezary On 23/02/2011 18:40, Sanjay Bhandari wrote: We have a bind where the peer wants to act as the ESMEE. I can't find a way to configure Kannel as an SMSC. Am I missing it somehow? More importantly, if we decided to modify the code to try and support the SMSC role, are there any hidden gotchas that we should be aware of? I guess, I am wondering why this capability is not implemented in Kannel already. Are there any blocking reasons? Thanks for your input. Sanjay
Re: SMPP TLVs
checkout the latest kannel from svn. The snapshot userguide is referring to it. On 04/02/2011 11:42, Richard Crawshaw wrote: Hi I’m trying to use Kannel version 1.4.3 on a Windows box (2003 server). I downloaded this at the beginning of January 2011. It has been compiled under Cygwin and works. Our provider supports three optional parameters, we need to specify one of these: ChannelId. According to the on-line Kannel documentation http://kannel.org/download/kannel-userguide-snapshot/userguide.html#META-DATA TLVs are supported in the config file thus: group = smpp-tlv name = ChannelId tag = 0x1402 length = 32 smsc-id = our-smsc However when I include a smpp-tlv group in the config file the bearer box refuses to start and logs the error: ERROR: Group 'smpp-tlv' is no valid group identifier. I’ve found that the config file items are defined in cfg.def; however, ‘smpp-tlv’ is not in this file. Nor can I find reference to it any of the other code files. Today I downloaded the latest SVN and ‘smpp-tlv’ is not in the cfg.def file either. Any assistance on how I can get this working would be much appreciated. Many thanks. -- Richard Crawshaw Software Developer
Re: Routing SMS Simply WILL NOT work!!!
Hi I'm not sure what do you want to achieve. The purpose of smsbox-route is different. It routes messages from the bearerbox to one of smsboxes (basically, routes all incoming messages like DLRs or MO) If you want to route messages from smsbox to bearerbox you need to specify denied-smsc-id, allowed-smsc-id and preferred-smsc-id in your SMSC configuration and do the routing based on these IDs (by forcing the sms-id in sendsms-user as you did or by specifying smscid in the url) Regards On 19/01/2011 17:02, Bob O'Souna wrote: I seem to have a system that works - but I simply cannot get SMS's in my SMSbox to be routed to the destination An SMS is sent to my SMSbox which I receive (I can see SMS: received 1 (1 queued), sent 0 (0 queued), store size 1 in the status page). I have also setup the following config group=smsbox-route smsbox-id=myBox smsc-id=outsms outsms is defined as an SMPP smsc and works as I can send an SMS using outsms by running http://IP:13001/cgi-bin/sendsms?username=mepassword=passto=1234567890from=0987654321text=Testdlr-mask=31 with the following config in place group=sendsms-user username=me password=pass forced-smsc=outsms user-allow-ip=*.*.*.* concatenation=true So, why wouldn't messages in myBox be routed across to outsms? I am pulling my hairs out. Pls help!!!
Re: removing the plus sign
look at unified-prefix in your SMSC group. BR, Cezary - Original Message - From: Innocent Muchedzi To: users@kannel.org Sent: Thursday, October 21, 2010 8:25 AM Subject: removing the plus sign hie all I would like to know how I can remove the + sign on the short code, rather than having +1234 I want to have 1234 when an sms is being delivered to kannel. Innocent Muchedzi Creative Directory Syldah Media Ipelo House, Plot 103, Unit 4 Gaborone International Commerce Park Gaborone Tele/Fax: 3105907 Cell: 71806864/73114818 www.syldah.com www.mobitecworld.com
Re: get notify if SMSC link is o nline¨?
There is a kannel plugin for Nagios http://exchange.nagios.org/directory/Plugins/Others/check_kannel/details BR - Original Message - From: Beatrice Tamburrino beatrice.tamburr...@gmx.ch To: users@kannel.org Sent: Wednesday, August 25, 2010 10:42 AM Subject: get notify if SMSC link is online¨? Hi guys! I need some urgent help from you all!! follow situation: is there a way the gateway can send notification in case he detects that the link to the SMSC (provider) is online again? PLIIIS HELP thanks in advance! -- GMX.ch - Schweizer FreeMail-Dienst mit über 800.000 Mitgliedern E-Mail mehr! Kostenlos: http://portal.gmx.net/de/go/chfreemail
Re: ERROR: MYSQL: can not connect to database!
Hi, Have you tried to add the port definition in the mysql-connection group? port = 3306 BR - Original Message - From: Aldo Zavala a...@cleartalk.net To: users@kannel.org Sent: Tuesday, July 27, 2010 8:14 PM Subject: Re: ERROR: MYSQL: can not connect to database! Sorry, I forgot to post the sqlbox.conf group = sqlbox id = sqlbox-db smsbox-id = sqlbox #global-sender = bearerbox-host = localhost bearerbox-port = 13009 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/sqlbox.log log-level = 0 #ssl-client-certkey-file = #ssl-server-cert-file = #ssl-server-key-file = #ssl-trusted-ca-file = group = mysql-connection id = sqlbox-db host = 192.168.0.11 username = root password = root database = kannel Thanks, Aldo Zavala - Original Message - From: Aldo Zavala [mailto:a...@cleartalk.net] To: users@kannel.org Sent: Tue, 27 Jul 2010 12:13:08 -0700 Subject: ERROR: MYSQL: can not connect to database! Hi, I am setting up Kannel svn-r4833 with sqlbox and I am getting this message, please note that MySQL server is in a separated server than Kannel server. - My OS is FreeBSD 8.1 Release amd64 [] [0] ERROR: MYSQL: can not connect to database! [] [0] ERROR: MYSQL: Can't connect to MySQL server on '192.168.0.11' (61) [] [0] PANIC: SQLBOX: MySQL: database pool has no connections! Note 2: I can access the MySQL server from Kannel server by /usr/local/bin/mysql -h 192.168.0.11 -uroot -p any help is really appreciated!! Thanks in advance! Aldo Zavala
Re: Delivery Report Flag
A simple php / perl script will do the job. You could also achieve this within the kannel using HTTP-based relay. Basically, sendsms-user1 - force to - http-relay (with dlr-url and dlr-mask)- sendsms-user2 Make sure nothing is being looped. Regards, Cezary Siwek - Original Message - From: T.K.Thapa To: Kannel list Sent: Monday, July 26, 2010 11:31 AM Subject: Re: Delivery Report Flag Hello, Any senior developers comment on this if this is the only solution available with kannel. Regards Tapan Thapa --- On Mon, 26/7/10, Konstantin Vayner pon...@appcell.net wrote: From: Konstantin Vayner pon...@appcell.net Subject: Re: Delivery Report Flag To: T.K.Thapa tapan_thapa2...@yahoo.com Cc: Kannel list users@kannel.org Date: Monday, 26 July, 2010, 2:24 PM Oh, right. Sorry for misinformation. Only dlr-url can be specified in the configuration, dlr-mask still has to be passed on every request. On Mon, Jul 26, 2010 at 11:35 AM, T.K.Thapa tapan_thapa2...@yahoo.com wrote: Hello, Sorry to inform you but if i put dlr-mask = 7 in group = sendsms-user in my kannel config then bearerbox does not start. And also there is no information about this parameter (dlr-mask) in kanneldocument.pdf in sendsms-user group. Please suggest more Regards Tapan Thapa --- On Mon, 26/7/10, Konstantin Vayner pon...@appcell.net wrote: From: Konstantin Vayner pon...@appcell.net Subject: Re: Delivery Report Flag To: T.K.Thapa tapan_thapa2...@yahoo.com Cc: Kannel list users@kannel.org Date: Monday, 26 July, 2010, 1:35 PM You can set dlr-mask and dlr-url in sendsms-user group Regards, Konstantin On Mon, Jul 26, 2010 at 11:03 AM, T.K.Thapa tapan_thapa2...@yahoo.com wrote: Hello, Can anyone suggest me how to get all kind of delivery reports from SMSC by default instead asking users to open dlr-mask flag in cgi url? I have goggled little bit and found registered-delivery flag which need to be enabled in group=smsc section but it is not working. Please suggest. Regards Tapan Thapa
Re: how to implement servlet to kannel to add the utf-8 coding
how i am spannig the list am just a new user in this forum and i am not english anyways am your client you would help me LOL ... good one :)
Re: Authentication Failure on Kannel 1.4.3
use quotes: lynx -dump http://localhost:13131/cgi-bin/sendsms?username=aaapassword=bbbto=08text=Hello+world; - Original Message - From: RIFQI To: users@kannel.org Sent: Thursday, July 01, 2010 1:38 AM Subject: Authentication Failure on Kannel 1.4.3 I have just install kannel 1.4.3 on ubuntu server 10.04 and i configure the kannel conf bellow, but when i try to send the sms test using lynx with command : lynx -dump http://localhost:13131/cgi-bin/sendsms?username=aaapassword=bbbto=08text=Hello+world I always get the bellow result lynx -dump http://localhost:13131/cgi-bin/sendsms?username=rifqipassword=testto=081575013938text=Hello+world [1] 18256 [2] 18257 [3] 18258 tricon...@tricon-sms-gate:~$Authorization failed for sendsms bellow is the SEND SMS-USER config on the kannel.conf : #SEND-SMS USERS group = sendsms-user username = rifqi password = test user-deny-ip = user-allow-ip = *.*.*.* concatenation = true can some one told me why did i always get this error? Thanks For the answer
Re: Authentication Failure on Kannel 1.4.3
as per your config file use username rifqi and password test rather than aaa bbb - Original Message - From: RIFQI To: users@kannel.org Sent: Thursday, July 01, 2010 6:03 AM Subject: Re: Authentication Failure on Kannel 1.4.3 Bellow is my kannel.conf detail : #CORE GROUP group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1;localhost #wapbox-port = 13002 #wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log box-deny-ip = box-allow-ip = *.*.*.* dlr-storage = mysql #SMS FAKE #group = smsc #smsc = fake #host = localhost #port = 14013 #SMSC CONNECTIONS group = smsc smsc = at smsc-id = GSMModem host = localhost port = 13131 modemtype = wavecom device = /dev/ttyS0 speed = 115200 sim-buffering = true validityperiod = 168 #MODEM group = modems id = wavecom detect-string = WAVECOM speed = 115200 #need-sleep = true #sendline-sleep = 10 #SMSBOX SETUP group = smsbox bearerbox-host = 127.0.0.1 global-sender = +6285289966108 sendsms-port = 13131 sendsms-chars = 0123456789+ log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/smsbox_access.log #SMS-SERVICE group = sms-service keyword = TEST get-url = http://127.0.0.1/kannel/receivesms.php?phone=%ptext=%atime=%tkey=%$ group = sms-service keyword = default catch-all = true text = Thank You #SEND-SMS USERS group = sendsms-user username = rifqi password = test user-deny-ip = user-allow-ip = *.*.*.* concatenation = true #max-message = 99 #group = wapbox #bearerbox-host = localhost #log-file = /var/log/kannel/wapbox.log group = mysql-connection id = mydlr host = localhost username = kannel password = kannel database = kannel_sms max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc --- EOF ---
RE: Messages with php stripslashes
I populate the table with non slashed text with no problems. Before I do that, I'm treating the message body using mysqli-real_escapre_string. Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Barry Murphy Sent: 24 May 2010 00:45 To: Users Subject: Messages with php stripslashes Hi, I'm using sqlbox to insert text messages into kannel from our php website. Previous to using PHP stripslashes, when ever a person had a ' in a word such as it's, it would add a slash like it\'s which is understandable. We've since used php stripslashes('it\'s') which sends it's to sqlbox and then to the user. Problem is now that in place of a ' the user receives a ?, for instance it's is displayed to the user as it?s. Does anyone know what I could use in PHP to get the correct message to the end user. thanks Barry
RE: sqlbox
Hi, You must set the database port if you are connecting to an external database. Otherwise sqlbox always tries to connect using unix socket. BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Barry Murphy Sent: 23 May 2010 12:15 To: Alejandro Guerrieri Cc: Users Subject: Re: sqlbox I'm running debian lenny on both sides, though the side with sqlbox is version 5, so I wonder if it's because of a different type of auth method or something... As I mention if I use CLI it works fine from the SQLBox to the Actual mysql server, but the other way around it doesnt. Kannel: group = mysql-connection id = mydlr host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc smsc:/etc/kannel# cat sqlbox.conf group = sqlbox id = sqlbox-db smsbox-id = asmsbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 sql-log-table = sqlbox_sent_sms sql-insert-table = sqlbox_send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 group = mysql-connection id = sqlbox-db host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 Thanks Barry On Sun, 23 May 2010 13:08:45 +0200, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Your connection string must be wrong, or there's some issue preventing the sqlbox process to connect to the remote host. I'd check the firewall rules. Another explanation could be related to selinux if you're running on a RHEL/CentOS box and have it enabled. Anyhow, please post your sqlbox configuration (hide the host/user/password). Regards, Alex On Sun, May 23, 2010 at 12:57 PM, Barry Murphy ba...@unix.co.nz wrote: Hi, Not sure if this is the right place to post, but hoping it is, if not please reply offlist direct to me. I've just setup SqlBOX and managed to have it connect to a localhost mysql server, however when I configure it to connect to a remote system it isn't working. My Kannel is using the same MySQL variables though its not complaining, even though it's not actually inserting anything into the dlr so I'm not 100% sure if it is working or not. A tcpdump on the remote sql server does show connection attempts, so I know the TCP is working, the only think I can think of is that sqlbox is failing. if I use CLI from the host to the remote sql host I can connect, i.e. 'mysql -h remote.host.com -u -p database', this works fine. Any suggestions or ideas would be appreciated. I'd prefer not having to run so many mysql hosts and rather use our central one that has grunty CPU's, Disks and backups. smsc:/etc/kannel# /usr/local/kannel/sbin/sqlbox 2010-05-23 22:53:14 [2015] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-05-23 22:53:14 [2015] [0] DEBUG: Kannel sqlbox version `1.4.3'. Build `May 23 2010 06:03:57', compiler `4.1.2 20061115 (prerelease) (Debian 4.1.1-21)'. System Linux, release 2.6.18.8.xs5.5.0.13.442, version #1 SMP Wed Nov 11 12:01:55 UTC 2009, machine i686. Hostname localhost, IP 127.0.0.1. Libxml version 2.7.7. Compiled with MySQL 5.0.32, using MySQL 5.0.51a. Using native malloc. 2010-05-23 22:53:14 [2015] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2010-05-23 22:53:14 [2015] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2010-05-23 22:53:14 [2015] [0] ERROR: MYSQL: can not connect to database! 2010-05-23 22:53:14 [2015] [0] ERROR: MYSQL: Can't connect to MySQL server on '120.131.1.2' (111) 2010-05-23 22:53:14 [2015] [0] PANIC: SQLBOX: MySQL: database pool has no connections! 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox(gw_panic+0xdc) [0x806c96c] 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox(sqlbox_init_mysql+0x3bf) [0x8050a6f] 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox(main+0x390) [0x804f660] 2010-05-23 22:53:14 [2015] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7ad5455] 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox [0x804f191] smsc:/etc/kannel# Thanks Barry
RE: sqlbox
Try to set mysql port as another config value: port = 3306 -Original Message- From: Barry Murphy [mailto:ba...@unix.co.nz] Sent: 23 May 2010 12:40 To: Cezary Siwek Cc: Alejandro Guerrieri; Users Subject: RE: sqlbox Importance: Low Ok, So I tried adding :3306 to the IP Addres, still same error. I also tried changing the database name on the kannel dlr connection (which is same user/pass/database/host as the sqlbox) and got a database access denied, so I know the kannel one is connecting and doing sql selects just fine. It's just sqlbox that doesn't like it, though this still doesnt explain why I dont get any entries into my dlr table, only selects happening. thanks barry On Sun, 23 May 2010 12:36:07 +0100, Cezary Siwek cza...@thebestisp.co.uk wrote: Hi, You must set the database port if you are connecting to an external database. Otherwise sqlbox always tries to connect using unix socket. BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Barry Murphy Sent: 23 May 2010 12:15 To: Alejandro Guerrieri Cc: Users Subject: Re: sqlbox I'm running debian lenny on both sides, though the side with sqlbox is version 5, so I wonder if it's because of a different type of auth method or something... As I mention if I use CLI it works fine from the SQLBox to the Actual mysql server, but the other way around it doesnt. Kannel: group = mysql-connection id = mydlr host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc smsc:/etc/kannel# cat sqlbox.conf group = sqlbox id = sqlbox-db smsbox-id = asmsbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 sql-log-table = sqlbox_sent_sms sql-insert-table = sqlbox_send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 group = mysql-connection id = sqlbox-db host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 Thanks Barry On Sun, 23 May 2010 13:08:45 +0200, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Your connection string must be wrong, or there's some issue preventing the sqlbox process to connect to the remote host. I'd check the firewall rules. Another explanation could be related to selinux if you're running on a RHEL/CentOS box and have it enabled. Anyhow, please post your sqlbox configuration (hide the host/user/password). Regards, Alex On Sun, May 23, 2010 at 12:57 PM, Barry Murphy ba...@unix.co.nz wrote: Hi, Not sure if this is the right place to post, but hoping it is, if not please reply offlist direct to me. I've just setup SqlBOX and managed to have it connect to a localhost mysql server, however when I configure it to connect to a remote system it isn't working. My Kannel is using the same MySQL variables though its not complaining, even though it's not actually inserting anything into the dlr so I'm not 100% sure if it is working or not. A tcpdump on the remote sql server does show connection attempts, so I know the TCP is working, the only think I can think of is that sqlbox is failing. if I use CLI from the host to the remote sql host I can connect, i.e. 'mysql -h remote.host.com -u -p database', this works fine. Any suggestions or ideas would be appreciated. I'd prefer not having to run so many mysql hosts and rather use our central one that has grunty CPU's, Disks and backups. smsc:/etc/kannel# /usr/local/kannel/sbin/sqlbox 2010-05-23 22:53:14 [2015] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-05-23 22:53:14 [2015] [0] DEBUG: Kannel sqlbox version `1.4.3'. Build `May 23 2010 06:03:57', compiler `4.1.2 20061115 (prerelease) (Debian 4.1.1-21)'. System Linux, release 2.6.18.8.xs5.5.0.13.442, version #1 SMP Wed Nov 11 12:01:55 UTC 2009, machine i686. Hostname localhost, IP 127.0.0.1. Libxml version 2.7.7. Compiled with MySQL 5.0.32, using MySQL 5.0.51a. Using native malloc. 2010-05-23 22:53:14 [2015] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2010-05-23 22:53:14 [2015] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2010-05-23 22:53:14 [2015] [0] ERROR: MYSQL: can not connect to database! 2010-05-23 22:53:14 [2015] [0] ERROR: MYSQL: Can't connect to MySQL server on '120.131.1.2' (111) 2010-05-23 22:53:14 [2015] [0] PANIC: SQLBOX: MySQL: database pool has no connections! 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox(gw_panic+0xdc) [0x806c96c] 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local/kannel/sbin/sqlbox(sqlbox_init_mysql+0x3bf) [0x8050a6f] 2010-05-23 22:53:14 [2015] [0] PANIC: /usr/local
RE: sqlbox
I'm sure I have replied on this list to people having exactly the same issue... few times. Re DLRs: Play with the 'msg-id-type' value in your SMPP SMSC section. Cezary -Original Message- From: Barry Murphy [mailto:ba...@unix.co.nz] Sent: 23 May 2010 12:57 To: Cezary Siwek Cc: Alejandro Guerrieri; Users Subject: RE: sqlbox Thanks, that worked!!! Wonder why it wasnt in any other posts I looked at with people having the same issue , ohh well, thanks again :) Next up, any idea why DLR records arent appearing into the database? It's connecting but not inserting. :/ Thanks Barry On Sun, 23 May 2010 12:43:26 +0100, Cezary Siwek cza...@thebestisp.co.uk wrote: Try to set mysql port as another config value: port = 3306 -Original Message- From: Barry Murphy [mailto:ba...@unix.co.nz] Sent: 23 May 2010 12:40 To: Cezary Siwek Cc: Alejandro Guerrieri; Users Subject: RE: sqlbox Importance: Low Ok, So I tried adding :3306 to the IP Addres, still same error. I also tried changing the database name on the kannel dlr connection (which is same user/pass/database/host as the sqlbox) and got a database access denied, so I know the kannel one is connecting and doing sql selects just fine. It's just sqlbox that doesn't like it, though this still doesnt explain why I dont get any entries into my dlr table, only selects happening. thanks barry On Sun, 23 May 2010 12:36:07 +0100, Cezary Siwek cza...@thebestisp.co.uk wrote: Hi, You must set the database port if you are connecting to an external database. Otherwise sqlbox always tries to connect using unix socket. BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Barry Murphy Sent: 23 May 2010 12:15 To: Alejandro Guerrieri Cc: Users Subject: Re: sqlbox I'm running debian lenny on both sides, though the side with sqlbox is version 5, so I wonder if it's because of a different type of auth method or something... As I mention if I use CLI it works fine from the SQLBox to the Actual mysql server, but the other way around it doesnt. Kannel: group = mysql-connection id = mydlr host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc smsc:/etc/kannel# cat sqlbox.conf group = sqlbox id = sqlbox-db smsbox-id = asmsbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 sql-log-table = sqlbox_sent_sms sql-insert-table = sqlbox_send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 group = mysql-connection id = sqlbox-db host = 10.10.1.1 username = 1123 password = 1123 database = 1123 max-connections = 1 Thanks Barry On Sun, 23 May 2010 13:08:45 +0200, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Your connection string must be wrong, or there's some issue preventing the sqlbox process to connect to the remote host. I'd check the firewall rules. Another explanation could be related to selinux if you're running on a RHEL/CentOS box and have it enabled. Anyhow, please post your sqlbox configuration (hide the host/user/password). Regards, Alex On Sun, May 23, 2010 at 12:57 PM, Barry Murphy ba...@unix.co.nz wrote: Hi, Not sure if this is the right place to post, but hoping it is, if not please reply offlist direct to me. I've just setup SqlBOX and managed to have it connect to a localhost mysql server, however when I configure it to connect to a remote system it isn't working. My Kannel is using the same MySQL variables though its not complaining, even though it's not actually inserting anything into the dlr so I'm not 100% sure if it is working or not. A tcpdump on the remote sql server does show connection attempts, so I know the TCP is working, the only think I can think of is that sqlbox is failing. if I use CLI from the host to the remote sql host I can connect, i.e. 'mysql -h remote.host.com -u -p database', this works fine. Any suggestions or ideas would be appreciated. I'd prefer not having to run so many mysql hosts and rather use our central one that has grunty CPU's, Disks and backups. smsc:/etc/kannel# /usr/local/kannel/sbin/sqlbox 2010-05-23 22:53:14 [2015] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-05-23 22:53:14 [2015] [0] DEBUG: Kannel sqlbox version `1.4.3'. Build `May 23 2010 06:03:57', compiler `4.1.2 20061115 (prerelease) (Debian 4.1.1-21)'. System Linux, release 2.6.18.8.xs5.5.0.13.442, version #1 SMP Wed Nov 11 12:01:55 UTC 2009, machine i686. Hostname localhost, IP 127.0.0.1. Libxml version 2.7.7. Compiled with MySQL 5.0.32, using MySQL 5.0.51a. Using native malloc. 2010-05-23 22:53
RE: Kannel + Linux Voyage + Alix on read-only file system ?
Hi, If you don't need the logfiles, send them to /dev/null. The store file can be stored in a tmpfs volume. I guess the 'Linux Voyage' has one at least. BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Lorenzo Condoluci Sent: 05 May 2010 10:01 To: users@kannel.org Subject: Re: Kannel + Linux Voyage + Alix on read-only file system ? Hi, thanks for the answer, but I'd prefer to have an all-in-one solution to prevent depending on other hardware, because in case of failure the sms gateway MUST send sms alert. Thanks anyway! -- Lorenzo Il 04/05/2010 18:39, Nikos Balkanas ha scritto: Hi, Yes, as long as you provide writable partitions for logs and store-queue. Store-queue can be relegated to a remote DB with a writable fs. BR, Nikos - Original Message - From: Lorenzo Condoluci l.condol...@caspur.it To: users@kannel.org Sent: Tuesday, May 04, 2010 5:57 PM Subject: Kannel + Linux Voyage + Alix on read-only file system ? Hi everyone, my sms gateway is running Kannel 1.42 and Linux Voyage 5 on Pc Engines Alix with 4GB Compact Flash. Is it possibile to run kannel on a read-only file system? Thanks -- Lorenzo
RE: Kannel + Linux Voyage + Alix on read-only file system ?
Hi, I'm not sure whether kannel supports syslog... BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Lorenzo Condoluci Sent: 05 May 2010 10:33 To: users@kannel.org Subject: Re: Kannel + Linux Voyage + Alix on read-only file system ? Hi, thanks, I was looking right now to the tmpfs volume on Voyage! The log can be sent trough syslog to a remote log collector. -- Lorenzo Il 05/05/2010 11:25, Cezary Siwek ha scritto: Hi, If you don't need the logfiles, send them to /dev/null. The store file can be stored in a tmpfs volume. I guess the 'Linux Voyage' has one at least. BR Cezary -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Lorenzo Condoluci Sent: 05 May 2010 10:01 To: users@kannel.org Subject: Re: Kannel + Linux Voyage + Alix on read-only file system ? Hi, thanks for the answer, but I'd prefer to have an all-in-one solution to prevent depending on other hardware, because in case of failure the sms gateway MUST send sms alert. Thanks anyway! -- Lorenzo Il 04/05/2010 18:39, Nikos Balkanas ha scritto: Hi, Yes, as long as you provide writable partitions for logs and store-queue. Store-queue can be relegated to a remote DB with a writable fs. BR, Nikos - Original Message - From: Lorenzo Condoluci l.condol...@caspur.it To:users@kannel.org Sent: Tuesday, May 04, 2010 5:57 PM Subject: Kannel + Linux Voyage + Alix on read-only file system ? Hi everyone, my sms gateway is running Kannel 1.42 and Linux Voyage 5 on Pc Engines Alix with 4GB Compact Flash. Is it possibile to run kannel on a read-only file system? Thanks -- Lorenzo
RE: How to consulting status of sms via query_sm asynchronous
I guess it could be easily done using Net::SMPP perl module which has query_sm method already implemented. I Imagine it could be an external process polling your database, sending query_sm and updating the SMS status. http://search.cpan.org/~sampo/Net-SMPP-1.13/SMPP.pm Cezary _ From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Alejandro Guerrieri Sent: 17 March 2010 17:03 To: Sergio Gabriel Gallegos Cc: users@kannel.org Subject: Re: How to consulting status of sms via query_sm asynchronous Sadly, Kannel does not support query_sm yet. On Wed, Mar 17, 2010 at 4:49 PM, Sergio Gabriel Gallegos isc.sergi...@gmail.com wrote: Exactly, not necessarily, but the carrier does not support DLR, so I need to use Query_sm Exactly, note necessarily, but the carrier doesn't support DLR's , so I need to use Query_sm. I hope u can help me, Thks 2010/3/16 Nikos Balkanas nbalka...@gmail.com Not necessarily. Please read user guide about DLRs (Delivery Reports). BR, Nikos - Original Message - From: Sergio Gabriel Gallegos mailto:isc.sergi...@gmail.com To: users@kannel.org Cc: Nikos mailto:nbalka...@gmail.com Balkanas Sent: Wednesday, March 17, 2010 12:34 AM Subject: Re: How to consulting status of sms via query_sm asynchronous i believe you, but better I'll explain the context to understand my need , my carrier is migrating of platform , now are implementing sms premium, where the process is : i send him some sms , he recive and send at user the message ,but I need to know if the message was recovered and remitted to conciliation, and the only way to know is via Query_sm, so then I need to do a query message sent Query_sm. i have the kannel 1.4.3 Thks. 2010/3/12 Nikos Balkanas nbalka...@gmail.com Hi, Please use latest CVS, 1.4.3+. It is production quality with many enhancements. SMS by its nature is asynchronous. There are a lot of delays and different line speeds along the way that necessitate lots of buffers. It would need rewriting from scratch and be very inefficient if it was converted to synchronous. You are wellcome to try it if you don't believe me. BR, Nikos - Original Message - From: Sergio Gabriel Gallegos mailto:isc.sergi...@gmail.com To: users@kannel.org Sent: Saturday, March 13, 2010 12:20 AM Subject: How to consulting status of sms via query_sm asynchronous I have a 1.4 Connection Kannel smpp, sending sms via submit_sm, but in an asynchronous manner via I query_sm view their status and do not like this action, I'm new to this. I hope you can help me Thks
RE: Inbound MO routing with SQL Box
You will need also smsbox instance running on the kannel machine. Exec commands are being executed by smsbox process with the smsbox's user rights (see docs). Don't forget to configure the smsbox-route section as well Cezary _ From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of David Sent: 08 March 2010 14:59 To: users@kannel.org Subject: Inbound MO routing with SQL Box Hello, I am having a hard time getting SQL box working. I need inbound MOs to be handled by the standard exec command I have specified in the kannel.conf file, not via SQLBox. I want to use SQLbox for outbound messages (ie, insert messages into the SQLBox table to send them). It seems that all MOs are currently being handled by the SQLbox, and the exec command i specify in kannel.conf is not running. Here is my kannel.conf: #Kannel.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar admin-allow-ip = *.*.*.* log-file = /var/log/kannel/kannel.log log-level = 0 box-allow-ip = *.*.*.* dlr-storage = mysql group = smsbox smsbox-id = smsbox1 bearerbox-host = localhost sendsms-port = 13013 bearerbox-port = 13003 sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 0 # SERVICE: Just one: its all handled by exec.php group = sms-service keyword = default exec = /var/www/html/exec.php msg=%a phone=%p shortcode=%P operatorid=%o metadata=%D /dev/null 21 max-messages = 0 accept-x-kannel-headers = true Here's the sqlbox.conf: #SQLBOX.conf group = sqlbox id = sqlbox-db smsbox-id = sqlbox #global-sender = bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 100 Any help you could lend would be great. Thank you.
RE: Inbound MO routing with SQL Box
Oh, sorry. You've got the smsbox configured already. Focus on the smsbox-route then. c. _ From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of David Sent: 08 March 2010 14:59 To: users@kannel.org Subject: Inbound MO routing with SQL Box Hello, I am having a hard time getting SQL box working. I need inbound MOs to be handled by the standard exec command I have specified in the kannel.conf file, not via SQLBox. I want to use SQLbox for outbound messages (ie, insert messages into the SQLBox table to send them). It seems that all MOs are currently being handled by the SQLbox, and the exec command i specify in kannel.conf is not running. Here is my kannel.conf: #Kannel.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar admin-allow-ip = *.*.*.* log-file = /var/log/kannel/kannel.log log-level = 0 box-allow-ip = *.*.*.* dlr-storage = mysql group = smsbox smsbox-id = smsbox1 bearerbox-host = localhost sendsms-port = 13013 bearerbox-port = 13003 sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 0 # SERVICE: Just one: its all handled by exec.php group = sms-service keyword = default exec = /var/www/html/exec.php msg=%a phone=%p shortcode=%P operatorid=%o metadata=%D /dev/null 21 max-messages = 0 accept-x-kannel-headers = true Here's the sqlbox.conf: #SQLBOX.conf group = sqlbox id = sqlbox-db smsbox-id = sqlbox #global-sender = bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 100 Any help you could lend would be great. Thank you.
Re: Kannel Store Problem
did you create the `/var/spool/kannel' directory with proper permissions? BR - Original Message - From: kiran.re...@mpowerglobal.in To: Nikos Balkanas Cc: Users mailing list Sent: 15 February 2010 10:24 Subject: Re: Kannel Store Problem Hi Nikos Balkanas, Still the problem persist and below is my log file. bearerbox.log - 2010-02-15 15:50:53 [28821] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory `/var/spool/kannel' 2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such file or directory 2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store init failed. 2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0x16d) [0x485cdd] 2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(main+0xc1b) [0x40f18b] 2010-02-15 15:50:53 [28821] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4] 2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889] Warm Regards, Kiran Reddy MPOWER 91-9036971573 P Please consider the environment before printing this email. Visit us at: www.mpowerglobal.in Nikos Balkanas wrote: Hi, Probably your store-location doesn't exist or isn't a directory. If it still persists please post detailed bb logs with the problem. BR, Nikos - Original Message - From: kiran.re...@mpowerglobal.in To: Users mailing list Sent: Monday, February 15, 2010 9:27 AM Subject: Kannel Store Problem Hi All, I am not able to use store-type and store-location if i use both option or any single option kannel not at all starting up if I comment both kannel starting please help me what is the solution for it. below is my kannel conf. group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 1 access-log = /var/log/kannel/access.log store-type = spool ( if i use this kannel is not working ) Solution ? store-location = /var/spool/kannel( if i use this also kannel is not working ) Solution ? store-dump-freq = 10 smsbox-max-pending = 50 sms-resend-freq = 60 sms-resend-retry = 120 sms-combine-concatenated-mo = 1 -- Warm Regards, Kiran Reddy MPOWER 91-9036971573 P Please consider the environment before printing this email. Visit us at: www.mpowerglobal.in
Re: Trying to set up Kannel to receive SMS messages
Hi, quick answer is: NO Kannel cannot act as SMPP server. There is a commercial addon called 'smppbox' . For more info contact to Stipe Tolj. BR - Original Message - From: Pete Kelly To: users@kannel.org Sent: 09 February 2010 11:21 Subject: Trying to set up Kannel to receive SMS messages Hi I could be suffering from a basic misunderstanding of how SMSC's/Kannel works, however if someone could help me out I would be grateful! I am currently running Kannel and send in SMS messages using the sms-push feature, which are then delivered to a number of SMSC's (I am specifying which SMSC-ID to use in the sms-push request), each connected via SMPP. This is fine and Kannel is working very well to send many thousands of SMS messages per day, however I am trying to experiment and have Kannel actually *host* an SMPP SMSC. Is this possible? The scenario I am trying involves 2 computers, A and B On computer A I would like to host an SMPP SMSC, and I would like to connect to the SMPP SMSC on computer A from computer B. Is this possible, or am I misunderstanding what can be done? Thanks Pete
Re: Kannel doesn't start as user 'kannel'
mainly logfiles. When you start kannel as root, logfiles are being created with root as the owner. delete these files or change the owner. - Original Message - From: CHRONIS, N. To: sangprabv Cc: users@kannel.org Sent: 28 January 2010 11:36 Subject: Re: Kannel doesn't start as user 'kannel' Wich files or folder should I check? Best Regards, Nikos - Original Message - From: sangprabv To: CHRONIS, N. Cc: users@kannel.org Sent: Thursday, January 28, 2010 8:47 AM Subject: Re: Kannel doesn't start as user 'kannel' Mostly about privilege, check your files and folders permission :) Willy On Jan 28, 2010, at 9:43 AM, CHRONIS, N. wrote: Hello everybody, I fixed some error. Now kannel is launching as user 'root' but when I want to launch it as user 'kannel' nothing happend. Any idea? Best Regards, Nikos __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4026 (20090421) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com
Re: cannot recieve sms
you have to configure smsbox-route group. check the manual for more info. BR - Original Message - From: Munir Ahmad To: users@kannel.org Sent: 19 January 2010 12:52 Subject: cannot recieve sms I have been pulling hairs for two days but no luck please help me. here is my config: group = core admin-port = 13330 smsbox-port = 13331 admin-password = bar log-file = ./kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 group = smsc smsc = at smsc-id = MainSMSC modemtype = auto device = /dev/ttyACM0 my-number = 03214542634 connect-allow-ip = 127.0.0.1 keepalive = 60 log-file = smsc.log log-level = 0 speed = 115200 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13332 global-sender = 03214542634 #sendsms-chars = 0123456789 #black-list = banned_nos.txt log-level = 0 log-file = smsbox.log group = sendsms-user username = black password = pathanrox69 concatenation = true max-messages = 10 group = sms-service keyword-regex = (.*) catch-all = yes max-messages = 0 get-url = http://localhost/getsms?from=%p; #file = msgs.txt group = sms-service keyword = default text = No service specified group = modems id = generic name = MotoU6 no-pin = true init-string = AT I can successfully receive msgs sent to my connected U6 but cannot hit the get-url when a message is sent to my U6, it simply goes to my cell in inbox. Please help me ߣ∂ςқ!
Re: WARNING: SIGHUP received, catching and re-opening logs (still not resolved)
I've got plenty of kannel installations on debian boxes with no problems like that. Check your /etc/logrotate.d/kannel file. focus on line (or similar): 'create 640 kannel adm' If you run kannel as different user with no permissions to the logfile, you'll be experiencing issues like that. Make sure, you are running kannel with the same perimisions as logrotate creates a new logfile. Check your init file. Under Debian it is /etc/init.d/kannel. --chuid option of start-stop-deamon sets the user id of process. Regards, Cezary - Original Message - From: Stéphane Bruno To: us...@vm1.kannel.org Sent: 09 December 2009 14:57 Subject: Re: WARNING: SIGHUP received, catching and re-opening logs (still not resolved) Here's my conf file, edited to remove sensitive information: group = core admin-port = 13000 admin-password = MYADMINPASS #status-password = #admin-deny-ip = *.*.*.* #admin-allow-ip = smsbox-port = 13003 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;ANOTHERIP #wapbox-port = 13004 #wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 1 access-log = /var/log/kannel/core_access.log access-log-clean = false unified-prefix = +509,00509,0,011509 group = smsbox bearerbox-host = localhost sendsms-port = 13013 #sendsms-url = #sendota-url = global-sender = 7464 log-file = /var/log/kannel/smsbox.log log-level = 1 access-log = /var/log/kannel/core_access.log reply-couldnotfetch = Impossible de récupérer contenu. Désolé reply-couldnotrepresent = Résultat ne peut être converti en SMS reply-requestfailed = La requête a échoué reply-emptymessage = Message vide du fournisseur de contenu mo-recode = true http-request-retry = 6 Then I have some SMS centers configured, some SMS services and SMS users. Stéphane On Wed, Dec 9, 2009 at 9:43 AM, patrick meye patrick_m...@hotmail.fr wrote: Post your conf file please. Date: Wed, 9 Dec 2009 09:37:25 -0500 Subject: WARNING: SIGHUP received, catching and re-opening logs (still not resolved) From: mysubscription...@gmail.com To: us...@vm1.kannel.org Hello all, I am desperately in need of help. My problem is still not resolved. Every time logrotate rotates the log file, kannel just stops working. I get this warning in the bearerbox log WARNING: SIGHUP received, catching and re-opening logs, and the new log that is opened is left empty. Sending SMS to services stored on my kannel server just stay there no routing of messages, nothing. When I restart Kannel, it works again and processes the SMS that were in memory somehow. Please, can you help? I am on Debian Lenny, and I am using the Kannel cvs snapshot. Just wanted to also let you know that I start the bearerbox and smsbox manually with the following commands: /path/to/bearerbox -v 1 -d /path/to/kannel.conf /path/to/smsbox -v 1 -d /path/to/kannel.conf I already verified that I have killall installed on my Debian server. Regards, Stéphane Messenger débarque dans Hotmail ! Essayez-le !
Re: Two Basic Questions, Please?
I think 1000sms/day is too much for gsm modem/sim card. I'm assuming you are UK based. Most of UK networks don't allow to send more than 3k sms/month (even if you are on 'unlimited text' plan). If you exceed that volume you may be disconnected or charged as per normal text 10-15p. Please check T and C (especially the fair usage policy) of your SIM provider before you decide to go this way. If you get an SMPP connection from SMS carrier you will pay 3-5p/sms. AFAIK: H3G UK - allows to send 3k SMS. After that you will be charged 10p t-mibile UK - If you send more than 3000 texts a month or text more than 200 different numbers in 5 days, you may be breaking your terms and conditions, which say that you can't use your phone for anything unlawful or to send nuisance O2 UK- All usage must be for your private, personal and non-commercial purposes. You may not use your SIM Card: a. in, or connected to, any other device including modems; Best Regards, Cezary - Original Message - From: David Halliday To: Kannel Users Sent: 27 November 2009 01:18 Subject: Re: Two Basic Questions, Please? Hi Nikos, Many thanks for your repsonse. It is really useful. Before actually sending my enquiry to this list, I had done some searchig for a while on google, and I understood that the only way to send sms message to recepints is by going through an SMS Centre for the dsetination network. In your reply, you mentioned as an option: Application - Kannel - GSM modem Can it really be done that way - *bypassing* the SMS centre? And if yes, what is considered as low volume? Would 1000 messages per day be 'OK' with a sim card provider? And of course, it all depends on the destination network. Real SS7 connections may not be an option. I would appreciate your advice. Best regards David --- On Thu, 26/11/09, Nikos Balkanas n...@amdtelecom.net wrote: From: Nikos Balkanas n...@amdtelecom.net Subject: Re: Two Basic Questions, Please? To: David Halliday tetrah...@yahoo.co.uk, Kannel Users users@kannel.org Date: Thursday, 26 November, 2009, 1:27 Hi, 1) To push SMS you will need: Application - Kannel - GSM modem -or- Application - Kannel - SMSc link Application is some kind of web interface to facilitate and schedule pushes. Optionally you can substitute one of kannel's components, smsbox, with SQLbox for sending bulk. GSM modem provides for a low volume, cheaper usually interface using a SIM card. But volume is restricted else SIM maybe disabled. SMSc provides for a more reliable interface, however, throughput is restricted according to your contract. Volume is unlimited (of course you are charged for each SMS). You can also shop around to get the lowest price globally, whereas with a SIM you are restricted by what your operator gives you. 2) Cost depends on your volume and destination. If Clickatell is an aggeragator, ie routes SMS to other SMScs, you can do better than them. If, however, they have real SS7 connections, given their volume, it is unlikely. BR, Nikos - Original Message - From: David Halliday To: Kannel Users Sent: Wednesday, November 25, 2009 9:54 PM Subject: Two Basic Questions, Please? Hello, I have windows xp on my pc, and am very interested in Kannel. Before installing Linux and going through the whole process, I would like to know, if possible, please:- 1. To send sms messages, what else would one need apart from:- Kannel + GSM modem + SMSC connectivity (for recepients' network) Anything else apart from the above 3 'components'? 2. Would that arrangement be actually cheaper than to go through some bulk SMS suppliers like Clickatell, for example? I think it should, but I am not sure. I would greatly appreciate an answer. Best regards, David
Re: Two Basic Questions, Please?
David, Unfortunately you won't save any money this wayYou will pay the same price by sending an SMS from a mobile phone or using Kannel-gms modem. Well, you save money because you can use Kannel instead of other commercial products. Kannel only helps you in enabling SMS on your website/application. Cezary - Original Message - From: David Halliday To: Kannel Users ; Cezary Siwek Sent: 28 November 2009 00:24 Subject: Re: Two Basic Questions, Please? Hi Cezary, Thank you ever so much for the useful info. The basic point that I still can really understand is 'how' Kannel - or any free gateway - could reduce the cost of sending sms. I just need to get the answer before going through installing linux, buyinga GSM modem, etc. Despite googling a lot for the last 10 days, I am still 'confused' really. The aim is to set it up for someone abroad. The sim card provider do not allow sending free messages from a mobile phone. So, if we went for the option: Application - Free Gateway (e.g. Kannel) - GSM modem ( + simcard) How could that be cheaper than to send them directly from a mobile phone? On Kannel's website, one of the answers for this question 1.2 Why should I use Kannel instead of a commercial WAP gateway? is: The price is right :-) Do you really want to pay thousands of dollars of a WAP gateway? May be in this particular case, one should go for the other option, to bypass the sim card provider altogether, i.e.:- Application - Free Gateway (e.g. Kannel) - SMSc agent/provider In any case, thank you once again for your reply. Best regards, David --- On Fri, 27/11/09, Cezary Siwek cza...@thebestisp.co.uk wrote: From: Cezary Siwek cza...@thebestisp.co.uk Subject: Re: Two Basic Questions, Please? To: Kannel Users users@kannel.org Date: Friday, 27 November, 2009, 23:06 I think 1000sms/day is too much for gsm modem/sim card. I'm assuming you are UK based. Most of UK networks don't allow to send more than 3k sms/month (even if you are on 'unlimited text' plan). If you exceed that volume you may be disconnected or charged as per normal text 10-15p. Please check T and C (especially the fair usage policy) of your SIM provider before you decide to go this way. If you get an SMPP connection from SMS carrier you will pay 3-5p/sms. AFAIK: H3G UK - allows to send 3k SMS. After that you will be charged 10p t-mibile UK - If you send more than 3000 texts a month or text more than 200 different numbers in 5 days, you may be breaking your terms and conditions, which say that you can’t use your phone for anything unlawful or to send nuisance O2 UK- All usage must be for your private, personal and non-commercial purposes. You may not use your SIM Card: a. in, or connected to, any other device including modems; Best Regards, Cezary - Original Message - From: David Halliday To: Kannel Users Sent: 27 November 2009 01:18 Subject: Re: Two Basic Questions, Please? Hi Nikos, Many thanks for your repsonse. It is really useful. Before actually sending my enquiry to this list, I had done some searchig for a while on google, and I understood that the only way to send sms message to recepints is by going through an SMS Centre for the dsetination network. In your reply, you mentioned as an option: Application - Kannel - GSM modem Can it really be done that way - *bypassing* the SMS centre? And if yes, what is considered as low volume? Would 1000 messages per day be 'OK' with a sim card provider? And of course, it all depends on the destination network. Real SS7 connections may not be an option. I would appreciate your advice. Best regards David --- On Thu, 26/11/09, Nikos Balkanas n...@amdtelecom.net wrote: From: Nikos Balkanas n...@amdtelecom.net Subject: Re: Two Basic Questions, Please? To: David Halliday tetrah...@yahoo.co.uk, Kannel Users users@kannel.org Date: Thursday, 26 November, 2009, 1:27 Hi, 1) To push SMS you will need: Application - Kannel - GSM modem -or- Application - Kannel - SMSc link Application is some kind of web interface to facilitate and schedule pushes. Optionally you can substitute one of kannel's components, smsbox, with SQLbox for sending bulk
Re: Django kannel
There is an example sendsms script in /contrib dir, written in python. BR - Original Message - From: denis bahati To: users@kannel.org Sent: 02 November 2009 11:49 Subject: Django kannel Hi, I have been using kannel with PHP MySQL and it works fine with my application. I have the project now which needs to use Python/Django and i get confused with the url definition in django/python. Can anyone help me on how to work around?
Re: Routing Question
Hi Eric, I don't know mbuni at all. If it's a big problem to pass smsc-id or use two sendsms users you could try apply prefix-based routing: in example: +1x - US SMSC1 001x - US SMSC2 If the SMSC2 does not accept 001 prefix, change it to +1 using 'unified-prefix' in the smsc configuration. unified-prefix = +1,001 Many VoIP providers uses this method to route calls via different trunks (cheaper or more expensive) Regards, Cezary - Original Message - From: Monchanin Eric To: Nikos Balkanas Cc: us...@vm1.kannel.org Sent: 16 October 2009 12:02 Subject: Re: Routing Question Hello Nikos, Thank you for your answer. mBuni will connect to kannel with only one sendsms-user setting, furthermore, it doesn't pass any smsc-id parameter. My mBuni sendsms-user has to route the messages between 2 smsc : smsc1 = USA smsc2 = Europe Which I can configure using the allowed-prefix and denied-prefix settings. Since mBuni can only send to one sendsms-user, without smsc-id, this is I think the only solution. However, I have this smsc3, which is also linked to USA, and to which I don't want to route those messages. ( I actually configured a 2nd sendsms-user only for this smsc3 ) In this case, the allowed-prefix can not choose between smsc1 and smsc3 since they both accept the same prefix (+1;1) Is there a way to deny a sendsms-user to access a particular smsc ? or Is there a way to specify more than one forced-smsc or default-smsc to a particular sendsms-user ?
Re: 3 Operators - /sendsms/
3 Operators - /sendsms/ Read the documentation again. Try to focus on: smsc-id, denied-smsc-id and allowed-smsc-id in 'SMS centres' section Regards Cezary - Original Message - From: waza...@inbox.lv To: users@kannel.org Sent: 04 October 2009 18:07 Subject: 3 Operators - /sendsms/ I have 3 operators, 3 smsc groups, every group has it's own smsc-id=a, smsc-id=b, smsc-id=c I'm trying to send sms /cgi-bin/sendsms?username=xpassword=xdlr-mask=31from=123to=321text=testsmsc=b As you can see, i set: smsc=b So this sms will have to go through smsc-id=b operator, but it's not, it's randomly choosing smsc.. Every time i send sms, it's randomly choosing smsc, one time a other time c , some times it's choosing b and sms came to me normally. Any ideas why it's choosing random smsc ?
Re: error compiling kannel and how to use the 'php-admin' scripts incontrib directory
1. you have to install dev libraries of libxml2 apt-get install libxml2-dev BR - Original Message - From: freeburn To: users@kannel.org Sent: 12 September 2009 02:25 Subject: error compiling kannel and how to use the 'php-admin' scripts incontrib directory I'm using kannel as a sms-gateway. i've two quaries. 1.first i installed kannel from debian repositories. i also installed libxml2. then for testing purposes i wanted to use the fake-smsc. so i downloaded the source and tried to compile it. but when i run the configure script it gave me an error message that libxml2 is not installed. as the testing utilities compiled with kannel, i cant use them unless i build the whole package from source. so what should i do?is it possible to get source for the test utilities separately so that i can build them? 2.i want to use the php-admin scripts which are given with the kannel source in conrib directory.another thing is the kannel monitor in the same directory.how can i use it too? how can i use them? Ariful Hossain RND finder-lbs www.finder-lbs.com
Re: kannel not picking up keyword
kannel not picking up keywordmake sure, there is no 'space' char at the end of SMS body. BR - Original Message - From: Bashir Jahed To: users@kannel.org Sent: 09 September 2009 13:56 Subject: kannel not picking up keyword I have noticed that kannel is not picking up a keyword on every occasion, about 10% of the time it send to the default service even though the keyword is spelt properly Is there any way to prevent this from happening? Bashir
Re: Associating a DLR with the original message
hi, That IDs are diffrent for every message (yes, DLRs are also kind of messages) Do you know that you can put *anything* into the dlr-url when submitting an SMS? This could be sms-id generated by your application... try this: [u...@localhost]$ curl http://127.0.0.1:13013/cgi-bin/sendsms?username=foopassword=barfrom=12345to=411212text=Hello+worlddlr-mask=31dlr-url=http://http://localhost:1234/dlr.cgi?id=my_internal_and_unique_message_id; BR, - Original Message - From: Garth Patil To: users@kannel.org Sent: 07 September 2009 22:36 Subject: Associating a DLR with the original message Hi, I'm trying to understand how to associate requests to the dlr-url with the original message. I have patched kannel (I'm using version 1.4.3) to return the SMS ID when a request is made to send a message to the smsbox. So a request that looks like this: [u...@localhost]$ curl http://127.0.0.1:13013/cgi-bin/sendsms?username=foopassword=barfrom=12345to=411212text=Hello+worlddlr-mask=31; returns the following result: 0: Accepted for delivery: c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 The SMS ID is the same that appears in the bearerbox logs: 2009-09-07 14:21:55 [14176] [8] DEBUG: boxc_receiver: sms received 2009-09-07 14:21:55 [14176] [8] DEBUG: DLR[internal]: Adding DLR smsc=FAKE, ts=c8d487ac-181f-4f2e-97d7-ffb7abfe99b9, src=12345, dst=411212, mask=31, boxc= 2009-09-07 14:21:55 [14176] [8] DEBUG: send_msg: sending msg to box: 127.0.0.1 2009-09-07 14:21:55 [14176] [6] DEBUG: smsc_fake: sending message to client 2009-09-07 14:21:55 [14176] [6] DEBUG: SMSC[FAKE]: creating DLR message 2009-09-07 14:21:55 [14176] [6] DEBUG: SMSC[FAKE]: DLR = 2009-09-07 14:21:55 [14176] [6] DEBUG: DLR[internal]: Looking for DLR smsc=FAKE, ts=c8d487ac-181f-4f2e-97d7-ffb7abfe99b9, dst=411212, type=1 2009-09-07 14:21:55 [14176] [6] DEBUG: DLR[internal]: created DLR message for URL 2009-09-07 14:21:55 [14176] [9] DEBUG: send_msg: sending msg to box: 127.0.0.1 2009-09-07 14:21:55 [14176] [9] DEBUG: boxc_sender: sent message to 127.0.0.1 2009-09-07 14:21:55 [14176] [9] DEBUG: send_msg: sending msg to box: 127.0.0.1 2009-09-07 14:21:55 [14176] [9] DEBUG: boxc_sender: sent message to 127.0.0.1 2009-09-07 14:21:55 [14176] [8] DEBUG: boxc_receiver: got ack 2009-09-07 14:21:55 [14176] [8] DEBUG: boxc_receiver: got ack 2009-09-07 14:21:56 [14176] [8] DEBUG: boxc_receiver: heartbeat with load value 0 received However, when I receive delivery reports to the dlr-url I have specified ( dlr-url = http://localhost:1234/%d/%A/%I/%F ), I get different SMS ID values. From the smsbox logs: 2009-09-07 14:21:55 [14184] [9] DEBUG: Parsing URL `http://localhost:1234/8/ACK%2F/da3892f9-7f87-4b4f-ad37-041fbeca1bbb/': 2009-09-07 14:21:55 [14184] [9] DEBUG: Parsing URL `http://localhost:1234/1//df3a088d-da98-43ab-be1e-f8d3083e9355/c8d487ac-181f-4f2e-97d7-ffb7abfe99b9': Note that the %F value is the same as the original SMS ID only in some delivery reports, and only when using the fakesmsc. My question is, how am I supposed associate the delivery reports with the original message, if the SMS ID changes? Thanks, Garth
Re: DLR's with sms box
INSERT INTO sent_sms (sql_id, momt, sender, receiver, udhdata, msgdata, time, smsc_id, service, account, sms_type, mclass, mwi, coding, compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, charset, boxc_id, binfo ) VALUES ( NULL, 'DLR', 'IMOBI', '+2782000', NULL, 'id:1244518347 sub:001 dlvrd:001 submit date:1207091236 done date:1207091236 stat:DELIVRD err:000 Text:DLVRD TO MOBILE
Re: DLR's with sms box
hi, Sorry for the previous empty email. Looks like the query is incomplete.A Few years ago I had similar problem with DLRs from Mblox. For some reason there was 0x00 chat in the message body which was breaking the query string inside the sqlbox. I've fixed this by converting msgbody to hexstring. (that was only quick and dirty fix) Could you also paste smsc logs? Regards, Cezary INSERT INTO sent_sms (sql_id, momt, sender, receiver, udhdata, msgdata, time, smsc_id, service, account, sms_type, mclass, mwi, coding, compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, charset, boxc_id, binfo ) VALUES ( NULL, 'DLR', 'IMOBI', '+2782000', NULL, 'id:1244518347 sub:001 dlvrd:001 submit date:1207091236 done date:1207091236 stat:DELIVRD err:000 Text:DLVRD TO MOBILE
Re: Cannot Receive Messages on Kannel
Hi, You have to tell your bearerbox which smsbox you want to route incoming messages to (possiblly you have only one smsbox but it needs to be configured anyway). Read in the manual about smsbox-route group. Regards, Cezary - Original Message - From: Nikhil To: users@kannel.org Sent: 09 July 2009 11:29 Subject: Cannot Receive Messages on Kannel Hi, As mentioned in my other mail-thread, I tried to use Kannel with my Motorola V3m connected as a Modem. However, it didn't work and I had to switch over to a Nokia XPressMusic handset. I could successfully send messages using the cgi-bin/sendsms script. However, when I tried to reply on the same number, the message showed up on the connected handset but failed to hit my get-url which happens to be a Java servlet. Do I need to configure something else or is it that I'm following a wrong path? Here's my sms-service block in smskannel.conf group = sms-service get-url = http://192.168.0.2:8080/smsservlet/home.pg?phone=%ptext=%a;; keyword=default omit-empty = true accept-x-kannel-headers = true I have not kept any other sms-service active which also means that all non-empty incoming requests shall be handled by default. I'd be glad to know if anybody could correct me there. Also, the servlet works when hit through a Web Browser. -- Regards Nikhil Lanjewar
Re: Message content in dlr
Hi All, Can anybody please tell me that what parameter(escape code) should I use in dlr-url to see message content in dlr. There is no escape code for message content. You can add this easily as your own HTTP/GET value. see the kannel documentation or search this mailing list. I am using mysql as dlr-storage. After sending message, I see a new record being added in database. but when dlr is received that record is deleted. How can I update that record instead of deleting. This is how the dlr works. Create a separate table for your internal usage and update it when dlr received (dlr-url called) Regards, Cezary Siwek
Re: dlr-storage = mysql makes kannel slow ?
do you have proper indexes on columns? Regards, - Original Message - From: jyotiranjan panda tell2jy...@gmail.com To: Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: 14 May 2009 10:49 Subject: Re: dlr-storage = mysql makes kannel slow ? Hi Alejandro, Let me explain my problem clearly. When I am sending bulk MTs to smsc, kannel starts stores them in db after getting the response of MTs and when dlr comes for respective MTs it search in the db and delete it from db. And when there is data of 20k/30k in db I noticed bearerbox starts decreasing the rate of sending messages to smsc. As the db size increases the rate of sending messages to the smsc is decreases. May be the problem arises due to the searching and deleting dlrs entry in the db. If I delete dlr entries from the db, bearerbox starts sending messages in absolute manner. I am using dlr-mask = 19. Regards, Jyoti Ranjan Panda On Thu, May 14, 2009 at 3:00 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Well, dlr's should be deleted from the db when you receive the final notification. Perhaps you should adjust the dlr-mask to not wait for dlr's you're not getting from the carrier. Regards, Alejandro On Thu, May 14, 2009 at 10:50 AM, jyotiranjan panda tell2jy...@gmail.comwrote: Hi, I am using kannel-1.4.3 with dlr-storage = mysql. I have noticed when I am using mysql storage, after 30,000 data in DB, kannel starts processing message slowly. i.e it's just sending 2-3 msg/sec to upstream smsc, where as smsc TPS is 40. At that time ,If I am deleting the data in DB,then it's sending in normal speed. Please sugest how to improve the performance. Regards Jyoti Ranjan Panda
Re: Kannel dlr-url %a http post shows is always empty in ?
Hello, The Kannel 's DLR storage does not store the message body. If you need it in your application, you have to add message body into dlr-url when you submitting SMS. in example: $text = this is a test; $dlrurl= urlencode(http://host/dlr.php?status=%dbody=$textmessage_id=$my_internal_id;); $url = http://kannelhost:port/cgi-bin/sendsms?..dlr-mask=31dlr-url=$dlrurl;; Regards, Cezary Siwek
Re: Kannel dlr-url %a http post shows is always empty in ?
Hi, I see. I thought maybe that was the case with %a %b only being used with a SMSC and not the web interface. How easy would this be to add (I do a little programming but haven't looked at the code yet)? Adding the DLR-URL into the post is going to be too difficult in the environment for the box that is doing the original HTTP post to the kannel server. Or I guess a perl script listening on a socket that can respond to a HTTP request acting as a middle man (client of the php dlr.php script using http perl module and the kannel 15015 web sever) would do? It's not a good idea to put a perl script between kannel and application. It will be another point of failure in your infrastructure. The best way to implement this is do that in your application by adding X-Kannel-DLR-Url header into the HTTP POST request. And yet another idea: You could also add a 'fake' HTTP type SMSC, making HTTP GET request to the real SMSC. an example based on userguide: (http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN2297) group = smsc smsc = http smsc-id=fake-smsc-id system-type = kannel smsc-username = nork smsc-password = z0rK port = 13015 send-url = http://localhost:13013/cgi-bin/sendsmssmsc=real-smsc-iddlr-url=http. allowed-smsc-id=fake-smsc-id denied-smsc-id=real-smsc-id Make sure that dlr-url field is urlencoded. Don't forget to set properly smsc-id, allowed-smsc-id and denied-smsc-id to avoid looping messages. I have used this method in one of my previous projects and it worked very well Regards
Re: Kannel not connecting to smsc
Hello, try to add log-file = /var/log/kannel/mysmsc.log log-level = 0 into your smsc/smpp section to get more debug information Regards #- # SMSC CONNECTIONS group = smsc smsc = smpp host = ip address removed port = 8100 smsc-username = username smsc-password = password smsc-id = link0 source-addr-ton= NULL source-addr-npi= NULL dest-addr-ton= NULL dest-addr-npi= NULL #preferred-smsc-id = link0 #allowed-smsc-id = link0;link1 keepalive = 25 interface-version=34 system-type= NULL address-range = NULL
Re: exec in sms-service doesn't execute
Hello You have to define smsbox-route group for icoming messages routing regards
Re: mysql storage frequent complains
Try to install package like libmysql-devel configure --with-mysql --with-mysql-dir=/path/to/libs Regards, Cezary - Original Message - From: Elton Hoxha To: Falko Ziemann Cc: kannel users Sent: Tuesday, March 10, 2009 10:11 AM Subject: Re: mysql storage frequent complains Installed: [r...@localhost Desktop]# rpm -ivh mysql-devel-5.0.45-7.el5.i386.rpm warning: mysql-devel-5.0.45-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2 Preparing...### [100%] 1:mysql-devel### [100%] [r...@localhost Desktop]# /etc/init.d/mysqld restart Stopping MySQL:[ OK ] Starting MySQL:[ OK ] [r...@localhost kannel]# sbin/bearerbox smskannel.conf 2009-03-06 11:32:47 [27213] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-03-06 11:32:47 [27213] [0] PANIC: DLR: storage type 'mysql' is not supported! 2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(gw_panic+0xc2) [0x80cc0c2] 2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(dlr_init+0x22c) [0x805fa9c] 2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(main+0x10a) [0x805304a] 2009-03-06 11:32:47 [27213] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) [0x942dec] 2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox [0x8052211] Regards Elton On Tue, Mar 10, 2009 at 10:47 AM, Falko Ziemann fal...@gmail.com wrote: Hi, you have to install the mysql-dev package first and then compile (!) kannel with ./configure --with-mysql Regards Falko Am 10.03.2009 um 10:42 schrieb Elton Hoxha: Hi guys, I have been searching in the list a lot regarding mysql storage issue. I noticed that users complains are very similar (including mine that i`m not able to configure mysql, in different machines as well), all of them using the magic keyword DLR: storage type 'mysql' is not supported! Which part of kannel is generating this error? I went through the dlr_init just wondering why is that? if (octstr_compare(dlr_type, octstr_imm(mysql)) == 0) { handles = dlr_init_mysql(cfg); if (handles == NULL) { panic(0, DLR: storage type '%s' is not supported!, octstr_get_cstr(dlr_type)); }Why kannel is failing to retrieve the initial configuration? I suspect, the DLR-storage would fail for every type of database connection here, oracle postgre. Is it something wrong with my conf file?dlr-storage=mysqlgroup=mysql-connectionid=mydlrhost=10.1.21.184username=kannelpassword=kannel database=dlrgroup = dlr-dbid = mydlrtable = dlrfield-smsc = smscfield-timestamp = tsfield-source=sourcefield-destination = destinationfield-service = servicefield-url = urlfield-mask = mask field-status = statusThanksElton
Re: TCP modem and kannel
Hello, Does someone got some experience with TCPRAW modem ? Are you using rawclient or rawserver mode in the tcp modem ? Does someone got some similar experience with RFC 2217 ? I'm able to connect to the tcp modem but it looks not to answer to the AT command. Thanks in advance for your help Hello, This is not exactly what you are talking about I have made some test with simple serial port server written in Perl. You can dowload it here: http://whereabouts.eecs.umich.edu/code/serialserver.pl It needs some tweaks if you want to run it under Linux (Device::SerialPort is little bit different than Win32::SerialPort) This works very well with kannel using both devices: rawtcp or telnet regards, Cezary
Re: During MT concatenation extra characters added
Hi Elton, This is expected behaviour. http://en.wikipedia.org/wiki/Concatenated_SMS:) Regards - Original Message - From: Elton Hoxha To: kannel users Sent: Friday, March 06, 2009 9:45 AM Subject: During MT concatenation extra characters added Hi guys, I have the below conf: group = sendsms-user username = b password = b concatenation = true max-messages = 3 group = sms-service keyword = default catch-all = true max-messages = 0 concatenation = true When I`m trying to send an MT sms from my application with 161 characters, the sms is splitted in two parts and in the beginning of both parts are added 6 characters like this ?? Any idea what could be the reason? Thanks Elton
Re: During MT concatenation extra characters added
The splitting is done on kannel side. please look at smpp connection logs. You will see an extra UDH added to each SMS sent by kannel. I assume you can disable this in sendsms-use group by adding concatenation = false. Every sms will be send separately and of course received separately on your handset. - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: kannel users Sent: Friday, March 06, 2009 10:26 AM Subject: Re: During MT concatenation extra characters added Sorry but I didnt get it :) we the device cannot assemble the long sms? The splitting process including extra characters is done on the smpp server or kannel side? Thanks On Fri, Mar 6, 2009 at 10:51 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: Hi Elton, This is expected behaviour. http://en.wikipedia.org/wiki/Concatenated_SMS:) Regards - Original Message - From: Elton Hoxha To: kannel users Sent: Friday, March 06, 2009 9:45 AM Subject: During MT concatenation extra characters added Hi guys, I have the below conf: group = sendsms-user username = b password = b concatenation = true max-messages = 3 group = sms-service keyword = default catch-all = true max-messages = 0 concatenation = true When I`m trying to send an MT sms from my application with 161 characters, the sms is splitted in two parts and in the beginning of both parts are added 6 characters like this ?? Any idea what could be the reason? Thanks Elton
Re: During MT concatenation extra characters added
Is it impossible for kannel to send the long sms separately but being assembled in the receiver side? Kannel actually sends this separately. The extra UDH is required by handset to know that a multipart message is being received. Is the splitting process optional in kannel, so we may have the privilege to make it true or false? as i pointed out, try with the concatenation = false in the sendsms-user group I guess you can have number of sendsms-user groups with different priviliges. Thanks - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: kannel users Sent: Friday, March 06, 2009 10:54 AM Subject: Re: During MT concatenation extra characters added Is it impossible for kannel to send the long sms separately but being assembled in the receiver side? Is the splitting process optional in kannel, so we may have the privilege to make it true or false? Thanks On Fri, Mar 6, 2009 at 11:47 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: The splitting is done on kannel side. please look at smpp connection logs. You will see an extra UDH added to each SMS sent by kannel. I assume you can disable this in sendsms-use group by adding concatenation = false. Every sms will be send separately and of course received separately on your handset. - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: kannel users Sent: Friday, March 06, 2009 10:26 AM Subject: Re: During MT concatenation extra characters added Sorry but I didnt get it :) we the device cannot assemble the long sms? The splitting process including extra characters is done on the smpp server or kannel side? Thanks On Fri, Mar 6, 2009 at 10:51 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: Hi Elton, This is expected behaviour. http://en.wikipedia.org/wiki/Concatenated_SMS:) Regards - Original Message - From: Elton Hoxha To: kannel users Sent: Friday, March 06, 2009 9:45 AM Subject: During MT concatenation extra characters added Hi guys, I have the below conf: group = sendsms-user username = b password = b concatenation = true max-messages = 3 group = sms-service keyword = default catch-all = true max-messages = 0 concatenation = true When I`m trying to send an MT sms from my application with 161 characters, the sms is splitted in two parts and in the beginning of both parts are added 6 characters like this ?? Any idea what could be the reason? Thanks Elton
Re: During MT concatenation extra characters added
You are right. This is how the SMS world works. - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: users@kannel.org Sent: Friday, March 06, 2009 11:41 AM Subject: Re: During MT concatenation extra characters added Hi, I made it concatenation = false, and the sms sent with more than 160 char was splitted in two parts. But this time no extra characters were added, the sms was clean. 2009-03-04 08:26:52 [9225] [3] INFO: sendsms sender:b:15106 (10.1.21.146) to:35567250 msg:heldsfhslofdssworld 2009-03-04 08:26:52 [9225] [3] DEBUG: Stored UUID c28c6640-a928-4381-a33e-596b0046a2ee 2009-03-04 08:26:52 [9225] [3] DEBUG: message length 199, sending 2 messages 2009-03-04 08:26:52 [9225] [0] DEBUG: Got ACK (0) of 718adf0f-0f64-4c52-9483-1e64f48ea55a 2009-03-04 08:26:52 [9225] [0] DEBUG: No client - multi-send or ACK to pull-reply 2009-03-04 08:26:52 [9225] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-03-04 08:26:52 [9225] [3] DEBUG: Delayed reply - wait for bearerbox So, here the UDH indicatior is not set, and there is no chance to assemble them againright? On Fri, Mar 6, 2009 at 11:59 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: Is it impossible for kannel to send the long sms separately but being assembled in the receiver side? Kannel actually sends this separately. The extra UDH is required by handset to know that a multipart message is being received. Is the splitting process optional in kannel, so we may have the privilege to make it true or false? as i pointed out, try with the concatenation = false in the sendsms-user group I guess you can have number of sendsms-user groups with different priviliges. Thanks - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: kannel users Sent: Friday, March 06, 2009 10:54 AM Subject: Re: During MT concatenation extra characters added Is it impossible for kannel to send the long sms separately but being assembled in the receiver side? Is the splitting process optional in kannel, so we may have the privilege to make it true or false? Thanks On Fri, Mar 6, 2009 at 11:47 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: The splitting is done on kannel side. please look at smpp connection logs. You will see an extra UDH added to each SMS sent by kannel. I assume you can disable this in sendsms-use group by adding concatenation = false. Every sms will be send separately and of course received separately on your handset. - Original Message - From: Elton Hoxha To: Cezary Siwek Cc: kannel users Sent: Friday, March 06, 2009 10:26 AM Subject: Re: During MT concatenation extra characters added Sorry but I didnt get it :) we the device cannot assemble the long sms? The splitting process including extra characters is done on the smpp server or kannel side? Thanks On Fri, Mar 6, 2009 at 10:51 AM, Cezary Siwek cza...@thebestisp.co.uk wrote: Hi Elton, This is expected behaviour. http://en.wikipedia.org/wiki/Concatenated_SMS:) Regards - Original Message - From: Elton Hoxha To: kannel users Sent: Friday, March 06, 2009 9:45 AM Subject: During MT concatenation extra characters added Hi guys, I have the below conf: group = sendsms-user username = b password = b concatenation = true max-messages = 3 group = sms-service keyword = default catch-all = true max-messages = 0 concatenation = true When I`m trying to send an MT sms from my application with 161 characters, the sms is splitted in two parts and in the beginning of both parts are added 6 characters like this ?? Any idea what could be the reason? Thanks Elton
Re: DLR-URL and parameters confusion
You have to urlencode whole dlr-url field before you concat it with your URL try this: http://10.1.21.184:13014/cgi-bin/sendsms?username=bpassword=bfrom=15106to=35567250text=helloworlddlr-mask=31dlr-url=http%3A%2F%2F10.1.21.236%3A2469%2FKannelGetStatus.asmx%2FGetStatus%3Fdlrv%3D%25d%26status%3D%25F%26myid%3D - Original Message - From: Elton Hoxha To: Alvaro Cornejo Cc: kannel users Sent: Thursday, March 05, 2009 6:07 PM Subject: Re: DLR-URL and parameters confusion Sorry but failed again 2009-03-03 23:36:55 [7621] [4] INFO: Starting delivery report b from 15106 2009-03-03 23:36:55 [7621] [9] DEBUG: Queue contains 0 pending requests. 2009-03-03 23:36:55 [7621] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-03 23:36:55 [7621] [9] ERROR: Couldn't send request to 2009-03-03 23:36:58 [7621] [1] ERROR: Error reading from fd 22: Its not a matter of dlr-mask because i put all combinations. On Thu, Mar 5, 2009 at 6:58 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Your call is wrong: dlr-mask can not be 3 it should be something like: http://10.1.21.184:13014/cgi-bin/sendsms?username=bpassword=bfrom=15106to=35567250text=helloworlddlr-mask=31dlr-url=http://10.1.21.236:2469/KannelGetStatus.asmx/GetStatus?dlrv=%dstatus=%Fmyid= It should work Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, Mar 5, 2009 at 12:47 PM, Elton Hoxha elt...@gmail.com wrote: I called it inside the loop making 3 attempts; http://10.1.21.184:13014/cgi-bin/sendsms?username=bpassword=bfrom=15106to=35567250text=helloworld!dlr-mask=3%dlr-url=%27http://10.1.21.236:2469/KannelGetStatus.asmx/GetStatus?dlrv=%dstatus=%Fmyid=%27 http://10.1.21.184:13014/cgi-bin/sendsms?username=bpassword=bfrom=15106to=35567250text=helloworld!dlr-mask=3%dlr-url=%27http://10.1.21.236:2469/KannelGetStatus.asmx/GetStatus?dlrv=%dstatus=%Fmyid=1112%27 http://10.1.21.184:13014/cgi-bin/sendsms?username=bpassword=bfrom=15106to=35567250text=helloworld!dlr-mask=3%dlr-url=%27http://10.1.21.236:2469/KannelGetStatus.asmx/GetStatus?dlrv=%dstatus=%Fmyid=1113%27 On Thu, Mar 5, 2009 at 6:38 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: how are you feeding the message to kannel? |-| 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, Mar 5, 2009 at 12:33 PM, Elton Hoxha elt...@gmail.com wrote: Hi again, the below suggestion In your sendsms-user do not add dlr-url parameter. didnt succeded. I removed the line of drl-url from the conf and after restarted the kannel, it didnt return back any value at all. 2009-03-03 23:18:13 [7543] [4] INFO: Starting delivery report b from 15106 2009-03-03 23:18:13 [7543] [9] DEBUG: Queue contains 0 pending requests. 2009-03-03 23:18:13 [7543] [9] ERROR: URL doesn't start with `http://' nor `https://' 2009-03-03 23:18:13 [7543] [9] ERROR: Couldn't send request to Table 6-16. SMS Push (send-sms) CGI Variables says about dlr-mask: Request for delivery reports with the state of the sent message. The value is a bit mask composed of: 1: Delivered to phone, 2: Non-Delivered to Phone, 4: Queued on SMSC, 8: Delivered to SMSC, 16: Non-Delivered to SMSC. Must set dlr-url on sendsms-userdlr-url CGI variable. group or use the I have to consider the first alternative, defining the url in the sendsms-user block and feeding the myid parameter like %p, %Pis it possible? Elton On Thu, Mar 5, 2009 at 6:10 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Hi Dlr-url is defined on sendsms-user if you want a dlr with no info from your own. In your case, as you are going to use your own message Id, you have to create it dynamically for each MT and put it in each call to kannel, as my example in previous mail. In your sendsms-user do not add dlr-url parameter. sms statuses are read backwards: 16 = not delivered to smsc 8 = you submitted to smsc. ie smsc tell kannel he has the msg 4 = msg is in smsc queue. ie smsc tell kannel he queued the msg in its queue. 2 = failed 1 = delivered to phone Also note that not all smsc provide all the statuses, mainly status 4 is not provided by all smsc's since smsc's asume that if they got the message, it is queued if not rejected for any reason nor delivered¡?¡? Alvaro On Thu, 2009-03-05 at 17:51 +0100,
Re: problem by sendota Nokia OMA (1.4.2)
Nikos, I don't think that max HTTP-GET size is limited to 256 bytes. M$ products are supporting 2kB in the URL. Also, most of servers can recievie 4kb using GET method. I was successfully using kannel to send 8-part messages (around 1200 chars) Regards, Cezary - Original Message - From: Nikos Balkanas To: Pai Peng ; users@kannel.org Sent: Monday, February 02, 2009 2:38 PM Subject: Re: problem by sendota Nokia OMA (1.4.2) Hi, YOU CANNOT send XML text with a GET. It is limited to 256 chars (including URL) and definitely no newlines. This is an HTTP limitation, not kannel's. Please read the User's guide, there are some excellent POST examples that work. Nikos - Original Message - From: Pai Peng To: users@kannel.org Sent: Monday, February 02, 2009 4:17 PM Subject: Re: problem by sendota Nokia OMA (1.4.2) hello Nikos, I have now read the text you reminded. I think XML post and XML get are two different protocols, but have the same function. Just GET is easy to use for sending requests. (If it readly works ; ) ) The OTA configuration is only usful, if I use the defined configuration within Kannel: ota-id ota bookmark. (but I am trying to use a XML string) Now I checked out to use 'oma-settings', instead of 'settings' for the parameter 'type. But I can't receive any SMSs on device any more. Please correct me, where i have done wrong. Regards Pai On Fri, Jan 30, 2009 at 9:32 PM, Nikos Balkanas nbalka...@gmail.com wrote: Hi, Please download latest CVS user guide. Turn to page 89 and read about XML Post. It is not a good idea to start throwing around variables in a GET operation trying to fish in the blind. A few pages later is the OTA configuration specs that you need in your kannel.conf. BR, Nikos - Original Message - From: Pai Peng To: users@kannel.org Sent: Friday, January 30, 2009 9:40 PM Subject: problem by sendota Nokia OMA (1.4.2) hello, this is my first day to use kannel. I have heard it monthes ago, but today i have installed it and try to use. My main purpose for using kannel is to send OTA OMA configuration to the devices. But I got errors by sending this following example (AP defining OMA XML): ?xml version=1.0 encoding=UTF-8 standalone = yes ? wap-provisioningdoc !-- WLAN AP profile settings -- characteristic type=NAPDEF parm name=NAME value=wlanapname/parm parm name=NAPID value=wlanapname/parm parm name=PROVIDER-ID value=wlanapname/parm parm name=BEARER value=WLAN/parm characteristic type=WLAN parm name=PRI-SSID value=wlanapssid/parm parm name=NETMODE value=INFRA/parm parm name=SECMODE value=WPA-PRESHARED-KEY/parm parm name=WPA-PRES-KEY-ASC value=mypassword/parm /characteristic /characteristic /wap-provisioningdoc It is used to define a new wlan access point. this xml works with the other SMS gateway 'NowSMS'. my Nokia E71 can receive the SMS sent by kannel, but can not open it: Unable to open, message format not supported. in the log file of smsbox: WARNING: OTA compiler: Unknown attribute 'type' in OTA source, with value 'NAPDEF'. WARNING: OTA compiler: Unknown attribute 'type' in OTA source, with value 'WLAN'. DEBUG (in hex): *application/x-wap-prov.browser-settings It seems like that the smsbox converts the Access Point XML into WebBrowser XML format. At least it doesn't know the access point xml protocol. I am using the GET method for the OTA HTTP interface with text=MyURLEncodedXMLdocument. I don't know the OTA settings and bookmark documents defined in the user guite. where should I define my own bookmark documents? how does Kannel find it? So, I need help to find out a solution to make it work. Thanks for reading and your helps. Regards Pai
Re: multiple sms in sent_sms after inserting single sms in sendsms
does your mysql user have rights to DELETE rows? What is in the sqlbox.log ? - Original Message - From: James Mutuku To: users@kannel.org Sent: Wednesday, January 28, 2009 3:00 PM Subject: multiple sms in sent_sms after inserting single sms in sendsms Hello, I am using kannel-snapshot 1.4.1 and sqlbox running on centos. My setup is kannel and SMPPsim simulator. The problem is when I insert a single sms in the send_sms table, I get 151 similar records in sent_sms table. Below is my insert code, kannel.conf and sqlbox.conf. What could be the problem? Insert code $sql=INSERT INTO send_sms (`momt`, `sender`, `receiver`, `msgdata`, `sms_type`) VALUES ('$momt', '$sender', '$receiver', '$msgdata', '$sms_type') Kannel conf # Default kannel configuration file group = core admin-port = 13000 admin-password = root status-password = root #admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1, 10.2.2.13,192.168.171.99,192.168.171.88,*.*.*.* smsbox-port = 13001 #wapbox-port = 13002 #box-deny-ip = *.*.*.* box-allow-ip = *.*.*.* wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log store-file = /var/log/kannel/kannel.store access-log = /var/log/kannel/access.log log-level = 0 dlr-storage=mysql # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = 0123456789 +- global-sender = 12345 log-file = /var/log/kannel/smsbox.log log-level = 0 #access-log = access.log #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = # SENDSMS USERS SETUP group = sendsms-user username = root password = root # DLR SETUP #mysql connection group = mysql-connection id = mydlr host = localhost username = root password = database = dlr max-connections = 10 group = dlr-db id = mydlr table=sms field-smsc=smsc field-timestamp=ts field-destination=destination field-source=source field-service=service field-url=url field-mask=mask field-status=status field-boxc-id=boxc # SMSC Fake group = smsc smsc = fake port = 1 #connect-allow-ip = 127.0.0.1 # SMSC SMPP group = smsc smsc = smpp smsc-id = SMPPSim validityperiod = 30 host = 192.168.100.2 port = 2775 #receive-port = 2775 smsc-username = smppclient smsc-password = password system-type = address-range = # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = No service specified. sqlbox conf group = sqlbox id = sqlbox-db smsbox-id = smsbox #global-sender = bearerbox-host = localhost bearerbox-port = 13003 smsbox-port = 13003 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/sqlbox.log log-level = 0 #white-list = #black-list = #white-list-regex = #ssl-client-certkey-file = #ssl-server-cert-file = #ssl-server-key-file = #ssl-trusted-ca-file = group = mysql-connection id = sqlbox-db host = localhost username = root password = database = agilesms max-connections = 1
Re: shutdown or restart one SMPP connection
No, you have to restart bearerbox. Regards, - Original Message - From: hafez ahmad To: Ishtiaq Ahmed Cc: users@kannel.org Sent: Tuesday, January 27, 2009 11:14 AM Subject: Re: shutdown or restart one SMPP connection But another related question please, if I add new SMPP connection , can I start the connection without shutdown the bearerbox and the smsbox? Regards, hafez On Tue, Jan 27, 2009 at 12:56 PM, hafez ahmad hafezad...@gmail.com wrote: Thanks all, it works fine now. Regards, Hafez On Tue, Jan 27, 2009 at 12:44 PM, Ishtiaq Ahmed ishtiaq.ah...@ooober.com wrote: Hi Hafez, Sure the http administration gives you the control to stop / start any specific smsc... I hope this will help you... http://kannel:box:AdminPort/stop-smsc?password=youradminpasswordsmsc=yourSMSCid Regards, Ishtiaq Ahmed hafez ahmad wrote: Dears, if I have 25 SMPP connection, is there a way to stop or restart one connection without stop other connections? and by the way I use only one SMSBOX. Regards, Hafez -- Hafez A.Ahmad Amman-Jordan mobile:962-785259011 962-795708728 http://blog.hafezadnan.com -- Hafez A.Ahmad Amman-Jordan mobile:962-785259011 962-795708728 http://blog.hafezadnan.com
RE: DLR-URL when injecting in sqlbox
Try to set the same smsbox-id in sqlbox and smsbox sections in config file(s). Also - i had a problem with delivery reports from Mblox. They are sending 0x00 char in deliver_sm/short_message which usually brakes sql query inside sqlbox. Regards Cezary Siwek _ From: Rolandow [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 10:22 AM To: users@kannel.org Subject: DLR-URL when injecting in sqlbox Hello, I am trying to get a delivery report, when I inject a MT message directly in send_sms. The message gets send, and in my bearerbox I see that a DLR message has been created. The URL I provided, isn't requested though. I tried providing it with and without urlencoding. From my logs: 2007-12-04 10:58:24 [1761] [6] ERROR: SMPP[mblox]: SMSC returned error code 0x040d (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. 2007-12-04 10:58:24 [1761] [6] DEBUG: SMSC[mblox]: creating DLR message 2007-12-04 10:58:24 [1761] [6] DEBUG: SMSC[mblox]: DLR = http://localhost/dlr.php?id=2 http://localhost/dlr.php?id=2dlrstatus=%d dlrstatus=%d 2007-12-04 11:11:10 [1761] [6] ERROR: SMPP[mblox]: SMSC returned error code 0x040d (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. 2007-12-04 11:11:10 [1761] [6] DEBUG: SMSC[mblox]: creating DLR message 2007-12-04 11:11:10 [1761] [6] DEBUG: SMSC[mblox]: DLR = http%3A%2F%2Flocalhost%2Fdlr.php%3Fid%3D2%26dlrstatus%3D%25d I also checked the possibility to store the DLR's to mysql, but I don't see how I can identify the message then? I see no mysql field with an unique message identifier? Help would be much appreciated! Thanks in advance. Kind regards, Roland.
RE: Re[2]: sqlbox does not connect to remote MySQL
hi, I had the same problem. you need to define port if you want to use remote db port = 3306 (or the proper one of course) Regards, Cezary -Original Message- From: Juan Nin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 5:45 PM To: users@kannel.org Subject: Re: Re[2]: sqlbox does not connect to remote MySQL i'm using MySql 5, but the thing is that sqlbox is not trying to connect to the remote server I've already enabled the mysql logging, and I see nothing, and even more, I made a tcpdump on the remote DB server, and no packets arrive.. On 11/14/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Hmm, pretty strange. The only thing I can think of is about auth libraries. There's a difference between 3.x and 4.x mysql authentication protocol, and if for some reason the wrong protocol is used the login fails though the mysql client library works fine. I'd check on the remote side to see if kannel is trying to connect and, if possible, I'd raise the log level on mysql to see if there's something on logfiles worth noting. Regards, Alejandro On Nov 14, 2007 3:10 PM, Juan Nin [EMAIL PROTECTED] wrote: don't think so on my previous post i pasted some changes i made where it logs the panic error, and the host, username, passwd and db are fine not sure where the problem is :( On Nov 14, 2007 2:30 PM, Alejandro Guerrieri [EMAIL PROTECTED] wrote: No, this is to be able to connect to a remote bearerbox. Maybe there's a similar issue with mysql host? I'll check it out. Regards, Alejandro On Nov 14, 2007 1:53 PM, Juan Nin [EMAIL PROTECTED] wrote: Alejandro, is this needed for sqlbox to be able to connect to a remote mysql? thanks! Juan On Nov 14, 2007 1:41 PM, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Here is my patch for sqlbox to take host into account: Index: gw/sqlbox.c == = RCS file: /home/cvs/ sqlbox/gw/sqlbox.c,v retrieving revision 1.2 diff -u -r1.2 sqlbox.c --- gw/sqlbox.c 30 May 2006 17:52:46 - 1.2 +++ gw/sqlbox.c 3 Oct 2007 13:42:58 - @@ -600,7 +600,6 @@ /* some default values */ sqlbox_port_ssl = 0; - bearerbox_host = octstr_create(BB_DEFAULT_HOST); bearerbox_port = BB_DEFAULT_SMSBOX_PORT; bearerbox_port_ssl = 0; logfile = NULL; @@ -624,6 +623,10 @@ if (grp == NULL) panic(0, No ' sqlbox' group in configuration); + bearerbox_host = cfg_get( grp, octstr_imm(bearerbox-host)); + if (bearerbox_host == NULL) + bearerbox_host = octstr_create(BB_DEFAULT_HOST); + sqlbox_id = cfg_get(grp, octstr_imm(smsbox-id)); global_sender = cfg_get(grp, octstr_imm(global-sender)); === Hope it helps, Alejandro On Nov 14, 2007 1:06 PM, seik [EMAIL PROTECTED] wrote: I am about to do the same for sqlbox_pgsql.c :) no time so far :/ -Original Message- From: Juan Nin [ [EMAIL PROTECTED] ] Sent: 14 ??? 2007 ?. To: seik Subject:sqlbox does not connect to remote MySQL mhmhm, I edited gw/sqlbox_mysql.c from the sqlbox source and modified the panic line in the end so the code is like here below, and the DB params are shown ok /* * ok, ready to connect to MySQL */ db_conf = gw_malloc(sizeof(DBConf)); gw_assert(db_conf != NULL); db_conf-mysql = gw_malloc(sizeof(MySQLConf)); gw_assert(db_conf-mysql != NULL); db_conf-mysql-host = mysql_host; db_conf-mysql-username = mysql_user; db_conf-mysql-password = mysql_pass; db_conf-mysql-database = mysql_db; if (have_port) { db_conf-mysql-port = mysql_port; } pool = dbpool_create(DBPOOL_MYSQL, db_conf, pool_size); gw_assert(pool != NULL); /* * XXX should a failing connect throw panic?! */ if (dbpool_conn_count(pool) == 0) panic(0,SQLBOX: MySQL: database pool has no connections! host '%s' user '%s' pass '%s' db '%s', octstr_get_cstr(mysql_host), octstr_get_cstr(mysql_user), octstr_get_cstr(mysql_pass), octstr_get_cstr(mysql_db)); //panic(0,SQLBOX: MySQL: database pool has no connections!); On Nov 14, 2007 12:41 PM, seik [EMAIL PROTECTED] wrote: Err, i think its the same issue as the one with the bearerbox
RE: international mobile numbering
Hi All, I have generated mobile numbering for Poland. Unfortunately, the list is so long due to completely irregular polish numbering plan. The source information comes from Polish Office of Electronic Communications MNOs: http://www.bip.uke.gov.pl/_gAllery/48/48/4848.xls MVNOs: http://www.bip.uke.gov.pl/_gAllery/48/45/4845.xls Regards Cezary Siwek 48,601,6 #Polkomtel (PLUS GSM) 48,603,6 #Polkomtel (PLUS GSM) 48,605,6 #Polkomtel (PLUS GSM) 48,607,6 #Polkomtel (PLUS GSM) 48,609,6 #Polkomtel (PLUS GSM) 48,691,6 #Polkomtel (PLUS GSM) 48,693,6 #Polkomtel (PLUS GSM) 48,695,6 #Polkomtel (PLUS GSM) 48,697,6 #Polkomtel (PLUS GSM) 48,661,6 #Polkomtel (PLUS GSM) 48,663,6 #Polkomtel (PLUS GSM) 48,665,6 #Polkomtel (PLUS GSM) 48,667,6 #Polkomtel (PLUS GSM) 48,669,6 #Polkomtel (PLUS GSM) 48,721,6 #Polkomtel (PLUS GSM) 48,722,6 #Polkomtel (PLUS GSM) 48,723,6 #Polkomtel (PLUS GSM) 48,725,6 #Polkomtel (PLUS GSM) 48,726,6 #Polkomtel (PLUS GSM) 48,781,6 #Polkomtel (PLUS GSM) 48,782,6 #Polkomtel (PLUS GSM) 48,783,6 #Polkomtel (PLUS GSM) 48,785,6 #Polkomtel (PLUS GSM) 48,885,6 #Polkomtel (PLUS GSM) 48,887,6 #Polkomtel (PLUS GSM) 48,600,6 #PTC ERA 48,602,6 #PTC ERA 48,604,6 #PTC ERA 48,606,6 #PTC ERA 48,608,6 #PTC ERA 48,692,6 #PTC ERA 48,694,6 #PTC ERA 48,696,6 #PTC ERA 48,698,6 #PTC ERA 48,660,6 #PTC ERA 48,662,6 #PTC ERA 48,664,6 #PTC ERA 48,6661,5 #PTC ERA 48,6662,5 #PTC ERA 48,6663,5 #PTC ERA 48,6664,5 #PTC ERA 48,6660,5 #PTC ERA 48,668,6 #PTC ERA 48,7283,5 #PTC ERA 48,784,6 #PTC ERA 48,787,6 #PTC ERA 48,788,6 #PTC ERA 48,8811,5 #PTC ERA 48,8818,5 #PTC ERA 48,882,6 #PTC ERA 48,8833,5 #PTC ERA 48,8838,5 #PTC ERA 48,8841,5 #PTC ERA 48,8842,5 #PTC ERA 48,8844,5 #PTC ERA 48,,5 #PTC ERA 48,886,6 #PTC ERA 48,888,6 #PTC ERA 48,889,6 #PTC ERA 48,880,6 #PTC ERA 48,501,6 #PTK CENTERTEL (Orange PL) 48,502,6 #PTK CENTERTEL (Orange PL) 48,503,6 #PTK CENTERTEL (Orange PL) 48,504,6 #PTK CENTERTEL (Orange PL) 48,505,6 #PTK CENTERTEL (Orange PL) 48,506,6 #PTK CENTERTEL (Orange PL) 48,507,6 #PTK CENTERTEL (Orange PL) 48,508,6 #PTK CENTERTEL (Orange PL) 48,509,6 #PTK CENTERTEL (Orange PL) 48,500,6 #PTK CENTERTEL (Orange PL) 48,510,6 #PTK CENTERTEL (Orange PL) 48,511,6 #PTK CENTERTEL (Orange PL) 48,512,6 #PTK CENTERTEL (Orange PL) 48,513,6 #PTK CENTERTEL (Orange PL) 48,514,6 #PTK CENTERTEL (Orange PL) 48,515,6 #PTK CENTERTEL (Orange PL) 48,516,6 #PTK CENTERTEL (Orange PL) 48,517,6 #PTK CENTERTEL (Orange PL) 48,518,6 #PTK CENTERTEL (Orange PL) 48,519,6 #PTK CENTERTEL (Orange PL) 48,789,6 #PTK CENTERTEL (Orange PL) 48,7865,5 #PTK CENTERTEL (Orange PL) 48,7866,5 #PTK CENTERTEL (Orange PL) 48,7867,5 #PTK CENTERTEL (Orange PL) 48,7868,5 #PTK CENTERTEL (Orange PL) 48,7869,5 #PTK CENTERTEL (Orange PL) 48,780,6 #PTK CENTERTEL (Orange PL) 48,795,6 #PTK CENTERTEL (Orange PL) 48,797,6 #PTK CENTERTEL (Orange PL) 48,798,6 #PTK CENTERTEL (Orange PL) 48,799,6 #PTK CENTERTEL (Orange PL) 48,690,6 #PTK Centertel (NMT450) 48,,5 #Telekomunikacja Kolejowa 48,791,6 #P4 Netia Mobile (Play Mobile) 48,792,6 #P4 Netia Mobile (Play Mobile) 48,793,6 #P4 Netia Mobile (Play Mobile) 48,793,6 #P4 Netia Mobile (Play Mobile) 48,796,6 #P4 Netia Mobile (Play Mobile) 48,790,6 #P4 Netia Mobile (Play Mobile) 48,7861,5 #NMI Telecom 48,7862,5 #NMI Telecom 48,7863,5 #NMI Telecom 48,7864,5 #NMI Telecom 48,7860,5 #NMI Telecom 48,7271,5 #NORDISK 48,6665,5 #reserved - future GSM 48,6667,5 #reserved - future GSM 48,6668,5 #reserved - future GSM 48,6669,5 #reserved - future GSM 48,724,6 #reserved - future GSM 48,720,6 #reserved - future GSM 48,7272,5 #reserved - future GSM 48,7273,5 #reserved - future GSM 48,7274,5 #reserved - future GSM 48,7275,5 #reserved - future GSM 48,7276,5 #reserved - future GSM 48,7277,5 #reserved - future GSM 48,7278,5 #reserved - future GSM 48,7279,5 #reserved - future GSM 48,7270,5 #reserved - future GSM 48,7281,5 #reserved - future GSM 48,7282,5 #reserved - future GSM 48,7284,5 #reserved - future GSM 48,7285,5 #reserved - future GSM 48,7286,5 #reserved - future GSM 48,7287,5 #reserved - future GSM 48,7288,5 #reserved - future GSM 48,7289,5 #reserved - future GSM 48,7280,5 #reserved - future GSM 48,8812,5 #reserved - future GSM 48,8813,5 #reserved - future GSM 48,8814,5 #reserved - future GSM 48,8815,5 #reserved - future GSM 48,8816,5 #reserved - future GSM 48,8817,5 #reserved - future GSM 48,8831,5 #reserved - future GSM 48,8832,5 #reserved - future GSM 48,8834,5 #reserved - future GSM 48,8835,5 #reserved - future GSM 48,8836,5 #reserved - future GSM 48,8837,5 #reserved - future GSM 48,8839,5 #reserved - future GSM 48,8830,5 #reserved - future GSM 48,8843,5 #reserved - future GSM 48,8845,5 #reserved - future GSM 48,8846,5 #reserved - future GSM 48,8847,5 #reserved - future GSM 48,8849,5 #reserved - future GSM 48,8840,5 #reserved - future GSM 48,699,6 #MVNOs 48,729,6 #MVNOs
RE: SQL BOX: sqlbox.c Connection closed by the box (null)
hello, if you use smsbox-port = 13011 in [core] group then you shoud use the same port as bearerbox-port = 13011 in sqlbox.conf Also smsbox-port in sqlbox.conf should be the same as bearerbox-port in [smsbox] group smsbox---sqlbox:13012---bearerbox:13011 Regards, C. _ From: Jins [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 12:50 PM To: users@kannel.org; [EMAIL PROTECTED] Cc: Kenney Jacob; Sanil S Subject: SQL BOX: sqlbox.c Connection closed by the box (null) Some one please help me. when i update the send_sms table,the entered field will be transferred to sent_sms table but my sqlbox is getting terminated giving a log as below... 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: Connected to server at localhost. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: Connected to server at localhost. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: Connected to server at localhost. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22 . 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: Connected to server at localhost. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22 . 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: Connected to server at localhost. 2007-09-18 03:52:48 [23846] [0] INFO: MYSQL: server version 4.1.22-standard, client version 4.1.22. 2007-09-18 03:52:48 [23846] [0] DEBUG: Started thread 1 ( sqlbox.c:sql_to_bearerbox) 2007-09-18 03:52:48 [23846] [1] DEBUG: Thread 1 ( sqlbox.c:sql_to_bearerbox) maps to pid 23846. 2007-09-18 03:52:48 [23846] [1] INFO: Connected to bearerbox at localhost port 13010. 2007-09-18 03:52:48 [23846] [1] DEBUG: Started thread 2 ( sqlbox.c:bearerbox_to_sql ) 2007-09-18 03:52:48 [23846] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) maps to pid 23846. 2007-09-18 03:53:48 [23846] [2] INFO: Connection closed by the box (null) 2007-09-18 03:53:48 [23846] [2] DEBUG: bearerbox_to_sql: connection to bearerbox died. 2007-09-18 03:53:48 [23846] [2] DEBUG: Thread 2 (sqlbox.c:bearerbox_to_sql) terminates. 2007-09-18 03:53:48 [23846] [1] DEBUG: Thread 1 (sqlbox.c:sql_to_bearerbox) terminates. 2007-09-18 03:53:58 [23846] [0] DEBUG: Immutable octet strings: 65. Here is my conf files SQLBOX CONF group = sqlbox id = sqlbox-db smsbox-id = smsbox bearerbox-host = xxx.xxx.xxx bearerbox-port = 13010 smsbox-port = 13012 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel- sqlbox.log log-level = 1 group = mysql-connection id = sqlbox-db host = localhost username = x password = x database = x max-connections = 10 KANNEL.CONF group = core admin-port = 13010 admin-password = xx status-password = xx admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 http://127.0.0.1/ smsbox-port = 13011 #wapbox-port = 13002 smsbox-port-ssl = no box-deny-ip = *.*.*.* box-allow-ip = xx.xxx.xx #wdp-interface-name = * dlr-storage = mysql log-file = /var/log/kannel/kannel-core.log log-level = 1 group = smsbox bearerbox-host = xxx.xx.xxx.xxx smsbox-id = smsbox #bearerbox-port = 13010 sendsms-port = 14001 #global-sender = 1234456 #sendsms-chars = , access-log = /var/log/kannel/kannel.smsbox.access-log log-file = /var/log/kannel/kannel.smsbox.log log-level = 0 group = smsc smsc = smpp host = xxx.xxx.xxx.xxx port = 7677 receive-port = 7677 #service-type = smpp smsc-id = test transceiver-mode = true smsc-username = zx smsc-password = xx system-type = group = sendsms-user username = password = x concatenation = true max-messages = 100 group = mysql-connection id = mydlr host =localhost username = x password =x database = xx max-connections = 1
Re: Kannel + ssl (https://... )
Huber, Gottfried wrote: hello to all you i want to access kannel with https:// can someone give me instructions how to use kannel with ssl ? the docu is not really all i think, how can i create keys ? do i have to configure kannel with -ssl ? . you can use stunnel (www.stunnel.org) Best Regards Cezary Siwek
Re: Can kannel receive message from other sms gateway(not SMSC) and relay it ?
I just know I can use SMSC=http to set a connection with other sms gateway (not real SMSC) Hi you can use your own http smsc . take a look to kannel dosc to MT to MO direction switching section best regards Cezary Siwek
Re: sqlbox-standalone problem
hi Willy i had the same problem when i didn't set port = 3306 in sqlbox.conf BTW ... sqlbox was working properly without setting this value when mysql database was installed on the same box with kannel . Cezary
Re: smsbox v. dlr question
Hofferek Attila wrote: Hi! When I insert an MT to sqlbox(standalone) send_sms table incl. dlr-mask (3) and dlr-url, which part creates the http request? My problem is, when I send an MT through smsbox http request, all's well, mt goes out, dlr comes in, dlr-url is called, everybody is happy, but when I send through sqlbox's send_sms table, the dlr url isn't called by smsbox. do you inserting dlr-url field already url-encoded ?
Re: sending escape character
Iain Dooley wrote: hi, i need to send an escape character with the value 0x1b. how can i specify this? i'm sending from php so i did this: $message = 'Poker '.chr(hexdec('1b')).'40 the glasgow arms'; hi Iain the hex value for % char is 0x25 so you should type : $message = 'Poker '.chr(hexdec('25')).'40 the glasgow arms'; but, if you use urlencode function then you don't have to worry about escape codes ? $message = Poker @ the glasgow arms; print urlencode($message); ? you will get: Poker %40 the glasgow arms best regards Cezary Siwek
Re: Sending Unicode - Greek
George Vagenas wrote: Hi All, I am running stable kannel 1.4.1 and i can send with no problem but i can't send Greek messages (uppercase). Any idea? Thats the URL i am using: http://192.168.0.205:13131/cgi-bin/sendsms?username=userpassword=pwdfrom=3021to=306932363163text= ΔΥΟθ Thanks add to url : coding=2
Re: Msg-id for tracking in Kannel 1.4.1
Ben Suffolk wrote: Sunil, The way it works is you specify a URL with each message that you send, and you give a different uid with each URL. When the DLR is received the URL that you specified is called. So you get the uid that you set with the message. In addition you get any other variables you requested, such as the status of the DLR with status=%d Have a look in the manual under table 6-9 for a list of other variables you can include in your DLR :- http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN3463 Just noticed in my original post I missed out a ? between the php and the status, so it should have been http://localhost/dlr.php?status=%duid=1234 The problem still remain because kannel gives different sms-id for each http request. e.g if you get status 4 first and then status 1 - these two requests has different sms-id (%I) . Internal kannel DLR use TS and SMSC to determine specific message: static void dlr_mysql_remove(const Octstr *smsc, const Octstr *ts, const Octstr *dst) { Octstr *sql; debug(dlr.mysql, 0, removing DLR from database); sql = octstr_format(DELETE FROM %s WHERE %s='%s' AND %s='%s' LIMIT 1;, octstr_get_cstr(fields-table), octstr_get_cstr(fields-field_smsc), octstr_get_cstr(smsc), octstr_get_cstr(fields-field_ts), ); mysql_update(sql); octstr_destroy(sql); } variable name is TS but it doesn't looks like Timestamp Question is : how we can be 100% sure which dlr-url http request correspond to which SMS ? Is it possible to use internal message ts value (octstr_get_cstr(ts)) instead of current Timestamp (%T) ? Regards Cezary Siwek
Re: Msg-id for tracking in Kannel 1.4.1
Ben Suffolk wrote: Because in the example I gave you give a specific dlr-url with each message you submit, You add your own uid to this url (which you make sure is different with each message you submit). When the DLR is received the URL is called and your script reads the uid from the url. Because you gave it the uid at the time you submitted the message you can now tie the DLR status back to whatever you want (so long as you recorded the uid you gave at the time of the message submission somewhere your script can get at it) ok, which escape code do you use to pass your own uid through the kannel (%o) ?
Re: Msg-id for tracking in Kannel 1.4.1
You don't use an escape code, you just add it to the url you submit e.g.:- http://localhost/dlr.php?uid=1234status=%d Regards Ben ok. thanks . You just pass whole dlr-url in http request instead of kannel.conf