Re: GSM characters
Hi, On Wed, 2010-08-11 at 23:40, Emmanuel CHANSON wrote: I tested your command with lastest Kannel SVN and I got: @£$¥?_?^{}\[~]|???!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ?? §¿abcdefghijklmnopqrstuvwxyz?ü *Note: I have in my case cgi-script - smsbox - sqlbox - bearerbox* I also tested with Kannel from SVN (few months old) and I got (also) question marks instead of Greek characters. I don't use sqlbox, just smsbox-bearerbox. smsbox log says: 2010-08-12 09:37:28 [31580] [3] INFO: sendsms sender:foo:(127.0.0.1) to:xx msg:@A3$A5E8E9F9ECF2 2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, skipped. 2 2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, skipped. 2 2010-08-12 09:37:28 [31580] [3] WARNING: Incomplete UTF-8 char discovered, skipped. 2 Regards, Emmanuel 2010/8/11 Rene Kluwen rene.klu...@chimit.nl The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and further do some kind of character set processing. Does that mean that greek characters in these versions cannot be sent anymore? Requirement is to have gsm encoding in the sendsms url. How do I do that? == Rene *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Rene Kluwen *Sent:* Wednesday, 11 August, 2010 18:02 *To:* users@kannel.org *Subject:* GSM characters Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code.
Re: How do i unsubscribe?
Also you should receive once a month an automated email asking if you still want to be part of the mailing list. There are hyperlinks in that email to go to the website where you unsubscribe. It really shouldn't be that hard unless the system is broken which I doubt. Does this email look familiar *This is a reminder, sent out once a month, about your **kannel.org*http://kannel.org/ * mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, **mailman-requ...@kannel.org*mailman-requ...@kannel.org *) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to **mailman-ow...@kannel.org* mailman-ow...@kannel.org*. Thanks! Passwords for ** List Password // URL **us...@kannel.org* users@kannel.org* **http://www.kannel.org/mailman/options/users/http://www.kannel.org/mailman/options/users/tatty.dishcloth%40gmail.com x* On Wed, Aug 11, 2010 at 6:37 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Hint: have you tried going to Kannel's site and looking into the mailing lists section? http://www.kannel.org/lists.shtml On Wed, Aug 11, 2010 at 5:55 PM, Steve Rothwell st...@eagleeyetechnology.com wrote: Wish I knew been trying for a year now * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This e-mail, the information contained in it and any files or attachments transmitted with it are confidential and may be legally privileged. They are intended solely for the use of the intended recipient(s). Access to this e-mail by anyone else is unauthorised. The content of this e-mail and any files or attachments transmitted with it may have been changed or replaced without the consent of the author, and in circumstances where the content of this e-mail is important you should not rely on its integrity without checking it by telephone or fax. Eagle Eye SOlutions does not accept any responsibility for any breach of confidence which may arise from the use of e-mail as a means of communication If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, copying, transmission or other use of this e-mail is prohibited and may, in certain circumstances, be a criminal offence, as may any action taken or omitted to be taken in reliance on it. Please also note that any views, opinions or advice contained in this e-mail are those of the sending individual, except where the sender specifically states them to be the views of Eagle Eye Solutions. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Eagle Eye Solutions Limited Registered in the UK Company Registration Number: 04745717 Registered Address: 3rd Floor, City View Place, 67, Sydenham Road, Guildford, Surrey. GU1 3RY * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Marc Cuypers Sent: 11 August 2010 15:59 To: 'Kannel list' Subject: How do i unsubscribe? Hi, How do i unsubscribe from the mailinglist? -- Marc __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
Hi, Please add IP you are trying to access it from in admin-allow-ip. BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Thursday, August 12, 2010 7:41 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks Nikos, The bearerbox and smsbox logs when log-level is 0 is as already given here. The http admin interface for kannel is not working. Duncan. mwamba wrote: Hi Experts I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]# bearerbox -v 1 /etc/kannel.conf [1] 3287 [r...@fedora10 owino]# 2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal' for storage type. 2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 2010-08-10 03:45:53 [3287] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000. 2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-Tmax-pending' not set, using default (100). 2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited. 2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-10 03:45:53 [3287] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2010-08-10 03:45:53 [3287] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-10 03:45:53 [3287] [0] INFO: 2010-08-10 03:45:53 [3287] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-08-10 03:45:53 [3287] [0] INFO: MAIN: Start-up done, entering mainloop 2010-08-10 03:45:54 [3287] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-08-10 03:45:56 [3287] [6] INFO: AT2[/dev/ttyACM0]: Closing device 2010-08-10 03:45:56 [3287] [6] INFO: AT2[/dev/ttyACM0]: detect speed is 115200 2010-08-10 03:45:56 [3287] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-10 03:45:57 [3287] [6] INFO: AT2[/dev/ttyACM0]: speed
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
*Hi Nikos,* *The IP that I am using is 127.0.0.1* *i.e. **admin-allow-ip = 127.0.0.1 is already added in the kannel.conf file. I was using this before the reboot. I dont know why the page still cannot be found and the bearerbox and smsbox start well.* *Thanks*. 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, Please add IP you are trying to access it from in admin-allow-ip. BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Thursday, August 12, 2010 7:41 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks Nikos, The bearerbox and smsbox logs when log-level is 0 is as already given here. The http admin interface for kannel is not working. Duncan. mwamba wrote: Hi Experts I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar. .. group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]# bearerbox -v 1 /etc/kannel.conf [1] 3287 [r...@fedora10 owino]# 2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal' for storage type. 2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 2010-08-10 03:45:53 [3287] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000. 2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-Tmax-pending' not set, using default (100). 2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited. 2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-10 03:45:53 [3287] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2010-08-10 03:45:53 [3287] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-08-10 03:45:53 [3287] [0] INFO: 2010-08-10 03:45:53 [3287] [0] INFO: Kannel bearerbox II version 1.4.3 starting
Re: GSM characters
Hello Rene; I have tried your text with following URL: *UrlEncode text as iso-8859-1 */cgi-bin/sendsms?username=REMOVEDpassword=REMOVEDto=REMOVEDfrom=REMOVEDtext=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0mclass=1coding=0 and the Greek characters were substituted for question marks, but then I tried to send GSM character set URLEncoded as follow: *UrlEncode text as utf-8* /cgi-bin/sendsms?username=REMOVEDpassword=REMOVEDto=REMOVEDfrom=REMOVEDtext=%40%c2%a3%24%c2%a5%c3%a8%c3%a9%c3%b9%c3%ac%c3%b2%c3%87%0a%c3%98%c3%b8%0d%c3%85%c3%a5%ce%94_%ce%a6%ce%93%ce%9b%ce%a9%ce%a0%ce%a8%ce%a3%ce%98%ce%9e%c3%86%c3%a6%c3%9f%c3%89+!%22%23%c2%a4%25%26'()*%2b%2c-.%2f0123456789%3a%3b%3c%3d%3e%3f%c2%a1ABCDEFGHIJKLMNOPQRSTUVWXYZ%c3%84%c3%96%c3%91%c3%9c%c2%a7%c2%bfabcdefghijklmnopqrstuvwxyz%c3%a4%c3%b6%c3%b1%c3%bc%c3%a0%5e%7b%7d%5c%5b%7e%5d%7c%e2%82%acmclass=1coding=0 Greek chars received as expected. Woring example text contains both extended GSM characters and default GSM character set. I /think/ Kannel is expecting us to URL encode text as UTF8. I am not using SqlBox; Kannel bearerbox version svn-r4833; -- *Muamer Bajric* On 12.08.2010 00:18, users-requ...@kannel.org wrote: Message: 1 Date: Wed, 11 Aug 2010 18:02:21 +0200 From: Rene Kluwenrene.klu...@chimit.nl To:users@kannel.org Subject: GSM characters Message-ID:001f01cb396e$96851140$c38f33...@kluwen@chimit.nl Content-Type: text/plain; charset=utf-8 Suppose I send the following text to Kannel?s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @?$_?^{}\[~]|?!#?%'()*+,-./0123456789:;=??ABCDEFGHIJKLMNOPQRSTUVWXYZ??abcdefghijklmnopqrstuvwxyz? However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene
Re: Kannel and mods design question
Hi Emmanuel, It just ocured to me that SQLbox-MT will not work. It turns out that sqlbox doesn't send ACKs to bearerbox, so all dlrs received remain in storage and are continuously resent by bb. You have to fudge it by connecting another smsbox to it to supply the missing ACKs. BR, Nikos - Original Message - From: Nikos Balkanas nbalka...@gmail.com To: Emmanuel CHANSON emmanuelchan...@gmail.com Cc: users users@kannel.org Sent: Thursday, August 12, 2010 5:39 AM Subject: Re: Kannel and mods design question Just one more point. I imagine you use sqlbox-MO just for billing. Otherwise an smsbox--besarerbox-modem would be better. BR, Nikos - Original Message - From: Emmanuel CHANSON To: Nikos Balkanas Cc: users Sent: Thursday, August 12, 2010 2:50 AM Subject: Re: Kannel and mods design question Thanks Nikos, You understand well my questions. - 1) For individual SMS pushed better to use smsbox HTTP API - 2) For batch SMS ( AO-MT I mean ) better to use sqlbox injection. - 3) MO and DLRs handled by sqlbox-mo and smsbox I have separated the MO and MT flow by connecting two sqlbox (one for MO and DLRs and the others for MT injection) I know we can think differently (work with just one sqlbox) but I will work like this for my purpose that is to use a GUI ( new PlaySMS branch created called PlaySMS-KMΒ² who can use smsbox HTTP API for single SMS and sqlbox MT injection for batch, with some others things). Regards, Emmanuel 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi Emmanuel, I don't quite understand what you mean. Can you elaborate? 1) Unitary SMS. You mean individual SMS pushed on demand? Definitely the smsbox HTTP API. You will need some kind of fancy HTTP interface for the client. You may need also online accounting/billing. 2) batch/mailing? You mean batch submit SMS over SMTP? You can definitely use sqlbox for the batch part, you will need some fancy footwork to extract SMS into the DB. 3) MO and DLRs. The scheme you describe will handle both MOs and DLRs. I am not sure what you mean by the distinction of MT-sqlbox and MO-sqlbox, I don't have that much experience with it, and maybe someone can add if it needs something else. AFAIK sqlbox can handle both kinds of traffic, without the need of anything external. BR, Nikos - Original Message - From: Emmanuel CHANSON To: users Sent: Thursday, August 12, 2010 12:10 AM Subject: Re: Kannel and mods design question Hello, Any advises about this question below ? Regards, Emmanuel 2010/8/11 Emmanuel CHANSON emmanuelchan...@gmail.com I post this question just to get feedback from you experts about the best way to design a kannel system where needs are: - unitary SMS ( CGI script from smsbox in this case is recommended ?) - batch/mailling SMS (MT injection in sqlbox-mt in this case ?) - MOs and DLRs to receives (sqlbox-mo and smsbox in this case ?) Traffic is not high for MO (1 SMS / minute) , a little bit more for MT mailling ( batch of 5000 per day, so DLRs comming back have to be handled) My actuel config: HTTP CGI script -- SMSBOX --- SQLBOX-MO --- BEARERBOX --- MODEM/SMS-C Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | HTTP SCRIPT for MT Injection - SQLBOX-MT--- Question is this relevant to configure Kannel like this for my purposes ? Best Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΞΉdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΓ©donie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
Hi, So how are you trying to access it? With lynx? Please post command used to access it. Post also detailed bb logs of your failed attempt to access the HTTP admin. BR, Nikos - Original Message - From: Duncan Owino To: Nikos Balkanas Cc: users@kannel.org Sent: Thursday, August 12, 2010 11:54 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Hi Nikos, The IP that I am using is 127.0.0.1 i.e. admin-allow-ip = 127.0.0.1 is already added in the kannel.conf file. I was using this before the reboot. I dont know why the page still cannot be found and the bearerbox and smsbox start well. Thanks. 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, Please add IP you are trying to access it from in admin-allow-ip. BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Thursday, August 12, 2010 7:41 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks Nikos, The bearerbox and smsbox logs when log-level is 0 is as already given here. The http admin interface for kannel is not working. Duncan. mwamba wrote: Hi Experts I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]# bearerbox -v 1 /etc/kannel.conf [1] 3287 [r...@fedora10 owino]# 2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal' for storage type. 2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 2010-08-10 03:45:53 [3287] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000. 2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-Tmax-pending' not set, using default (100). 2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited. 2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id (null) disabled. 2010-08-10 03:45:53 [3287] [0] INFO:
Re: Kannel and mods design question
Hello Nikos, By ACK you mean DLRs coming back ? It seems that if I set the field 'box_id' in the sqlbox table 'send_sms' to my 'smsbox-id' (the one connected to sqlbox-mo) all DLRs coming to bb are forwarded to my smsbox so I can handle correctly on application side all MT sent through sqlbox-mt and the DLRs coming back on the other side. Or I did not understand what you mean... by *sqlbox doesn't send ACKs to bearerbox* Emmanuel 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi Emmanuel, It just ocured to me that SQLbox-MT will not work. It turns out that sqlbox doesn't send ACKs to bearerbox, so all dlrs received remain in storage and are continuously resent by bb. You have to fudge it by connecting another smsbox to it to supply the missing ACKs. BR, Nikos - Original Message - From: Nikos Balkanas nbalka...@gmail.com To: Emmanuel CHANSON emmanuelchan...@gmail.com Cc: users users@kannel.org Sent: Thursday, August 12, 2010 5:39 AM Subject: Re: Kannel and mods design question Just one more point. I imagine you use sqlbox-MO just for billing. Otherwise an smsbox--besarerbox-modem would be better. BR, Nikos - Original Message - From: Emmanuel CHANSON To: Nikos Balkanas Cc: users Sent: Thursday, August 12, 2010 2:50 AM Subject: Re: Kannel and mods design question Thanks Nikos, You understand well my questions. - 1) For individual SMS pushed better to use smsbox HTTP API - 2) For batch SMS ( AO-MT I mean ) better to use sqlbox injection. - 3) MO and DLRs handled by sqlbox-mo and smsbox I have separated the MO and MT flow by connecting two sqlbox (one for MO and DLRs and the others for MT injection) I know we can think differently (work with just one sqlbox) but I will work like this for my purpose that is to use a GUI ( new PlaySMS branch created called PlaySMS-KMΒ² who can use smsbox HTTP API for single SMS and sqlbox MT injection for batch, with some others things). Regards, Emmanuel 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi Emmanuel, I don't quite understand what you mean. Can you elaborate? 1) Unitary SMS. You mean individual SMS pushed on demand? Definitely the smsbox HTTP API. You will need some kind of fancy HTTP interface for the client. You may need also online accounting/billing. 2) batch/mailing? You mean batch submit SMS over SMTP? You can definitely use sqlbox for the batch part, you will need some fancy footwork to extract SMS into the DB. 3) MO and DLRs. The scheme you describe will handle both MOs and DLRs. I am not sure what you mean by the distinction of MT-sqlbox and MO-sqlbox, I don't have that much experience with it, and maybe someone can add if it needs something else. AFAIK sqlbox can handle both kinds of traffic, without the need of anything external. BR, Nikos - Original Message - From: Emmanuel CHANSON To: users Sent: Thursday, August 12, 2010 12:10 AM Subject: Re: Kannel and mods design question Hello, Any advises about this question below ? Regards, Emmanuel 2010/8/11 Emmanuel CHANSON emmanuelchan...@gmail.com I post this question just to get feedback from you experts about the best way to design a kannel system where needs are: - unitary SMS ( CGI script from smsbox in this case is recommended ?) - batch/mailling SMS (MT injection in sqlbox-mt in this case ?) - MOs and DLRs to receives (sqlbox-mo and smsbox in this case ?) Traffic is not high for MO (1 SMS / minute) , a little bit more for MT mailling ( batch of 5000 per day, so DLRs comming back have to be handled) My actuel config: HTTP CGI script -- SMSBOX --- SQLBOX-MO --- BEARERBOX --- MODEM/SMS-C Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | HTTP SCRIPT for MT Injection - SQLBOX-MT--- Question is this relevant to configure Kannel like this for my purposes ? Best Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΞΉdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-CalΓ©donie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
RE: dlr smppbox
Here is smppbox.log file output... Please tell me why emse doesn't receive deliver_sm 2010-08-10 22:23:49 [9467] [13] DEBUG: Thread 13 (smppbox.c:function) maps to pid 9467. 2010-08-10 22:23:49 [9467] [0] DEBUG: Started thread 13 (smppbox.c:function) 2010-08-10 22:23:49 [9467] [13] INFO: Client connected from 127.0.0.1 2010-08-10 22:23:49 [9467] [13] DEBUG: Connecting to 127.0.0.1 2010-08-10 22:23:49 [9467] [13] INFO: Connected to bearerbox at localhost port 13778. 2010-08-10 22:23:49 [9467] [13] DEBUG: Started thread 14 (smppbox.c:smpp_to_bearerbox) 2010-08-10 22:23:49 [9467] [14] DEBUG: Thread 14 (smppbox.c:smpp_to_bearerbox) maps to pid 9467. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2 = 0x0002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: password: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: system_type: SMPP 2010-08-10 22:23:50 [9467] [14] DEBUG: interface_version: 52 = 0x0034 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_ton: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_npi: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: address_range: NULL 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP]: Sending PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8187198 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter_resp 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2147483650 = 0x8002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP[SMPP]: Got PDU: 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:51 [9467] [14] DEBUG: type_name: submit_sm 2010-08-10 22:23:51 [9467] [14] DEBUG: command_id: 4 = 0x0004 2010-08-10 22:23:51 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sequence_number: 2 = 0x0002 2010-08-10 22:23:51 [9467] [14] DEBUG: service_type: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: destination_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: esm_class: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: protocol_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: priority_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: schedule_delivery_time: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: validity_period: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: registered_delivery: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: replace_if_present_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: data_coding: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sm_default_msg_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sm_length: 5 = 0x0005 2010-08-10 22:23:51 [9467] [14] DEBUG: short_message: zibil 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: Msg object at 0x8187198: 2010-08-10 22:23:51 [9467] [14] DEBUG: type: sms 2010-08-10 22:23:51 [9467] [14] DEBUG: sms.sender: 2010-08-10 22:23:51 [9467] [14] DEBUG: Octet string at 0x8186148: 2010-08-10 22:23:51 [9467] [14] DEBUG:len: 13 2010-08-10 22:23:51 [9467] [14] DEBUG:size: 1024 2010-08-10 22:23:51 [9467] [14] DEBUG:immutable: 0 2010-08-10 22:23:51 [9467] [14] DEBUG:data: 2b 34 34 37 39 33 39 36 31 35 32 36 31+447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: sms.receiver: 2010-08-10 22:23:51 [9467] [14] DEBUG: Octet
RE: dlr smppbox
You are not getting a delivery report because the message was not sent anywhere. There was an attempt to deliver to a so-called http smsc. But it didn't point to a valid smsc. Try an svn update on smppbox. Latest version knows how to handle nacks from bearerbox. == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Thursday, 12 August, 2010 14:08 To: rene.klu...@chimit.nl; alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox Here is smppbox.log file output... Please tell me why emse doesn't receive deliver_sm 2010-08-10 22:23:49 [9467] [13] DEBUG: Thread 13 (smppbox.c:function) maps to pid 9467. 2010-08-10 22:23:49 [9467] [0] DEBUG: Started thread 13 (smppbox.c:function) 2010-08-10 22:23:49 [9467] [13] INFO: Client connected from 127.0.0.1 2010-08-10 22:23:49 [9467] [13] DEBUG: Connecting to 127.0.0.1 2010-08-10 22:23:49 [9467] [13] INFO: Connected to bearerbox at localhost port 13778. 2010-08-10 22:23:49 [9467] [13] DEBUG: Started thread 14 (smppbox.c:smpp_to_bearerbox) 2010-08-10 22:23:49 [9467] [14] DEBUG: Thread 14 (smppbox.c:smpp_to_bearerbox) maps to pid 9467. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2 = 0x0002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: password: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: system_type: SMPP 2010-08-10 22:23:50 [9467] [14] DEBUG: interface_version: 52 = 0x0034 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_ton: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_npi: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: address_range: NULL 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP]: Sending PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8187198 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter_resp 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2147483650 = 0x8002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP[SMPP]: Got PDU: 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:51 [9467] [14] DEBUG: type_name: submit_sm 2010-08-10 22:23:51 [9467] [14] DEBUG: command_id: 4 = 0x0004 2010-08-10 22:23:51 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sequence_number: 2 = 0x0002 2010-08-10 22:23:51 [9467] [14] DEBUG: service_type: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: destination_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: esm_class: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: protocol_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: priority_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: schedule_delivery_time: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: validity_period: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: registered_delivery: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: replace_if_present_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: data_coding: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sm_default_msg_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sm_length: 5 = 0x0005 2010-08-10 22:23:51 [9467] [14] DEBUG: short_message: zibil 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: Msg object at 0x8187198: 2010-08-10 22:23:51 [9467] [14] DEBUG: type: sms 2010-08-10 22:23:51 [9467] [14] DEBUG: sms.sender: 2010-08-10 22:23:51 [9467]
RE: SMPPbox: client binding problem
Best send your question to the Kannel users list. You might get more response. Is the file readable by the user that you start Kannel with? What is your smppbox.conf? The syntax seems to be right. A document containing command id's and statuses are the SMPP v3.4 specifications: http://www.smsforum.net/SMPP_v3_4_Issue1_2.zip == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Thursday, 12 August, 2010 14:09 To: rene.klu...@chimit.nl Subject: RE: SMPPbox: client binding problem Hi Rene, Thanks for the feedback. I will check the path to the file again. Here is my file's content. foo bar vma client-02 password-02 vma 127.0.0.1 Is the syntax ok? My client uses the first line for binding to my smppbox. Is there a document or a link that explains these command IDs and statuses? Thanks once more Cheers, Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 13:21:05 +0200 Command status 0x0d means: Invalid login. Either the login file could not be found or it doesn't have the correct syntax. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Davit Mirzoyan Sent: Thursday, 12 August, 2010 13:03 To: users@kannel.org Subject: SMPPbox: client binding problem Dear all, Lately I was testing the smppbox with the gateway. I got the SMPPbox sources (revision 41), together with the latest gateway sources (revision 4837), from the svn repository. I managed to compile and install kannel and smppbox. Anyhow, I was running the smppbox with the bearerbox and strangely I couldn't manage to bind my client over SMPP to SMPPbox. Every time my client tries to bind to smppbox, it says that an invalid SMPP PDU is recieved (even though correct username and password are sent to my smppbox, as set up in smpp-logins.txt). I was wondering if there is anybody who managed to bind the whole thing and get it work or if anybody got a binding error like this. I would greatly appreciate your help, I am kind of stalled here. I can post my configuration files if needed. Here is my output 2010-08-12 12:47:48 [4738] [0] INFO: Waiting for SMPP connections on port 2346. 2010-08-12 12:54:17 [4738] [0] DEBUG: Started thread 1 (smppbox.c:function) 2010-08-12 12:54:17 [4738] [1] DEBUG: Thread 1 (smppbox.c:function) maps to pid 4738. 2010-08-12 12:54:17 [4738] [1] INFO: Client connected from 192.123.1.103 2010-08-12 12:54:17 [4738] [1] DEBUG: Connecting to 127.0.0.1 2010-08-12 12:54:17 [4738] [1] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-08-12 12:54:17 [4738] [1] DEBUG: Started thread 2 (smppbox.c:smpp_to_bearerbox) 2010-08-12 12:54:17 [4738] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) maps to pid 4738. 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP[(null)]: Got PDU: 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU 0x8aa5770 dump: 2010-08-12 12:54:18 [4738] [2] DEBUG: type_name: bind_transceiver 2010-08-12 12:54:18 [4738] [2] DEBUG: command_id: 9 = 0x0009 2010-08-12 12:54:18 [4738] [2] DEBUG: command_status: 0 = 0x 2010-08-12 12:54:18 [4738] [2] DEBUG: sequence_number: 1 = 0x0001 2010-08-12 12:54:18 [4738] [2] DEBUG: system_id: foo 2010-08-12 12:54:18 [4738] [2] DEBUG: password: bar 2010-08-12 12:54:18 [4738] [2] DEBUG: system_type: vma 2010-08-12 12:54:18 [4738] [2] DEBUG: interface_version: 52 = 0x0034 2010-08-12 12:54:18 [4738] [2] DEBUG: addr_ton: 1 = 0x0001 2010-08-12 12:54:18 [4738] [2] DEBUG: addr_npi: 1 = 0x0001 2010-08-12 12:54:18 [4738] [2] DEBUG: address_range: NULL 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU dump ends. 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP[(null)]: Sending PDU: 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU 0x8aaf370 dump: 2010-08-12 12:54:18 [4738] [2] DEBUG: type_name: bind_transceiver_resp 2010-08-12 12:54:18 [4738] [2] DEBUG: command_id: 2147483657 = 0x8009 2010-08-12 12:54:18 [4738] [2] DEBUG: command_status: 13 = 0x000d 2010-08-12 12:54:18 [4738] [2] DEBUG: sequence_number: 1 = 0x0001 2010-08-12 12:54:18 [4738] [2] DEBUG: system_id: NULL 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU dump ends. 2010-08-12 12:54:19 [4738] [2] ERROR: Invalid SMPP PDU received. 2010-08-12 12:54:19 [4738] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. P.S. My bearerbox works fine with the smsbox. I can send messages through smsbox via HTTP easily. Something is wrong with my smppbox setup I guess. Thanks in advance Davit
Re: SMPPbox: client binding problem
I had the similar problem a week ago after updating smppbox to recent revision. I added: use-systemid-as-smsboxid = true to my group = smppbox and then I could bind succesfully. Tomasz W Twoim liście datowanym 12 sierpnia 2010 (15:59:37) można przeczytać: Here are my configuration files. smskannel.conf ** group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 include = /home/davit/workspace/kannel/gateway-revision-4837/gw/smsbox.conf include = /home/davit/workspace/kannel/gateway-revision-4837/gw/smsc.conf group = sendsms-user username = tester password = foobar ** smsc.conf * group=smsc smsc=smpp smsc-id=17 interface-version=34 host=*** port=* system-id=* smsc-password=** system-type=default transceiver-mode=1 ** * smsbox.conf *** group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = smsbox-route smsbox-id = VMA smsc-id = 17 *** smppbox.conf group = core group = smppbox # our boxc type smppbox-id = abcd # the port to listen on for smpp connections smppbox-port = 16000 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13001 log-level = 0 log-file = smppbox.log our-system-id = VMA route-to-smsc = 17 # see sample smpplogins.txt smpp-logins = /home/davit/workspace/kannel/smppbox-revision-41/gw/smpplogins.txt *** and my smpplogins.txt foo bar VMA client-02 password-02 vma 127.0.0.1 my bearerbox connects to the server fine. Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com CC: users@kannel.org Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 15:20:54 +0200 Best send your question to the Kannel users list. You might get more response. Is the file readable by the user that you start Kannel with? What is your smppbox.conf? The syntax seems to be right. A document containing command id’s and statuses are the SMPP v3.4 specifications: http://www.smsforum.net/SMPP_v3_4_Issue1_2.zip == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Thursday, 12 August, 2010 14:09 To: rene.klu...@chimit.nl Subject: RE: SMPPbox: client binding problem Hi Rene, Thanks for the feedback. I will check the path to the file again. Here is my file's content. foo bar vma client-02 password-02 vma 127.0.0.1 Is the syntax ok? My client uses the first line for binding to my smppbox. Is there a document or a link that explains these command IDs and statuses? Thanks once more Cheers, Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 13:21:05 +0200 Command status 0x0d means: Invalid login. Either the login file could not be found or it doesn’t have the correct syntax. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Davit Mirzoyan Sent: Thursday, 12 August, 2010 13:03 To: users@kannel.org Subject: SMPPbox: client binding problem Dear all, Lately I was testing the smppbox with the gateway. I got the SMPPbox sources (revision 41), together with the latest gateway sources (revision 4837), from the svn repository. I managed to compile and install kannel and smppbox. Anyhow, I was running the smppbox with the bearerbox and strangely I couldn't manage to bind my client over SMPP to SMPPbox. Every time my client tries to bind to smppbox, it says that an invalid SMPP PDU is recieved (even though correct username and password are sent to my smppbox, as set up in smpp-logins.txt). I was wondering if there is anybody who managed to bind the whole thing and get it work or if anybody got a binding error like this. I would greatly appreciate your help, I am kind of stalled here. I can post my configuration files if needed. Here is my output 2010-08-12 12:47:48 [4738] [0] INFO: Waiting for SMPP connections on port 2346. 2010-08-12 12:54:17 [4738] [0] DEBUG: Started thread 1 (smppbox.c:function) 2010-08-12 12:54:17 [4738] [1] DEBUG: Thread 1 (smppbox.c:function) maps to pid 4738. 2010-08-12 12:54:17 [4738] [1] INFO: Client connected from 192.123.1.103 2010-08-12 12:54:17 [4738] [1] DEBUG: Connecting to 127.0.0.1 2010-08-12 12:54:17 [4738] [1] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-08-12 12:54:17 [4738] [1] DEBUG: Started thread 2 (smppbox.c:smpp_to_bearerbox) 2010-08-12 12:54:17 [4738] [2] DEBUG: Thread 2
RE: SMPPbox: client binding problem
Thanks a lot ;). This solved my problem. My client can bind successfully now. your help is greatly appreciated Cheers, Davit From: rene.klu...@chimit.nl To: rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org; davit.mirzo...@hotmail.com Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 16:43:07 +0200 This ip address can possibly be *.*.*.*. Do your smpplogins.txt would look like: foo bar VMA *.*.*.* client-02 password-02 vma 127.0.0.1 Also: I see now that VMA in your smpplogins.txt is uppercase. You log in with lowercase. Please note that logins are case sensitive. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: Thursday, 12 August, 2010 16:25 To: 'Tomasz'; users@kannel.org; 'Davit Mirzoyan' Subject: RE: SMPPbox: client binding problem Or better: Add an ip address to the first line. You stumbled on a bug in smppbox. Will fix it, as soon as I get the time. =-= Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Thursday, 12 August, 2010 16:08 To: users@kannel.org Subject: Re: SMPPbox: client binding problem I had the similar problem a week ago after updating smppbox to recent revision. I added: use-systemid-as-smsboxid = true to my group = smppbox and then I could bind succesfully. Tomasz W Twoim liście datowanym 12 sierpnia 2010 (15:59:37) można przeczytać: Here are my configuration files. smskannel.conf ** group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 include = /home/davit/workspace/kannel/gateway-revision-4837/gw/smsbox.conf include = /home/davit/workspace/kannel/gateway-revision-4837/gw/smsc.conf group = sendsms-user username = tester password = foobar ** smsc.conf * group=smsc smsc=smpp smsc-id=17 interface-version=34 host=*** port=* system-id=* smsc-password=** system-type=default transceiver-mode=1 ** * smsbox.conf *** group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = smsbox-route smsbox-id = VMA smsc-id = 17 *** smppbox.conf group = core group = smppbox # our boxc type smppbox-id = abcd # the port to listen on for smpp connections smppbox-port = 16000 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13001 log-level = 0 log-file = smppbox.log our-system-id = VMA route-to-smsc = 17 # see sample smpplogins.txt smpp-logins = /home/davit/workspace/kannel/smppbox-revision-41/gw/smpplogins.txt *** and my smpplogins.txt foo bar VMA client-02 password-02 vma 127.0.0.1 my bearerbox connects to the server fine. Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com CC: users@kannel.org Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 15:20:54 +0200 Best send your question to the Kannel users list. You might get more response. Is the file readable by the user that you start Kannel with? What is your smppbox.conf? The syntax seems to be right. A document containing command id's and statuses are the SMPP v3.4 specifications: http://www.smsforum.net/SMPP_v3_4_Issue1_2.zip == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Thursday, 12 August, 2010 14:09 To: rene.klu...@chimit.nl Subject: RE: SMPPbox: client binding problem Hi Rene, Thanks for the feedback. I will check the path to the file again. Here is my file's content. foo bar vma client-02 password-02 vma 127.0.0.1 Is the syntax ok? My client uses the first line for binding to my smppbox. Is there a document or a link that explains these command IDs and statuses? Thanks once more Cheers, Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: SMPPbox: client binding problem Date: Thu, 12 Aug 2010 13:21:05 +0200 Command status 0x0d means: Invalid login. Either the login file could not be found or it doesn't have the correct syntax. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Davit Mirzoyan Sent: Thursday, 12 August, 2010 13:03 To: users@kannel.org Subject: SMPPbox:
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
Hi Does the bearerbox smsbox is automatically started up at bootup? what is the result of service kannel status before and after rebooting? Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, Aug 12, 2010 at 6:07 AM, Duncan Owino duncan.ow...@gmail.com wrote: Hi Nikos, I am trying to access it this way: http://localhost:13000 also to send SMS it fails: (http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobartext=Tumbo+bila+kitovu+he+he+heto=0710820154from=0738967285) Note: lynx is not possible i.e. via CLI. Duncan 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, So how are you trying to access it? With lynx? Please post command used to access it. Post also detailed bb logs of your failed attempt to access the HTTP admin. BR, Nikos - Original Message - From: Duncan Owino To: Nikos Balkanas Cc: users@kannel.org Sent: Thursday, August 12, 2010 11:54 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Hi Nikos, The IP that I am using is 127.0.0.1 i.e. admin-allow-ip = 127.0.0.1 is already added in the kannel.conf file. I was using this before the reboot. I dont know why the page still cannot be found and the bearerbox and smsbox start well. Thanks. 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, Please add IP you are trying to access it from in admin-allow-ip. BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Thursday, August 12, 2010 7:41 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks Nikos, The bearerbox and smsbox logs when log-level is 0 is as already given here. The http admin interface for kannel is not working. Duncan. mwamba wrote: Hi Experts I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service
RE: dlr smppbox
Do I understand correctly that smppbox uses mysql as temporary storage and the fact that dlrs left in dlr table is only because smppbox couldn't deliver it to smsc ? Which of these two parameters identify smppbox as smsc within kannel: smppbox-id or our-system-id ? From smpplogs below could anyone tell me to which smsc smppbox failed to deliver report ? Thanks From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox Date: Thu, 12 Aug 2010 15:17:11 +0200 You are not getting a delivery report because the message was not sent anywhere. There was an attempt to deliver to a so-called http smsc. But it didn’t point to a valid smsc. Try an svn update on smppbox. Latest version knows how to handle nacks from bearerbox. == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Thursday, 12 August, 2010 14:08 To: rene.klu...@chimit.nl; alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox Here is smppbox.log file output... Please tell me why emse doesn't receive deliver_sm 2010-08-10 22:23:49 [9467] [13] DEBUG: Thread 13 (smppbox.c:function) maps to pid 9467. 2010-08-10 22:23:49 [9467] [0] DEBUG: Started thread 13 (smppbox.c:function) 2010-08-10 22:23:49 [9467] [13] INFO: Client connected from 127.0.0.1 2010-08-10 22:23:49 [9467] [13] DEBUG: Connecting to 127.0.0.1 2010-08-10 22:23:49 [9467] [13] INFO: Connected to bearerbox at localhost port 13778. 2010-08-10 22:23:49 [9467] [13] DEBUG: Started thread 14 (smppbox.c:smpp_to_bearerbox) 2010-08-10 22:23:49 [9467] [14] DEBUG: Thread 14 (smppbox.c:smpp_to_bearerbox) maps to pid 9467. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2 = 0x0002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: password: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: system_type: SMPP 2010-08-10 22:23:50 [9467] [14] DEBUG: interface_version: 52 = 0x0034 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_ton: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_npi: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: address_range: NULL 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP]: Sending PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8187198 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter_resp 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2147483650 = 0x8002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP[SMPP]: Got PDU: 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:51 [9467] [14] DEBUG: type_name: submit_sm 2010-08-10 22:23:51 [9467] [14] DEBUG: command_id: 4 = 0x0004 2010-08-10 22:23:51 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sequence_number: 2 = 0x0002 2010-08-10 22:23:51 [9467] [14] DEBUG: service_type: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: destination_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: esm_class: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: protocol_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: priority_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: schedule_delivery_time: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: validity_period: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG:
RE: dlr smppbox
The smsc: EXTERNAL == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Thursday, 12 August, 2010 18:01 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: dlr smppbox Do I understand correctly that smppbox uses mysql as temporary storage and the fact that dlrs left in dlr table is only because smppbox couldn't deliver it to smsc ? Which of these two parameters identify smppbox as smsc within kannel: smppbox-id or our-system-id ? From smpplogs below could anyone tell me to which smsc smppbox failed to deliver report ? Thanks _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox Date: Thu, 12 Aug 2010 15:17:11 +0200 You are not getting a delivery report because the message was not sent anywhere. There was an attempt to deliver to a so-called http smsc. But it didn't point to a valid smsc. Try an svn update on smppbox. Latest version knows how to handle nacks from bearerbox. == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Thursday, 12 August, 2010 14:08 To: rene.klu...@chimit.nl; alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox Here is smppbox.log file output... Please tell me why emse doesn't receive deliver_sm 2010-08-10 22:23:49 [9467] [13] DEBUG: Thread 13 (smppbox.c:function) maps to pid 9467. 2010-08-10 22:23:49 [9467] [0] DEBUG: Started thread 13 (smppbox.c:function) 2010-08-10 22:23:49 [9467] [13] INFO: Client connected from 127.0.0.1 2010-08-10 22:23:49 [9467] [13] DEBUG: Connecting to 127.0.0.1 2010-08-10 22:23:49 [9467] [13] INFO: Connected to bearerbox at localhost port 13778. 2010-08-10 22:23:49 [9467] [13] DEBUG: Started thread 14 (smppbox.c:smpp_to_bearerbox) 2010-08-10 22:23:49 [9467] [14] DEBUG: Thread 14 (smppbox.c:smpp_to_bearerbox) maps to pid 9467. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2 = 0x0002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: password: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: system_type: SMPP 2010-08-10 22:23:50 [9467] [14] DEBUG: interface_version: 52 = 0x0034 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_ton: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: addr_npi: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: address_range: NULL 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: smppbox[SMPP]: Multiple login: disconnect. 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP[SMPP]: Sending PDU: 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU 0x8187198 dump: 2010-08-10 22:23:50 [9467] [14] DEBUG: type_name: bind_transmitter_resp 2010-08-10 22:23:50 [9467] [14] DEBUG: command_id: 2147483650 = 0x8002 2010-08-10 22:23:50 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:50 [9467] [14] DEBUG: sequence_number: 1 = 0x0001 2010-08-10 22:23:50 [9467] [14] DEBUG: system_id: aldo2 2010-08-10 22:23:50 [9467] [14] DEBUG: SMPP PDU dump ends. 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP[SMPP]: Got PDU: 2010-08-10 22:23:51 [9467] [14] DEBUG: SMPP PDU 0x8186f40 dump: 2010-08-10 22:23:51 [9467] [14] DEBUG: type_name: submit_sm 2010-08-10 22:23:51 [9467] [14] DEBUG: command_id: 4 = 0x0004 2010-08-10 22:23:51 [9467] [14] DEBUG: command_status: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: sequence_number: 2 = 0x0002 2010-08-10 22:23:51 [9467] [14] DEBUG: service_type: NULL 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: source_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_ton: 1 = 0x0001 2010-08-10 22:23:51 [9467] [14] DEBUG: dest_addr_npi: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: destination_addr: 447939615261 2010-08-10 22:23:51 [9467] [14] DEBUG: esm_class: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: protocol_id: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG: priority_flag: 0 = 0x 2010-08-10 22:23:51 [9467] [14] DEBUG:
Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER
I cannot help you unless you post the information I ask. I repeat: 1) How do you invoke the HTTP admin? (shell, application, etc.) 2) Post detailed relevant bb logs of failed attempt to use the HTTP admin. Who says that lynx doesn't work from command line? Nikos - Original Message - From: Duncan Owino To: Nikos Balkanas Cc: users@kannel.org Sent: Thursday, August 12, 2010 2:07 PM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Hi Nikos, I am trying to access it this way: http://localhost:13000 also to send SMS it fails: (http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobartext=Tumbo+bila+kitovu+he+he+heto=0710820154from=0738967285) Note: lynx is not possible i.e. via CLI. Duncan 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, So how are you trying to access it? With lynx? Please post command used to access it. Post also detailed bb logs of your failed attempt to access the HTTP admin. BR, Nikos - Original Message - From: Duncan Owino To: Nikos Balkanas Cc: users@kannel.org Sent: Thursday, August 12, 2010 11:54 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Hi Nikos, The IP that I am using is 127.0.0.1 i.e. admin-allow-ip = 127.0.0.1 is already added in the kannel.conf file. I was using this before the reboot. I dont know why the page still cannot be found and the bearerbox and smsbox start well. Thanks. 2010/8/12 Nikos Balkanas nbalka...@gmail.com Hi, Please add IP you are trying to access it from in admin-allow-ip. BR, Nikos - Original Message - From: mwamba duncan.ow...@gmail.com To: users@kannel.org Sent: Thursday, August 12, 2010 7:41 AM Subject: Re: ADMIN HTTP AND SEND SMS HTTP INTERFACES FAIL AFTER REBOOTINGFEDORA 10 KANNEL SMS GATEWAY SERVER Thanks Nikos, The bearerbox and smsbox logs when log-level is 0 is as already given here. The http admin interface for kannel is not working. Duncan. mwamba wrote: Hi Experts I am having issue with the HTTP interfaces for admin and send sms for kannel when i restart Fedora. The gateway can send and receive sms so well (sending sms and admin function) after installing kannel, but when i restart Fedora server, the http interfaces cannot be used. The gateway is running on Fedora 10. I am using Sony Ericsson C702 as the Modem ##Below it the /etc/kannel.conf file #CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 log-level = 1 #Duncan's modems groups configs as per /etc/wvdialconf file group = modems id = Sony Ericsson name = Sony Ericsson C702 detect-string = Sony init-string=ATZ init-string=ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #duncan -- the sender number to be used in text messages global-sender = +254738967285 #sendsms-chars = 0123456789 +- log-file = /var/log/kannel/smsbox.log log-level = 1 #access-log = /tmp/access.log #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = You asked nothing and I did it! # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = No service specified The bearerbox and smsbox start well. see below logs: BEARER BOX STARTS UP SUCESSFULLY## [r...@fedora10 owino]#
no dlr on status-success
kannel generates DLR only if it catches failure. I need to have DLR on success sending as well. What is wrong ? 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 3a 20 74 69 6d 65 6f 75 74 3d 31 35 2c 20 6d e: timeout=15, m 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 66 61 69 6c 75 72 65 0a lainfailure. 2010-08-12 21:09:20 [8276] [18] DEBUG: Octet string dump ends. 2010-08-12 21:09:20 [8276] [9] ERROR: HTTP[TMOBILE]: Message not accepted. 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: creating DLR message 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: DLR = 725d4049 2010-08-12 21:09:20 [8276] [17] DEBUG: send_msg: sending msg to boxc: ESME1 2010-08-12 21:09:20 [8276] [17] DEBUG: boxc_sender: sent message to 127.0.0.1 2010-08-12 21:09:28 [8276] [11] DEBUG: Dumping 1 messages to store 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Creating HTTPClient for `89.240.195.169'. 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Created HTTPClient area 0x81b8d40. 2010-08-12 21:09:29 [8276] [3] DEBUG: sql: SELECT count(*) FROM `dlr` 2010-08-12 21:09:29 [8276] [3] DEBUG: column=count(*) buffer_type=8 max_length=0 length=21 2010-08-12 21:09:29 [8276] [3] DEBUG: HTTP: Resetting HTTPClient for `89.240.195.169'. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 6f 6b 0a lainok. 2010-08-12 21:06:13 [8085] [16] DEBUG: Octet string dump ends. 2010-08-12 21:06:25 [8085] [11] DEBUG: Dumping 0 messages to store
Re: no dlr on status-success
check dlr type you ask for on each message. use 31 to get all dlrs available Read manual for details |-| 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, Aug 12, 2010 at 2:31 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: kannel generates DLR only if it catches failure. I need to have DLR on success sending as well. What is wrong ? 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 3a 20 74 69 6d 65 6f 75 74 3d 31 35 2c 20 6d e: timeout=15, m 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 66 61 69 6c 75 72 65 0a lainfailure. 2010-08-12 21:09:20 [8276] [18] DEBUG: Octet string dump ends. 2010-08-12 21:09:20 [8276] [9] ERROR: HTTP[TMOBILE]: Message not accepted. 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: creating DLR message 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: DLR = 725d4049 2010-08-12 21:09:20 [8276] [17] DEBUG: send_msg: sending msg to boxc: ESME1 2010-08-12 21:09:20 [8276] [17] DEBUG: boxc_sender: sent message to 127.0.0.1 2010-08-12 21:09:28 [8276] [11] DEBUG: Dumping 1 messages to store 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Creating HTTPClient for `89.240.195.169'. 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Created HTTPClient area 0x81b8d40. 2010-08-12 21:09:29 [8276] [3] DEBUG: sql: SELECT count(*) FROM `dlr` 2010-08-12 21:09:29 [8276] [3] DEBUG: column=count(*) buffer_type=8 max_length=0 length=21 2010-08-12 21:09:29 [8276] [3] DEBUG: HTTP: Resetting HTTPClient for `89.240.195.169'. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 6f 6b 0a lainok. 2010-08-12 21:06:13 [8085] [16] DEBUG: Octet string dump ends. 2010-08-12 21:06:25 [8085] [11] DEBUG: Dumping 0 messages to store
RE: no dlr on status-success
how-to set dlr-mask in smpp client ? Date: Thu, 12 Aug 2010 14:42:21 -0500 Subject: Re: no dlr on status-success From: cornejo.alv...@gmail.com To: imran.agha...@hotmail.co.uk CC: users@kannel.org check dlr type you ask for on each message. use 31 to get all dlrs available Read manual for details |-| 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, Aug 12, 2010 at 2:31 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: kannel generates DLR only if it catches failure. I need to have DLR on success sending as well. What is wrong ? 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 3a 20 74 69 6d 65 6f 75 74 3d 31 35 2c 20 6d e: timeout=15, m 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 66 61 69 6c 75 72 65 0a lainfailure. 2010-08-12 21:09:20 [8276] [18] DEBUG: Octet string dump ends. 2010-08-12 21:09:20 [8276] [9] ERROR: HTTP[TMOBILE]: Message not accepted. 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: creating DLR message 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: DLR = 725d4049 2010-08-12 21:09:20 [8276] [17] DEBUG: send_msg: sending msg to boxc: ESME1 2010-08-12 21:09:20 [8276] [17] DEBUG: boxc_sender: sent message to 127.0.0.1 2010-08-12 21:09:28 [8276] [11] DEBUG: Dumping 1 messages to store 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Creating HTTPClient for `89.240.195.169'. 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Created HTTPClient area 0x81b8d40. 2010-08-12 21:09:29 [8276] [3] DEBUG: sql: SELECT count(*) FROM `dlr` 2010-08-12 21:09:29 [8276] [3] DEBUG: column=count(*) buffer_type=8 max_length=0 length=21 2010-08-12 21:09:29 [8276] [3] DEBUG: HTTP: Resetting HTTPClient for `89.240.195.169'. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 6f 6b 0a lainok. 2010-08-12 21:06:13 [8085] [16] DEBUG: Octet string dump ends. 2010-08-12 21:06:25 [8085] [11] DEBUG: Dumping 0 messages to store
Re: no dlr on status-success
You should ask this to your esme or smpp client |-| 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, Aug 12, 2010 at 2:45 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: how-to set dlr-mask in smpp client ? Date: Thu, 12 Aug 2010 14:42:21 -0500 Subject: Re: no dlr on status-success From: cornejo.alv...@gmail.com To: imran.agha...@hotmail.co.uk CC: users@kannel.org check dlr type you ask for on each message. use 31 to get all dlrs available Read manual for details |-| 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, Aug 12, 2010 at 2:31 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: kannel generates DLR only if it catches failure. I need to have DLR on success sending as well. What is wrong ? 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 3a 20 74 69 6d 65 6f 75 74 3d 31 35 2c 20 6d e: timeout=15, m 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:09:20 [8276] [18] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 66 61 69 6c 75 72 65 0a lainfailure. 2010-08-12 21:09:20 [8276] [18] DEBUG: Octet string dump ends. 2010-08-12 21:09:20 [8276] [9] ERROR: HTTP[TMOBILE]: Message not accepted. 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: creating DLR message 2010-08-12 21:09:20 [8276] [9] DEBUG: SMSC[TMOBILE]: DLR = 725d4049 2010-08-12 21:09:20 [8276] [17] DEBUG: send_msg: sending msg to boxc: ESME1 2010-08-12 21:09:20 [8276] [17] DEBUG: boxc_sender: sent message to 127.0.0.1 2010-08-12 21:09:28 [8276] [11] DEBUG: Dumping 1 messages to store 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Creating HTTPClient for `89.240.195.169'. 2010-08-12 21:09:29 [8276] [2] DEBUG: HTTP: Created HTTPClient area 0x81b8d40. 2010-08-12 21:09:29 [8276] [3] DEBUG: sql: SELECT count(*) FROM `dlr` 2010-08-12 21:09:29 [8276] [3] DEBUG: column=count(*) buffer_type=8 max_length=0 length=21 2010-08-12 21:09:29 [8276] [3] DEBUG: HTTP: Resetting HTTPClient for `89.240.195.169'. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 ax=100..Connecti 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e Transfer-Encodin 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 g: chunked..Cont 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 ent-Type: text/p 2010-08-12 21:06:13 [8085] [16] DEBUG: data: 6c 61 69 6e 0d 0a 0d 0a 6f 6b 0a lainok. 2010-08-12 21:06:13 [8085] [16] DEBUG: Octet string dump ends. 2010-08-12 21:06:25 [8085] [11] DEBUG: Dumping 0 messages to store
RE: Kannel performance benchmarking
Are you using sqlbox for DLR storage? And do not relay to smsbox? Then this could very well be because of un-acked messages in the bearerbox queue. There’s a patch available for that. == Rene From: sangprabv [mailto:sangpr...@gmail.com] Sent: Tuesday, 10 August, 2010 23:21 To: Alejandro Guerrieri Cc: Rene Kluwen; brett skinner; Users Subject: Re: Kannel performance benchmarking Currently I apply bearerbox-sqlbox-smsbox and use mysql as my dlr engine. On Delll R710 Quadcore 2.2 Intel Xeon 16GB RAM it usually reduce to 5GB available memory in just 6 days and must be restarted to gain more memory. The server only used by Kannel. My daily traffics for that server is only 800 thousands MT/day. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 10, 2010, at 10:53 PM, Alejandro Guerrieri wrote: Are you completely _sure_ that it's held by Kannel and not the underlying OS? Linux doesn't free unused memory unless needed by other processes. Also, if you have in-memory DLR's or a huge retry queue, it could consume lots of memory. Unless you get OOM errors, I wouldn't be concerned by the amount of memory being used. Regards, Alex On Tue, Aug 10, 2010 at 5:26 PM, sangprabv sangpr...@gmail.com wrote: Regarding this performance benchmarking. I still got memory problem. Kannel fails to release buffered or cached memory. Does anybody has tips to avoid this problem? Thanks. sangprabv sangpr...@gmail.com http://www.petitiononline.com/froyo/ On Aug 10, 2010, at 10:12 PM, Rene Kluwen wrote: Why don’t you try it on your own system. Test with a MyIsam table and with InnoDB. It will be easy to determine which one works faster for you. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of brett skinner Sent: Tuesday, 10 August, 2010 11:56 To: Alejandro Guerrieri Cc: Users Subject: Re: Kannel performance benchmarking Thanks for your feedback. Guess it is the age old tao of computer science. Space vs Time, always space vs time. :) Regards, On Tue, Aug 10, 2010 at 11:52 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Oh yes, I read that blog quite frequently :) There's a lot of stuff to say about optimizing InnoDB, but it's definitely off-topic here and wouldn't fit on a single email of course. We've gone thru a series of optimization cycles on our platform and, with respect to Kannel, ended up using MyIsam for DLR's. We don't have any locking issues, the only detail is we need to be careful when expiring old entries to do it in small batches and not on peak hours. For the rest of our applications, except for small and mostly read-only tables, we use InnoDB and while seems slower when you do a couple of requests, it's a _lot_ faster if you are under heavy traffic because of the row locking instead of table locking. Anyway, there's no a one-size-fits-all solution and if you really need to sustain heavy traffic I'd recommend you do a lot of profiling and find the bottlenecks either on the DB and the rest of your platform. Regards, Alex On Tue, Aug 10, 2010 at 11:15 AM, brett skinner tatty.dishcl...@gmail.com wrote: Hi Alex That is why I have chosen Innodb for the tables we use for the application that surround Kannel. MyISAM definitely beat Innodb out the box but Innodb does seem to be better in terms of the issues you have pointed out. The other thing that I have read is that Innodb is incredibly slow with the stock standard configuration. I read through the following blog and followed their advice which increased its performance quite drastically. http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ If you have a moment you can give that a read. Or if you have any other good references please send them a long. I am still rather new to MySql. Thanks :) Regards, On Tue, Aug 10, 2010 at 10:56 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Well, if it weren't for the SELECT COUNT(*) slowness would be my preferred option here as well. Despite seeming slower at first (specially on small tables) InnoDB performs row-locking on index-based queries, which indeed improves things quite a bit on big tables with lots of simultaneous reads and writes. Regards, Alex 2010/8/10 Nikos Balkanas nbalka...@gmail.com Indeed. InnoDB is much slower overall compared to MyIsam. However, it has its use for some jobs (archive_logs, hot backups, etc.) The figures I gave were sustained rates simulated with a 1-SMS batch. Count was sufficient to reach sustainability and reproducibility, yet short enough to get results fast. When i submitted fakesmpp, I also released similar data from a 64bit Solaris 10 server. BR, Nikos - Original Message - From: alejandro.guerri...@gmail.com To: brett skinner ; users-boun...@kannel.org ; us...@kannel.