RE: telcel mexico
Why don't you ask them instead of us? I know it's not cheap, for sure. And they have heavy requirements, like the need of an advertisement budget from your side. This was one or two years ago. Not sure what they ask for now. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Zhnupy Gonzalez Sent: Tuesday, 10 August, 2010 09:35 To: users@kannel.org Subject: telcel mexico Hello community, I'm researching about setting up a smpp connection with telcel (mexico), can anyone provide with an approximate figure ($). regards
RE: sqlbox problem with utf-8 coding
Your solution exists already. Update sqlbox to latest svn (later than 2010-08-02). The quote bug is solved in that version. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adams0 Sent: Tuesday, 10 August, 2010 16:56 To: users@kannel.org Subject: sqlbox problem with utf-8 coding Hello All, I am using kannel-1.4.3 with sqlbox-0.7.2. Sqlbox works fine except that I encounter a coding pb when sending char like ', I receive /' on my cell phone. I know this is known pb and looked for solutions online, but no success. ex: I send an http request with text = d'utilesssql. If I check my logs I have: access_smsbox_server.log: 2010-08-09 15:09:22 send-SMS request added - sender:tester:parameter 127.0.0.1 target: request: 'd'utilesssql' sqlbox: | sql_id | momt | sender| receiver| udhdata | msgdata | time | smsc_id | service | account | id | sms_type | mclass | mwi | coding | compress | validity | deferred | dlr_mask | dlr_url | pid | alt_dcs | rpi | charset | boxc_id | binfo | +-+--+---+-+-+--+--- -+---+-+-+--+--++--+ +--+--+--+--+-+--+-+ --+-+-+---+ | 3422777 | MT | parameter | xx | NULL| d'utilesssql | 1281359362 | group_all | tester | NULL| NULL |2 | NULL | NULL | 0 | NULL | NULL | NULL | NULL | NULL| NULL |NULL | NULL | NULL | NULL| NULL | access_server.log: 2010-08-09 15:59:11 Sent SMS [SMSC:xx] [SVC:tester] [ACT:] [BINF:] [FID:] [META:] [from:parameter] [to:xxx] [flags:-1:0:-1:-1:-1] [msg:14:d./'utilesssql] [udh:0:] I 've set everything in utf-8 from kannel (.conf files) to mysql and linux (env). Magic quotes on mysql are off too. Please help meon that subject. I think the solution would go through php or C dev but I am not really a specialist on these points. Rgds Adams -- View this message in context: http://old.nabble.com/sqlbox-problem-with-utf-8-coding-tp29397830p29397830.h tml Sent from the Kannel - User mailing list archive at Nabble.com.
RE: Kannel performance benchmarking
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. us...@kannel. Org Sent: Tuesday, August 10, 2010 11:21 AM Subject: Re: Kannel performance benchmarking Brett, The DLR engine uses SELECT COUNT(*) from the admin interface, which is painfully slow on InnoDB for moderately big tables. While InnoDB would theoretically be the best option, MyIsam performs quite better in this case. Regards, Alex BlackBerry de movistar, allν donde estιs estα tu oficin@ From: brett skinner tatty.dishcl...@gmail.com Sender: users-boun...@kannel.org Date: Tue, 10 Aug 2010 10:13:54 +0200 To: Usersusers@kannel.org Subject: Re: Kannel performance benchmarking Hi Nikos Thanks for the extra information. What was the motivation for using MyISAM? My reading lead me to believe that MyISAM was not that well suited for interleaved reads and writes due to table locking which is why I opted to use InnoDB. From what I assumed about how Kannel worked is that reading/writing to the DLR table would be interleaved. I may be quite badly mistaken and might perhaps need to switch to MyISAM as a few others have recommended. In your opinion what should Kannel be able to handle sustained (assuming normal business hours)? And what should Kannel be able to burst to? I know some of these questions are a bit like how long is a piece of string but I really do value all and any of your feedback. Regards, 2010/8/10 Nikos Balkanas nbalka...@gmail.com Try valgrind in linux. BR, Nikos - Original Message - From: sangprabv sangpr...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: brett skinner tatty.dishcl...@gmail.com; kannel users
RE: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3
Brian, Use 3.3.3.3;127.0.0.1 instead of a comma. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Brian Rathman Sent: Tuesday, 10 August, 2010 16:45 To: users@kannel.org Subject: Re: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 Alejandro, Success!!! When I added the FQDN and the trailing forward slash, it seems to be working now with the Stable 1.4.3 version. I had tried the FQDN yesterday without success so I believe that the trailing forward slash may be the key (Just FYI for anyone else frantically googling like I was yesterday). One final semi related question: What is the format of the IP list for the connect-allow-ip parameter? I had 3.3.3.3,127.0.0.1 but it told me that 3.3.3.3 was denied. When I changed it to just 3.3.3.3 it works, but I would like to add multiple addresses into that list. Thanks to everyone who responded. I really appreciate all of your help. Brian Original Message Subject: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Brian Rathman br...@telrite.com Cc: users@kannel.org Date: Tuesday, August 10, 2010 10:29:38 AM Ah, or you could use: send-url = http://smstest.laborbridge.com http://smstest.laborbridge.com:9001/ Tthat should work (I think it gets confused with the IP + port, should work fine with a regular fqdn). Regards, Alex On Tue, Aug 10, 2010 at 4:20 PM, Brian Rathman br...@telrite.com mailto:br...@telrite.com wrote: Here is my /etc/hosts file: 127.0.0.1 localhost 10.20.10.6 Amstel.telrite.com http://Amstel.telrite.com Amstel 2.2.2.2smstest.laborbridge.com http://smstest.laborbridge.com I can ping and resolve all of these fine. 2.2.2.2 is not the actual IP address obviously, but I believe the problem is that function in protected.c is trying to resolve *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 instead of just 2.2.2.2 Original Message Subject: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Abdul Basit basit.e...@gmail.com mailto:basit.e...@gmail.com To: Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com Cc: Brian Rathman br...@telrite.com mailto:br...@telrite.com, users@kannel.org mailto:users@kannel.org Date: Tuesday, August 10, 2010 6:27:27 AM Nikos is right. I get this problem resolved by adding line in /etc/hosts 127.0.0.1 localhost.localdomain localhost yourhostnamehere or add line 2.2.2.2 yourhostname 2010/8/10 Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com Hi, Always use users list for such questions. Add your server to /etc/hosts. I don't know to which variable name you are referring to. Try: telnet 9201 from a shell to see if you have connectivity to HTTP smsc. That address 2.2.2.2 in your send-url looks mighty suspicious. BR, Nikos - Original Message - From: Brian Rathman br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com To: de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org Sent: Tuesday, August 10, 2010 12:49 AM Subject: Problem with gw_gethostbyname in Stable version 1.4.3 Hi, I am attempting to connect two Kannel servers at two different locations via the smsc group using smsc = http. I have tried this on three different server and I am getting the same bevahior on all three (system 1: debian 5.0.5, system 2: Ubuntu 9.04, system 3: Ubuntu 10.04). In all three cases, when I send a message via the sendsms-user group, I get the following error: 2010-08-09 10:13:47 [9636] [17] ERROR: Error while gw_gethostbyname occurs. 2010-08-09 10:13:47 [9636] [17] ERROR: System error 3: No such process 2010-08-09 10:13:47 [9636] [17] ERROR: gethostbyname failed 2010-08-09 10:13:47 [9636] [17] ERROR: error connecting to server `*MailScanner warning: numerical links are often malicious:* *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 *MailScanner warning: numerical links are often malicious:*
RE: Problem with spool store - missing sms_type
Where exactly in the http admin page do you see that msg_type is empty? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 18:21 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, I don't know for sure if this is openSMPPBOX issue or not but if messages are submitted via openSMPPBOX the msg_type is empty and this makes that Bearerbox crashes during restart when we have some messages queued in the spool. When submitting messages by SMSBOX (CGI push), the problem didn't exists - msg_type is set correctly. I can check if msg_type exists or not using http admin store-status command (when there are some queued messages). Messages submitted via openSMPPBOX have empty fields in Type column. Rene, I can provide more details with the issue, but I can't see in logs any revelant information - only PANICs during start of Bearerbox. Only at http admin page I can see that msg_type is empty. But if you need please let me know what information would be helpful. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (17:01:52) można przeczytać: In the smppbox code, I don’t see anywhere where a msg is created without msg_type. We use the msg_create() function and dlr_find functions to create messages. If this is an smppbox issue, I would like to get more information about it. == Rene From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Monday, 09 August, 2010 23:27 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Problem with spool store - missing sms_type Exactly. The point is: during normal operation, kannel of course it doesn't panic and will accept messages without a valid sms type. However, they're kept on the store with an invalid format, so if you shutdown the service with messages pending on the store, and just one of them happens to have an invalid sms type, the service panics at startup. This is less than desirable of course, specially when you have a ton of completely valid messages and just a bunch of invalid. IMHO, kannel should reject messages with invalid sms type during regular operation (with a WARN logged). It _shouldn't_ try to fix them. That would take care of the problem in a proper way. Apart from that, a way to discard invalid messages at bootup without panicking would also be desirable Regards, Alex On Mon, Aug 9, 2010 at 11:11 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Yes, open smppbox should correctly fill in the correct type. If it doesn't it is an error. But at the same time: If one particular message has an incorrent sms_type. Why panic? It can just discard the message and go on with normal operation. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 09 August, 2010 22:34 To: Alejandro Guerrieri Cc: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, The behaviour in store is the only correct one. sms_type could be an MO (0), MT (2) or DLR (3). Different logic and routing is applied in each case. During startup it doesn't know which one is and correctly panics. During operation, maybe bb can tell more, but I am not sure it is always safe to do so. It has to discriminate between an MT, a reroute_dlr (report_mt) and an mt_reply (from an MO). Or between an MO and a report_mo. Anyway, it should at least be consistent, and it should check for sms_type and if missing and absolutely sure it knows what it is, fill it in, else discard with an error. This is an opensmppbox issue. It should set the correct sms_type according to gw/msg.h. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Nikos Balkanas Cc: Tomasz ; users@kannel.org Sent: Monday, August 09, 2010 9:12 PM Subject: Re: Problem with spool store - missing sms_type Yep, smsbox doesn't. Sqlbox, if you're not careful, does. The problem is with the way messages are checked. When messages are received from a box, they go to memory first _and_ the store later. In that case, bearerbox doesn't perform any sanity checks on the sms type field. Now, when messages are retrieved from the store during boot, a sanity check is performed and the whole system panics if it encounter a single invalid message. I think two things would be needed here: 1. Perform the same sanity checks when getting messages from boxes and reject anything that would cause a problem when retrieved from the store. 2. Add an option to boot kannel discarding those corrupted messages. A few hundred corrupted messages in the store could mean a nightmare when trying to restart a crashed server. Regards, Alex 2010/8/9 Nikos Balkanas nbalka...@gmail.com Hi, I can verify to the thousands of kannel users all over the wold, that smsbox doesn't
RE: dlr smppbox
You will get a deliver_sm for every message that you request a delivery report for. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: Tuesday, 10 August, 2010 19:12 To: users@kannel.org Subject: dlr smppbox Dear all, What happens if I will request Delivery report from smppbox ? Thanks
RE: SMSBox Routing Question
For inter-smsc routing, check the reroute-receiver option of group = smsc. =+= Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Brian Rathman Sent: Tuesday, 10 August, 2010 22:01 To: users@kannel.org Subject: SMSBox Routing Question Ok, I have proceed a little further and I am now confused on the routing setup. I'm having trouble understanding exactly how the smsbox-route groups work along with the smsbox group. I currently have three SMSCs configured. Two are to my upstream carrier and they are smpp connections: # SMSC 1: group = smsc smsc = smpp smsc-id = ATTSTC host = 20.10.5.100 port = 9000 receive-port = 9000 smsc-username = TE smsc-password = TE system-type = VMA address-range = reconnect-delay = 50 msg-id-type = 1 # SMSC 2: group = smsc smsc = smpp smsc-id = ATTVTC host = 20.10.6.100 port = 9000 receive-port = 9000 smsc-username = TE smsc-password = TE system-type = VMA address-range = reconnect-delay = 50 msg-id-type = 1 I am able to bind to both of these and send and receive without any problems. The third smsc is my customer running Kannel at another location: # SMSC 3: group = smsc smsc = http system-type = kannel smsc-id = LBSMS1 smsc-username = TE smsc-password = TE port = 9001 send-url = http://smstest.lb.com:9001/; connect-allow-ip = 20.8.8.10;127.0.0.1 I would like to route anything that is coming TO either of two short codes (ie, and 1112) to SMSC #3. So basically anything inbound from my upstream provider SMSC #1 and SMSC #2 and also anything from my local sendsms-user: group = sendsms-user username = ku password = x concatenation= true max-messages = 10 that is destined for or 1112 will be sent to SMSC3. Anything else needs to be sent to SMSC #1 first and then if that is unavailable send to SMSC #2. Any help on this would be greatly appreciated. Thanks, Brian
RE: Problem with spool store - missing sms_type
I see in gw/msg.h: enum { mo = 0, mt_reply = 1, mt_push = 2, report_mo = 3, report_mt = 4 }; Are these the message types? Because msg_create() uses the value sms in gw/msg-decl.h. Can somebody shine a light on this? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 22:26 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, I added following line after 1485 line to smppbox.c (is case submit_sm section): msg-sms.sms_type = mt_push; to check if this time msg_type will be filled and it seems to be. Bearerbox now see MT_PUSH as Type in admin page. But I don't know if submit_sm is used only to send MT messages so this is not final clear solution I think. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (21:49:05) można przeczytać: Looking into the msg.c source code (function msg_pack()) it is not even possible for smppbox to send a message with an invalid msg-type to bearerbox. I wonder what might be wrong. == Rene -Original Message- From: Tomasz [mailto:ad...@impexrur.pl] Sent: Tuesday, 10 August, 2010 20:22 To: Rene Kluwen Subject: Re: Problem with spool store - missing sms_type When I call http://domain.pl:13000/store-status I can see the table of all queued messages (if any). And all those messages which were submitted via openSMPPBOX have Type field empty there. However all messages submitted by SMSBOX have this value filled correctly. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (19:06:21) można przeczytać: Where exactly in the http admin page do you see that msg_type is empty? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 18:21 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, I don't know for sure if this is openSMPPBOX issue or not but if messages are submitted via openSMPPBOX the msg_type is empty and this makes that Bearerbox crashes during restart when we have some messages queued in the spool. When submitting messages by SMSBOX (CGI push), the problem didn't exists - msg_type is set correctly. I can check if msg_type exists or not using http admin store-status command (when there are some queued messages). Messages submitted via openSMPPBOX have empty fields in Type column. Rene, I can provide more details with the issue, but I can't see in logs any revelant information - only PANICs during start of Bearerbox. Only at http admin page I can see that msg_type is empty. But if you need please let me know what information would be helpful. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (17:01:52) można przeczytać: In the smppbox code, I don’t see anywhere where a msg is created without msg_type. We use the msg_create() function and dlr_find functions to create messages. If this is an smppbox issue, I would like to get more information about it. == Rene From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Monday, 09 August, 2010 23:27 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Problem with spool store - missing sms_type Exactly. The point is: during normal operation, kannel of course it doesn't panic and will accept messages without a valid sms type. However, they're kept on the store with an invalid format, so if you shutdown the service with messages pending on the store, and just one of them happens to have an invalid sms type, the service panics at startup. This is less than desirable of course, specially when you have a ton of completely valid messages and just a bunch of invalid. IMHO, kannel should reject messages with invalid sms type during regular operation (with a WARN logged). It _shouldn't_ try to fix them. That would take care of the problem in a proper way. Apart from that, a way to discard invalid messages at bootup without panicking would also be desirable Regards, Alex On Mon, Aug 9, 2010 at 11:11 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Yes, open smppbox should correctly fill in the correct type. If it doesn't it is an error. But at the same time: If one particular message has an incorrent sms_type. Why panic? It can just discard the message and go on with normal operation. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 09 August, 2010 22:34 To: Alejandro Guerrieri Cc: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, The behaviour in store is the only correct one. sms_type could be an MO (0), MT (2) or DLR (3). Different logic and routing is applied in each case. During startup it doesn't know which one is and correctly panics. During operation
RE: dlr smppbox
1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Tuesday, 10 August, 2010 22:47 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Tue, 10 Aug 2010 20:02:59 +0200 You will get a deliver_sm for every message that you request a delivery report for. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: Tuesday, 10 August, 2010 19:12 To: users@kannel.org Subject: dlr smppbox Dear all, What happens if I will request Delivery report from smppbox ? Thanks
RE: Kannel performance benchmarking
It would be interesting to use valgrind over a period over those 6 days. On all the boxes (bearerbox-sqlbox-smsbox). == 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. us...@kannel. Org Sent: Tuesday, August 10, 2010 11:21 AM Subject: Re
RE: dlr smppbox
Could you also post your smppbox.log? From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: Wednesday, 11 August, 2010 12:14 To: alejandro.guerri...@gmail.com; users@kannel.org Subject: RE: dlr smppbox I read it, it does not matter what is in log file, Not found, ok or failure. My question was about Delivery report not http smsc response. At the bottom of log file you can see SMSC[EXTERNAL]: creating DLR message So this DLR messages inserted to dlr table but esme doesn't receive it. I need to find why esme didn't got deliver_sm ? Thanks _ Date: Wed, 11 Aug 2010 11:34:55 +0200 Subject: Re: dlr smppbox From: alejandro.guerri...@gmail.com To: imran.agha...@hotmail.co.uk CC: rene.klu...@chimit.nl; users@kannel.org Did you _really_ read the log entry? It shows 404 Not Found and a reference to www.azeriguide.co.uk, does that ring any bells? Regards, Alex On Wed, Aug 11, 2010 at 11:17 AM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 !DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC -//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a .htmlhead. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 title404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound/title./h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e eadbody.h1N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found/h1.p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 ./p.hr.addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80/ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress./body/ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: SMPP 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to 127.0.0.1 _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene From: Imran Aghayev [mailto:imran.agha...@hotmail.co.uk] Sent: Tuesday, 10 August, 2010 22:47 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk; users@kannel.org Subject: RE: dlr
RE: Problem with spool store - missing sms_type
You are right! I moved the line further upward in the sources. I knew that line (with report_mo) had to be somewhere. But couldn't find it so fast. Heh... == Rene -Original Message- From: Tomasz Konopka [mailto:ad...@impexrur.pl] Sent: Wednesday, 11 August, 2010 14:24 To: Rene Kluwen Cc: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, Thanks for solving the problem. However I've found in the code few lines earlier in *pdu_to_msg: if (pdu-u.submit_sm.esm_class (0x04|0x08)) { msg-sms.sms_type = report_mo; } and then there is: msg-sms.sms_type = mt_push; which will finally always rewrite a value of msg-sms.sms_type to mt_push. Shouldn't this line be set before? Tomasz W Twoim liście datowanym 11 sierpnia 2010 (14:10:20) można przeczytać: I submitted the MT_PUSH fix to svn trunk already. You just need to svn update and you are all set. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 22:26 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi Rene, I added following line after 1485 line to smppbox.c (is case submit_sm section): msg-sms.sms_type = mt_push; to check if this time msg_type will be filled and it seems to be. Bearerbox now see MT_PUSH as Type in admin page. But I don't know if submit_sm is used only to send MT messages so this is not final clear solution I think. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (21:49:05) można przeczytać: Looking into the msg.c source code (function msg_pack()) it is not even possible for smppbox to send a message with an invalid msg-type to bearerbox. I wonder what might be wrong. == Rene -Original Message- From: Tomasz [mailto:ad...@impexrur.pl] Sent: Tuesday, 10 August, 2010 20:22 To: Rene Kluwen Subject: Re: Problem with spool store - missing sms_type When I call http://domain.pl:13000/store-status I can see the table of all queued messages (if any). And all those messages which were submitted via openSMPPBOX have Type field empty there. However all messages submitted by SMSBOX have this value filled correctly. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (19:06:21) można przeczytać: Where exactly in the http admin page do you see that msg_type is empty? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 10 August, 2010 18:21 To: users@kannel.org Subject: Re: Problem with spool store - missing sms_type Hi, I don't know for sure if this is openSMPPBOX issue or not but if messages are submitted via openSMPPBOX the msg_type is empty and this makes that Bearerbox crashes during restart when we have some messages queued in the spool. When submitting messages by SMSBOX (CGI push), the problem didn't exists - msg_type is set correctly. I can check if msg_type exists or not using http admin store-status command (when there are some queued messages). Messages submitted via openSMPPBOX have empty fields in Type column. Rene, I can provide more details with the issue, but I can't see in logs any revelant information - only PANICs during start of Bearerbox. Only at http admin page I can see that msg_type is empty. But if you need please let me know what information would be helpful. Tomasz W Twoim liście datowanym 10 sierpnia 2010 (17:01:52) można przeczytać: In the smppbox code, I don’t see anywhere where a msg is created without msg_type. We use the msg_create() function and dlr_find functions to create messages. If this is an smppbox issue, I would like to get more information about it. == Rene From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Monday, 09 August, 2010 23:27 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Problem with spool store - missing sms_type Exactly. The point is: during normal operation, kannel of course it doesn't panic and will accept messages without a valid sms type. However, they're kept on the store with an invalid format, so if you shutdown the service with messages pending on the store, and just one of them happens to have an invalid sms type, the service panics at startup. This is less than desirable of course, specially when you have a ton of completely valid messages and just a bunch of invalid. IMHO, kannel should reject messages with invalid sms type during regular operation (with a WARN logged). It _shouldn't_ try to fix them. That would take care of the problem in a proper way. Apart from that, a way to discard invalid messages at bootup without panicking would also be desirable Regards, Alex On Mon, Aug 9, 2010 at 11:11 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Yes, open smppbox should correctly fill in the correct type. If it doesn't
GSM characters
Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene
RE: GSM characters
Thanks for testing. The question marks should be Greek characters. I am implementing an old Kannel version now, just because of this. Patched sqlbox so that it works without meta-data and I do get the proper characters on my hand set when I insert that string into send_sms. == Rene From: Emmanuel CHANSON [mailto:emmanuelchan...@gmail.com] Sent: Wednesday, 11 August, 2010 23:40 To: Rene Kluwen Cc: users@kannel.org Subject: Re: GSM characters FYI, I tested your command with lastest Kannel SVN and I got: @£$¥?_?^{}\[~]|???!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ?? §¿abcdefghijklmnopqrstuvwxyz?ü Note: I have in my case cgi-script - smsbox - sqlbox - bearerbox Regards, Emmanuel 2010/8/11 Rene Kluwen rene.klu...@chimit.nl The weird thing is: This string works in Kannel 1.4.1. Kannel 1.4.3 and further do some kind of character set processing. Does that mean that greek characters in these versions cannot be sent anymore? Requirement is to have gsm encoding in the sendsms url. How do I do that? == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Rene Kluwen Sent: Wednesday, 11 August, 2010 18:02 To: users@kannel.org Subject: GSM characters Suppose I send the following text to Kannel’s sendsms url (the complete GSM character set): text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0 Then I should get the following text on my phone: @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!#¤%'()*+,-./0123456789:;=?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà However, I get a different display string. The Greek characters are substituted for question marks. Is this my phone that is acting up? Maybe somebody can test this string for me? My upstream connection is SMPP that accepts the GSM character set. So alt-charset is not needed. == Rene -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
RE: 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: 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: 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
Re: smppbox bulk sms: slow reception from a client
Onlly 10 sms is nothing of course. I wouldn't even call it bulk sms. Is there anyone else with the same problems? Because if so, it seems a serious enough issue to look into. -- Rene Dear users, Has anybody tried to send bulk sms from a client via smpp to smppbox? It seems that smppbox or bearerbox accepts bulk sms extremely slowly. My client is not able to inject bulk sms to my smppbox (10 sms or so). Kannel keeps stalling while receiving the messages. I am using a smppbox revision 43 that is connected to a gateway revision 4837. Has anybody come up with such a problem? Any help is appreciated ;). Many thanks, Cheers, Davit
Re: smppbox bulk sms: slow reception from a client
Onlly 10 sms is nothing of course. I wouldn't even call it bulk sms. Is there anyone else with the same problems? Because if so, it seems a serious enough issue to look into. -- Rene Dear users, Has anybody tried to send bulk sms from a client via smpp to smppbox? It seems that smppbox or bearerbox accepts bulk sms extremely slowly. My client is not able to inject bulk sms to my smppbox (10 sms or so). Kannel keeps stalling while receiving the messages. I am using a smppbox revision 43 that is connected to a gateway revision 4837. Has anybody come up with such a problem? Any help is appreciated ;). Many thanks, Cheers, Davit
FW: Program-ID
Sorry, forgot to copy the list: You can pass the following in your url: http://localhost:13013/cgi-bin/sendsms?...meta-data=%3Fsmpp%3Fprogram-id%3D 1234 See the examples section in the userguide. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Roy Walker Sent: Monday, 16 August, 2010 23:45 To: users@kannel.org Subject: RE: Program-ID You are correct, this is for OpenMarket. Just to make sure I am understanding the example in the documentation... group = smpp-tlv name = program-id tag = 0x2157 type = octetstring length = 5 smsc-id = OpenMarket How do I specify the value for each TLV? Is this passed as program-id=1234 in the URL? Or can I statically set it in the configuration for Kannel? Thanks, Roy -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Juan Nin Sent: Monday, August 16, 2010 12:54 PM To: users@kannel.org Subject: Re: Program-ID Well, I guess Roy is talking about US carriers, where ATT has been using Program-IDs, now T-Mobile started using 3PG a few months ago where they require a Program-ID, and now Verizon is also requiring a Program-ID. Depending on the gateway you're using you may need to specify a Program ID on your MTs (e.g. with OpenMarket), or others abstract you from it (e.g. MX Telecom). But program ids need to be registered with the carriers for your campaigns anyway, which the gateway takes care of it. On the cases where you need to specify a Program ID on your MTs, you just do it via an SMPP Optional Parameter (TLV), using the meta-data parameter as Alex mentioned. Regards, Juan On Mon, Aug 16, 2010 at 1:37 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: At least on SMPP, there's not such a parameter. If you're talking about an optional parameter (TLV), I seriously doubt it's an all major carriers thing (they don't usually agree on that kind of stuff), but probably something the aggregator you're using added to abstract something the carriers he connected to requires. If that's the case, you can easily add support for it by using the latest SVN and configuring meta-data to add the optional parameter. Check the user guide for further information. Regards, Alex On Mon, Aug 16, 2010 at 6:02 PM, Roy Walker rwal...@sensorlogic.com wrote: Looks like all the major carriers are requiring a program-id to be sent on each SMPP message. Is this possible in the current devel or stable version of Kannel? Currently running 1.4.3. If not, is there plans to add it? Thanks, Roy -- Juan Nin 3Cinteractive / Mobilizing Great Brands http://www.3cinteractive.com
RE: Cannot receive sms in kannel and playsms
Not being able to receive messages from smsc = at usually is because you need AT+CNMI=... in your init-string. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of mwamba Sent: Tuesday, 17 August, 2010 13:24 To: users@kannel.org Subject: Cannot receive sms in kannel and playsms Hi experts, I can only send sms both via kannel and playsms but I cannot receive any sms. below is my configuration: */etc/kannel/conf 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 = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 access-log = /var/log/kannel/access.log #store-file = /var/log/kannel/kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #THIS DEFINES EXTERNAL DLR STORAGE dlr-storage = mysql #THIS DEFINES mysql connection parameters to playsms database group = mysql-connection id = mydlr host = localhost username = root password = database = playsms max-connections = 1 #THIS DEFINES THE TABLE dlr PARAMETERS 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 #group = smsc #smsc = fake #smsc-id = FAKE #port = 1 #connect-allow-ip = 127.0.0.1 #Duncan 's smsc configs of the sony ericsson c702 as the modem group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = 3543870236903270 smsc-id = mtech log-level = 0 sim-buffering = true #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 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 group = sendsms-user username = tester password = foobar concatenation = true max-messages = 3 #user-deny-ip = #user-allow-ip = #- # SERVICES group = sms-service keyword = default 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 # 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 = default catch-all = true exec = /usr/local/bin/kannel_incoming %t %q %a # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. #max-messages=0 ** In playsms kannel settings. Kannel incoming path is set as /usr/local/bin/kannel_incoming *below is my /usr/kannel/kannel_incoming script* /usr/kannel/kannel_incoming #!/bin/bash # change this if your kannel's incoming path in other directory KANNEL_PATH=/usr/local KANNEL_FILE=`mktemp -q $KANNEL_PATH/cache/smsd/ERR.in.XX` touch $KANNEL_FILE chmod 666 $KANNEL_FILE # exec = /usr/local/bin/kannel_incoming %t %q %a # $1 : %t # $2 : %q * I cannot see any log (/usr/loca/cache/smsd/) in this location despite it having permission 777. the smsc sim-buferring=true. how can i be able to resolve this? Kind regards, Duncan -- View this message in context: http://old.nabble.com/Cannot-receive-sms-in-kannel-and-playsms-tp29449251p29 449251.html Sent from the Kannel - User mailing list archive at Nabble.com.
RE: UNABLE TO RECEIVE DLR FROM KANNEL SMPP
See this post from Nikos. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 16 August, 2010 22:55 To: Anshu Sah; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hi, Please post your sendsms URL and detailed bb logs of an attempt to send an MT. BR, Nikos - Original Message - From: Anshu Sah To: users@kannel.org Sent: Monday, August 16, 2010 10:39 PM Subject: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello I am unable to receive DLR in Kannel using SMPP Connectivity., Please guide. If i am doing something wrong, Regards Anshu Configuration is below group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /projects/kannel/logs/core.log log-level = 0 #box-deny-ip = *.*.*.* #box-allow-ip = 127.0.0.1 dlr-storage = mysql access-log = /projects/kannel/logs/access.log #store-file = /projects/kannel/logs/storefile.log #dlr-storage = internal group=smsc smsc=smpp smsc-id=x host = xx port = 2345 receive-port = 2345 log-file = /projects/kannel/logs/smsc.log log-level = 0 smsc-username = x smsc-password = xxx msg-id-type = 0x01 transceiver-mode=1 system-type = 'VMA' #service-type = 'test' interface-version = 34 address-range = '' #msg-id-type = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 #--- mysql connection group = mysql-connection id = mydlr host = localhost username = xx password = xxx database = kannel max-connections = 1 # DLR table structure group = dlr-db id = mydlr table = kannel_dlr 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_id LOGS [r...@splash gw]# ./bearerbox /projects/kannel/configs/x.inc 2010-08-16 13:15:49 [32566] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-08-16 13:15:49 [32566] [0] INFO: MYSQL: Connected to server at localhost. 2010-08-16 13:15:49 [32566] [0] INFO: MYSQL: server version 5.0.77, client version 5.0.77. 2010-08-16 13:15:49 [32566] [0] INFO: DLR using storage type: mysql 2010-08-16 13:15:49 [32566] [0] DEBUG: Kannel bearerbox version `1.4.3'. Build `Aug 15 2010 18:31:17', compiler `4.1.2 20080704 (Red Hat 4.1.2-48)'. System Linux, release 2.6.18-194.8.1.el5.028stab070.2, version #1 SMP Tue Jul 6 14:55:39 MSD 2010, machine i686. Hostname x. Libxml version 2.6.26. Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Compiled with MySQL 5.0.77, using MySQL 5.0.77. Using native malloc. 2010-08-16 13:15:49 [32566] [0] INFO: Added logfile `/projects/kannel/logs/core.log' with level `0'. 2010-08-16 13:15:49 [32566] [0] INFO: Started access logfile `/projects/kannel/logs/access.log'. 2010-08-16 13:15:49 [32566] [0] INFO: HTTP: Opening server at port 13000. 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2010-08-16 13:15:49 [32566] [0] DEBUG: starting smsbox connection module 2010-08-16 13:15:49 [32566] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2010-08-16 13:15:49 [32566] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-08-16 13:15:49 [32566] [0] INFO: SMS resend retry set to unlimited. 2010-08-16 13:15:49 [32566] [0] DEBUG: smsbox MO concatenated message handling enabled 2010-08-16 13:15:49 [32566] [0] INFO: DLR rerouting for smsc id vFirstDEMO disabled. 2010-08-16 13:15:49 [32566] [0] INFO: Added logfile `/projects/kannel/logs/smsc.log' with level `0'. 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread) 2010-08-16 13:15:49 [32566] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 32566. 2010-08-16 13:15:49 [32566] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 32566. 2010-08-16 13:15:49 [32566] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 32566. 2010-08-16 13:15:49 [32566] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 32566. 2010-08-16 13:15:49 [32566] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 32566. 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 7 (gw/smsc/smsc_smpp.c:io_thread) 2010-08-16 13:15:49 [32566] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router) 2010-08-16 13:15:49 [32566] [0] INFO: 2010-08-16 13:15:49 [32566] [0] INFO: Kannel bearerbox II version 1.4.3 starting
RE: smppbox bulk sms: slow reception from a client
Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING: DLR[internal]: DLR from SMSCESME for DST+37494086408 not found. and in my kannel.log I get this message periodically DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 ERROR: Connection to box 127.0.0.1 broke. EBUG: send_msg: sending msg to boxc: ESME ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe DEBUG: Thread 18 (gw/bb_boxc.c:function) terminates. DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 INFO: Connection closed by the box 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: Thread 17 (gw/bb_boxc.c:boxc_sender) terminates. WARNING: smsbox_list empty! Most of all the error about the Broken pipe alerts me, I don't know what that means but it seems to be serious. I don't know if that can be the reason. My current configuration is as follows: 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 ** 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 = box1 # 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 245.127.0.0.1 client-02 password-02 vma 127.0.0.1 I would really appreciate any help and ideas. I don't know how to tackle this problem ;) Cheers, Davit Date: Sat, 14 Aug 2010 21:14:04 +0200 Subject: Re: smppbox bulk sms: slow reception from a client From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com CC: users@kannel.org Onlly 10 sms is nothing of course. I wouldn't even call it bulk sms. Is there anyone else with the same problems? Because if so, it seems a serious enough issue to look into. --
RE: Problem of messages with same priority
SMS by nature- uses a store-and-forward scheme. Even if Kannel sends messages out in a specific order, it doesnt mean that messages arrive in the same order. If it is important that messages arrive in a specific order, then implement a system that waits for a final dlr state and after that send the next message. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Tuesday, 17 August, 2010 17:39 To: Alejandro Guerrieri Cc: users@kannel.org Subject: Re: Problem of messages with same priority But this is not good because if we already have thousands of messages in our queue then how can is it possible to deliver new incoming message before queued messages. I think it is duty of Kannel to take care of message sequence in the same way as it take care of messages with different priority. Can anyone suggest the solution to solve this problem? I want that Kannel work like FIFO queue. Also tell me if we use sms.time field of message then can we solve this problem? because arrival time of messages having same priority will different. so we can differentiate them with there time. _ From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Alvaro Cornejo cornejo.alv...@gmail.com Cc: adil nazir adil_nazi...@yahoo.com; users@kannel.org Sent: Tue, August 17, 2010 7:26:12 PM Subject: Re: Problem of messages with same priority Yes, and despite Kannel honors order of arrival at first, if messages are queued and retried is hard to tell what the final order would be, specially if a bind or the whole service is restarted. Regards, Alex On Tue, Aug 17, 2010 at 4:03 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Note that is your sms provider/operator smsc who finally takes care of messages. If Kannel send messages in 1,2,3 order to the smsc it doesn't mean they will arrive in that order to your phone. |--- --| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Aug 17, 2010 at 3:11 AM, adil nazir adil_nazi...@yahoo.com wrote: I have tested kannel with messages having same priorities these messages should be treated like FIFO method means which message comes first should be reached first on particular smsc but kannel is treated all messages, having same priorities, equal and deliver them randomly even there arrival time is different why? Can anyone help me in this regard? Any solutions please?
RE: Queue Size from status page
I think you guessed the answer yourself already. You have to add the queue sizes. Queue size in bearerbox is one. Then you have a queue size in smsbox. and one in the smsc driver as well. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of brett skinner Sent: Tuesday, 17 August, 2010 17:32 To: Users Subject: Queue Size from status page Hi I have looked through the user guide for further explanation of the various queue sizes from the status page but I have found none. Please view the attached jpg. I have circled two queue sizes in red. I have been using the top queue size because I was under the impression that this was the queue size for all messages waiting to be sent out by Kannel. The bottom queue size appears to be the only one that moves. In order to test this I had to attach a fake smsc, set the throughput to 1 and bombarded it with messages. Am I correct and there should be a total queue size for Kannel? Or do I have to go through each individual SMSC and add the queue sizes together? Regards,
FW: Problem of messages with same priority
From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Tuesday, 17 August, 2010 18:12 To: 'adil nazir' Cc: 'Alejandro Guerrieri' Subject: RE: Problem of messages with same priority SMS messages carrying a higher priority are sent to the smsc first. After that, they are on their own. == Rene From: adil nazir [mailto:adil_nazi...@yahoo.com] Sent: Tuesday, 17 August, 2010 18:10 To: Rene Kluwen Cc: adil nazir; Alejandro Guerrieri Subject: Re: Problem of messages with same priority yes i know but if kannel can send SMS having high priority before the low priority then it means it has the ability to send SMS in specific order. If SMS –by nature- uses a store-and-forward scheme then how priority works with kannel and why they implement priority queue in kannel drivers. _ From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tue, August 17, 2010 9:02:59 PM Subject: RE: Problem of messages with same priority SMS –by nature- uses a store-and-forward scheme. Even if Kannel sends messages out in a specific order, it doesn’t mean that messages arrive in the same order. If it is important that messages arrive in a specific order, then implement a system that waits for a final dlr state and after that send the next message. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Tuesday, 17 August, 2010 17:39 To: Alejandro Guerrieri Cc: users@kannel.org Subject: Re: Problem of messages with same priority But this is not good because if we already have thousands of messages in our queue then how can is it possible to deliver new incoming message before queued messages. I think it is duty of Kannel to take care of message sequence in the same way as it take care of messages with different priority. Can anyone suggest the solution to solve this problem? I want that Kannel work like FIFO queue. Also tell me if we use sms.time field of message then can we solve this problem? because arrival time of messages having same priority will different. so we can differentiate them with there time. _ From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Alvaro Cornejo cornejo.alv...@gmail.com Cc: adil nazir adil_nazi...@yahoo.com; users@kannel.org Sent: Tue, August 17, 2010 7:26:12 PM Subject: Re: Problem of messages with same priority Yes, and despite Kannel honors order of arrival at first, if messages are queued and retried is hard to tell what the final order would be, specially if a bind or the whole service is restarted. Regards, Alex On Tue, Aug 17, 2010 at 4:03 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Note that is your sms provider/operator smsc who finally takes care of messages. If Kannel send messages in 1,2,3 order to the smsc it doesn't mean they will arrive in that order to your phone. |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Aug 17, 2010 at 3:11 AM, adil nazir adil_nazi...@yahoo.com wrote: I have tested kannel with messages having same priorities these messages should be treated like FIFO method means which message comes first should be reached first on particular smsc but kannel is treated all messages, having same priorities, equal and deliver them randomly even there arrival time is different why? Can anyone help me in this regard? Any solutions please?
RE: Problem of messages with same priority
1. I replied to your message that didn’t have users in CC. That’s why it didn’t get here. 2. What we are trying to make clear to you is that message queuing isn’t a Kannel issue. SMS messages are not guaranteed to arrive within a specific time or order.… and not even guaranteed to arrive at all. == Rene From: adil nazir [mailto:adil_nazi...@yahoo.com] Sent: Tuesday, 17 August, 2010 19:04 To: Rene Kluwen Cc: users@kannel.org Subject: Re: Problem of messages with same priority Please add users@kannel.org in Cc thanks That is why i am saying that if kennel can handle priority messages then why it cant handle message sequence? _ From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com Sent: Tue, August 17, 2010 9:12:10 PM Subject: RE: Problem of messages with same priority SMS messages carrying a higher priority are sent to the smsc first. After that, they are on their own. == Rene From: adil nazir [mailto:adil_nazi...@yahoo.com] Sent: Tuesday, 17 August, 2010 18:10 To: Rene Kluwen Cc: adil nazir; Alejandro Guerrieri Subject: Re: Problem of messages with same priority yes i know but if kannel can send SMS having high priority before the low priority then it means it has the ability to send SMS in specific order. If SMS –by nature- uses a store-and-forward scheme then how priority works with kannel and why they implement priority queue in kannel drivers. _ From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com; Alejandro Guerrieri alejandro.guerri...@gmail.com Cc: users@kannel.org Sent: Tue, August 17, 2010 9:02:59 PM Subject: RE: Problem of messages with same priority SMS –by nature- uses a store-and-forward scheme. Even if Kannel sends messages out in a specific order, it doesn’t mean that messages arrive in the same order. If it is important that messages arrive in a specific order, then implement a system that waits for a final dlr state and after that send the next message. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Tuesday, 17 August, 2010 17:39 To: Alejandro Guerrieri Cc: users@kannel.org Subject: Re: Problem of messages with same priority But this is not good because if we already have thousands of messages in our queue then how can is it possible to deliver new incoming message before queued messages. I think it is duty of Kannel to take care of message sequence in the same way as it take care of messages with different priority. Can anyone suggest the solution to solve this problem? I want that Kannel work like FIFO queue. Also tell me if we use sms.time field of message then can we solve this problem? because arrival time of messages having same priority will different. so we can differentiate them with there time. _ From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Alvaro Cornejo cornejo.alv...@gmail.com Cc: adil nazir adil_nazi...@yahoo.com; users@kannel.org Sent: Tue, August 17, 2010 7:26:12 PM Subject: Re: Problem of messages with same priority Yes, and despite Kannel honors order of arrival at first, if messages are queued and retried is hard to tell what the final order would be, specially if a bind or the whole service is restarted. Regards, Alex On Tue, Aug 17, 2010 at 4:03 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Note that is your sms provider/operator smsc who finally takes care of messages. If Kannel send messages in 1,2,3 order to the smsc it doesn't mean they will arrive in that order to your phone. |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Aug 17, 2010 at 3:11 AM, adil nazir adil_nazi...@yahoo.com wrote: I have tested kannel with messages having same priorities these messages should be treated like FIFO method means which message comes first should be reached first on particular smsc but kannel is treated all messages, having same priorities, equal and deliver them randomly even there arrival time is different why? Can anyone help me in this regard? Any solutions please?
RE: smppbox bulk sms: slow reception from a client
The Kannel version matters only if it differs from the version you compile open smppbox against. Revision 4837 is all right. But also make sure you are running that version and not version 1.4.3 (for instance). But okay. If you run the same version that you compiled. then it should be another issue. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING: DLR[internal]: DLR from SMSCESME for DST+37494086408 not found. and in my kannel.log I get this message periodically DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 ERROR: Connection to box 127.0.0.1 broke. EBUG: send_msg: sending msg to boxc: ESME ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe DEBUG: Thread 18 (gw/bb_boxc.c:function) terminates. DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 INFO: Connection closed by the box 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: Thread 17 (gw/bb_boxc.c:boxc_sender) terminates. WARNING: smsbox_list empty! Most of all the error about the Broken pipe alerts me, I don't know what that means but it seems to be serious. I don't know if that can be the reason. My current configuration is as follows: 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 ** 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 = box1 # the port to listen on
RE: Queue Size from status page
Well. that is exactly why the xml status page was created. So no hard feelings :=). == Rene From: brett skinner [mailto:tatty.dishcl...@gmail.com] Sent: Tuesday, 17 August, 2010 19:27 To: Rene Kluwen Cc: Users Subject: Re: Queue Size from status page Hi Thanks Rene. Yes I have been using the XML page. Mostly because I am lazy and use some 3rd party Java libraries to parse the XML. :) Regards, On Tue, Aug 17, 2010 at 7:16 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Bearerbox passes messages through from smsbox to the smsc driver, handling them in its own queue. The queue size you want is probably the one that your messages get stuck in. In this case the smsc queue. What I advise you is to request the xml status feed from bearerbox. Parse that file. and add all the queue sizes together. You will end up with the figure you probably want to. == Rene From: brett skinner [mailto:tatty.dishcl...@gmail.com] Sent: Tuesday, 17 August, 2010 19:05 To: Rene Kluwen Cc: Users Subject: Re: Queue Size from status page What does the queue size for the bearerbox represent? I thought this was the total in the system and would be the summation of the individual SMSCs? Maybe I should start off with the goal. What we are trying to do is to make sure that we don't give Kannel too much work to do. So we want to be able to back off until the queue size (the number of SMSs it still needs to send on to SMSCs) has fallen to a certain level and then submit again until it reaches an upper level and then back off again. Which queue size should I be using for this? Regards, On Tue, Aug 17, 2010 at 6:05 PM, Rene Kluwen rene.klu...@chimit.nl wrote: I think you guessed the answer yourself already. You have to add the queue sizes. Queue size in bearerbox is one. Then you have a queue size in smsbox. and one in the smsc driver as well. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of brett skinner Sent: Tuesday, 17 August, 2010 17:32 To: Users Subject: Queue Size from status page Hi I have looked through the user guide for further explanation of the various queue sizes from the status page but I have found none. Please view the attached jpg. I have circled two queue sizes in red. I have been using the top queue size because I was under the impression that this was the queue size for all messages waiting to be sent out by Kannel. The bottom queue size appears to be the only one that moves. In order to test this I had to attach a fake smsc, set the throughput to 1 and bombarded it with messages. Am I correct and there should be a total queue size for Kannel? Or do I have to go through each individual SMSC and add the queue sizes together? Regards,
RE: smppbox bulk sms: slow reception from a client
Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING: DLR[internal]: DLR from SMSCESME for DST+37494086408 not found. and in my kannel.log I get this message periodically DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 ERROR: Connection to box 127.0.0.1 broke. EBUG: send_msg: sending msg to boxc: ESME ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe DEBUG: Thread 18 (gw/bb_boxc.c:function) terminates. DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 INFO: Connection closed by the box 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: Thread 17 (gw/bb_boxc.c:boxc_sender) terminates. WARNING: smsbox_list empty! Most of all the error about the Broken pipe alerts me, I don't know what that means but it seems to be serious. I don't know if that can be the reason. My current configuration is as follows: 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 ** 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 = box1 # 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 #
RE: smppbox bulk sms: slow reception from a client
That's an interesting story. Now 5000 msgs is different than just 10. But if it happens with 10 messages at a time, things might be more reproducible. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 17 August, 2010 23:11 To: users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Hi, I've also had similar problem some time ago when I was sending some bulk of 5.000 msgs. There was sometimes Broken pipe error and several problems with some DLRs (PDU unpacking failed). I tried to reproduce this problem but I was not able to get those errors anymore, it was happening one time when there was a huge traffic. Tomasz. W Twoim liście datowanym 17 sierpnia 2010 (17:09:57) można przeczytać: Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING: DLR[internal]: DLR from SMSCESME for DST+37494086408 not found. and in my kannel.log I get this message periodically DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 ERROR: Connection to box 127.0.0.1 broke. EBUG: send_msg: sending msg to boxc: ESME ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe DEBUG: Thread 18 (gw/bb_boxc.c:function) terminates. DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 INFO: Connection closed by the box 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: Thread 17 (gw/bb_boxc.c:boxc_sender) terminates. WARNING: smsbox_list empty! Most of all the error about the Broken pipe alerts me, I don't know what that means but it seems to be serious. I don't know if that can be the reason. My current configuration is as follows: 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 ** 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 = box1 # 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
Figures
In an ongoing effort to improve both sqlbox and open smppbox and make it more useful to the community, I have a simple question to the user base. What are some real life figures that sqlbox and open smppbox can handle in terms of messages per second/minute? I am not talking about laboratory conditions here (sorry to bring it up, let's not start that discussion again). But I mean production environments. If you want, you can answer me privately. Responses will be handled with discretion. Also, later, I am going to ask for some support in terms of sending messages to a closed user base that is willing to receive test messages. We need about 50 or maybe a little bit more recipients. All in the spirit of making better open source software in a team effort. == Rene
RE: smppbox bulk sms: slow reception from a client
If a client disconnects from open smppbox, bearerbox doesn't see the smsbox anymore, so no DLR's are sent nor need to be queued. They will stay in bearerbox until client connects again. But well... if your smpp client disconnects whilst in the middle of sending/receiving, that explains a lot. =-= Rene -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 12:56 To: Davit Mirzoyan; rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Hi, Connecting/disconnecting is not the recommended kannel operation. In fact when bearerbox detects an smsbox disconnect (or smppbox) it will wait 30 before retrying. Right there is your delay problem. The issue seems to be an smppbox problem. I know it doesn't have a store. What happens if it receives a DLR when your client is disconnected? I hope it keeps a queue in memory, for when the client reconnects again. In such a case if smppbox restarts, it will loose all DLRs in queue. But it seems that when smppbox doesn't have any clients, it drops the connection to bearerbox. That will cause a large delay to bearerbox. BR, Nikos - Original Message - From: Davit Mirzoyan To: nbalka...@gmail.com ; rene.klu...@chimit.nl ; ad...@impexrur.pl ; users@kannel.org Sent: Wednesday, August 18, 2010 1:00 PM Subject: RE: smppbox bulk sms: slow reception from a client Dear Nikos, This is a very odd problem. Why would my connection between smppbox and bearerbox go down periodically. Do you think it can be from my ESME SMPP client? It connects to my smppbox sends messages, then disconnects and connects again every 1 minute for deliveries. But I don't think this has anything to do with sending bulk messages. Regards, Davit From: nbalka...@gmail.com To: rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org; davit.mirzo...@hotmail.com Subject: Re: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 01:36:52 +0300 Hi, Unfortunately kannel's I/O logging is very inadequate. Socket id is not at all useful. However, looking at the logs more carefully: ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe . . . WARNING: smsbox_list empty! Shows that smsbox died (or whatever else was connected as smsbox). This is a serious warning, which means that SMS are not sent upstream and instead accumulate in store until smsbox reconnects. smsbox router wakes up and rechecks every 30. This probably is the cause of your delays. BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Tomasz' ad...@impexrur.pl; users@kannel.org; 'Davit Mirzoyan' davit.mirzo...@hotmail.com Sent: Wednesday, August 18, 2010 12:19 AM Subject: RE: smppbox bulk sms: slow reception from a client That's an interesting story. Now 5000 msgs is different than just 10. But if it happens with 10 messages at a time, things might be more reproducible. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: Tuesday, 17 August, 2010 23:11 To: users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Hi, I've also had similar problem some time ago when I was sending some bulk of 5.000 msgs. There was sometimes Broken pipe error and several problems with some DLRs (PDU unpacking failed). I tried to reproduce this problem but I was not able to get those errors anymore, it was happening one time when there was a huge traffic. Tomasz. W Twoim li?cie datowanym 17 sierpnia 2010 (17:09:57) moΏna przeczytaζ: Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string
RE: smppbox bulk sms: slow reception from a client
I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING: DLR[internal]: DLR from SMSCESME for DST+37494086408 not found. and in my kannel.log I get this message periodically DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 ERROR: Connection to box 127.0.0.1 broke. EBUG: send_msg: sending msg to boxc: ESME ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe DEBUG: Thread 18 (gw/bb_boxc.c:function) terminates. DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: boxc_sender: sent message to 127.0.0.1 INFO: Connection closed by the box 127.0.0.1 DEBUG: send_msg: sending msg to boxc: ESME DEBUG: Thread 17 (gw/bb_boxc.c:boxc_sender) terminates. WARNING: smsbox_list empty! Most of all the error about the Broken
FW: smppbox bulk sms: slow reception from a client
Sorry, forgot to copy the list: Yes, if your problem is that open smppbox stalls every 10 messages, then I found it. If you want, apply the attached patch to smppbox and try again. About broken pipes and PDU unpacking failed: I have not been able to reproduce this as of now. I tried to submit 10,000 messages and no sign of any problem. To be continued. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 17:26 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear Rene, Hopefully the problem you found was the problem I encountered ;). Just to say, my smppbox/kannel stalls for definitely more than a second. Did you also get the same error and warning messages such, as broken pipe and PDU unpacking failed? BR Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 15:58:46 +0200 I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox[ESME]: PDU unpacking failed. DEBUG: smppbox[ESME]: Failed PDU omitted. ERROR: Invalid SMPP PDU received. DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. DEBUG: Started thread 3 (smppbox.c:function) ERROR: SMPP: Unknown TLV `dlr_err', don't send. INFO: We received an SMS message. DEBUG: DLR[internal]: Looking for DLR smsc=ESME, ts=a4517482, dst=+37494086408, type=1 WARNING:
RE: Problem of messages comes first in Bearerbox Queue
There’s quite some different queues in Kannel. Read the architecture document at http://www.kannel.org/arch.shtml Apart from that, you have all the source codes available. There have been some pointers given in earlier posts of where you can look. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Wednesday, 18 August, 2010 18:39 To: Alvaro Cornejo Cc: users@kannel.org Subject: Re: Problem of messages comes first in Bearerbox Queue ok can you guide me where i need modifications in kannel to change its queue logic? because its an urgent need. _ From: Alvaro Cornejo cornejo.alv...@gmail.com To: adil nazir adil_nazi...@yahoo.com Cc: users@kannel.org Sent: Wed, August 18, 2010 9:33:19 PM Subject: Re: Problem of messages comes first in Bearerbox Queue Do NOT change subject of a thread. It will difficult follow up There is NOTHING you can do... other than rewrite kannel queue logic |-| 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 Wed, Aug 18, 2010 at 10:12 AM, adil nazir adil_nazi...@yahoo.com wrote: yes i can understand that but tell me what i should do in the situation when i have 8 lack messages in bearerbox queue and the messages which comes first in bearerbox queue they will be received by SMSC after 2 to 3 days after receiving by SMSC then it depends on SMSC that weather it follows the message sequence or not but first its kannel responsibility to send all messages to SMSC for delivery. so tell me how can i handle this situation in which i have 8 lac messages in queue and first come (approx 1 lac) messages delivered after 2 to 3 days. I am using SMPP and to test it i am using gateway-1.4.3/test/drive_smpp. Please guide me. From: Alvaro Cornejo cornejo.alv...@gmail.com To: adil nazir adil_nazi...@yahoo.com Cc: users@kannel.org Sent: Tue, August 17, 2010 11:49:01 PM Subject: Re: Problem of messages with same priority There is no way to do that with the current architecture kannel has, nor with any other aplication you might found/develop... unless you send one message, wait for the dlr confirmation that the message was delivered --if it is available-- and then send the next one Dlrs can take up to a couple of days to be received. It wont be efficient. Period. Besides, unless you have a real argument/need for the messages to be received in the same order they were sent, it wouldn't matter. Not even in concatenated messages the phone receives the parts in the same order. Same with TCP/IP protocols. They are designed for efficiently TRANSPORT data, its on application side where the parts are reassembled/ordered. 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 Tue, Aug 17, 2010 at 1:29 PM, adil nazir adil_nazi...@yahoo.com wrote: then guide me how can i achieve this target that message comes first should deliver first and if queue is already full with messages then first queued messages should deliver then new messages. From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com Cc: users@kannel.org Sent: Tue, August 17, 2010 10:07:31 PM Subject: RE: Problem of messages with same priority 1. I replied to your message that didn’t have users in CC. That’s why it didn’t get here. 2. What we are trying to make clear to you is that message queuing isn’t a Kannel issue. SMS messages are not guaranteed to arrive within a specific time or order.… and not even guaranteed to arrive at all. == Rene From: adil nazir [mailto:adil_nazi...@yahoo.com] Sent: Tuesday, 17 August, 2010 19:04 To: Rene Kluwen Cc: users@kannel.org Subject: Re: Problem of messages with same priority Please add users@kannel.org in Cc thanks That is why i am saying that if kennel can handle priority messages then why it cant handle message sequence? From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com Sent: Tue, August 17, 2010 9:12:10 PM Subject: RE: Problem of messages with same priority SMS messages carrying a higher priority are sent to the smsc first. After that, they are on their own. == Rene
RE: smppbox bulk sms: slow reception from a client
Yes, exactly. Just recompile (make) and re-install (make install) and things should work better. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 19:17 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Thanks for the patch Rene ;). After changing the two lines in smppbox.c as mentioned in the patch, should I recompile and reinstall my smppbox to make things work? I will definitely let you all know if this solves a part of my problems. Cheers, Davit _ From: rene.klu...@chimit.nl To: users@kannel.org Subject: FW: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 17:56:50 +0200 Sorry, forgot to copy the list: Yes, if your problem is that open smppbox stalls every 10 messages, then I found it. If you want, apply the attached patch to smppbox and try again. About broken pipes and PDU unpacking failed: I have not been able to reproduce this as of now. I tried to submit 10,000 messages and no sign of any problem. To be continued. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 17:26 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear Rene, Hopefully the problem you found was the problem I encountered ;). Just to say, my smppbox/kannel stalls for definitely more than a second. Did you also get the same error and warning messages such, as broken pipe and PDU unpacking failed? BR Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 15:58:46 +0200 I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001
RE: smppbox bulk sms: slow reception from a client
The smsbox-list empty is obvious if the smpp user disconnects. Bearerbox doesn't have anywhere to route the dlr to. It will be in the bearerbox queue until the same user connects again. == Rene -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 23:08 To: Davit Mirzoyan; rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client That's what I meant. DLRs can come in at any time. BB is counting that smsbox will be connected to receive them. If not they accumulate in queue and bb rechecks every 30 for connectivity. Anyway Rene seems that he has located the problem and is working on a fix. Your warning about smsbox-list empty is ominous. Please investigate. What do corresponding smppbox logs say? BR, Nikos - Original Message - From: Davit Mirzoyan To: rene.klu...@chimit.nl ; nbalka...@gmail.com ; ad...@impexrur.pl ; users@kannel.org Sent: Wednesday, August 18, 2010 6:13 PM Subject: RE: smppbox bulk sms: slow reception from a client Hi, Well, my client doesn't disconnect while sending or receiving. The way it works is: it connects to smppbox for 60 seconds and sends all the sms (I suppose it can manage a considerable amount of sms in 60 seconds, at least more than 10 ;) ) Then it disconnects after the 60 seconds elapsed and reconnects again after another 60 seconds for deliveries. The problem with kannel was it couldn't manage 12 sms in 60 seconds ;). I will try test my system with staying connected all the time. I will post my results ;) Cheers, Davit From: rene.klu...@chimit.nl To: nbalka...@gmail.com; davit.mirzo...@hotmail.com; ad...@impexrur.pl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 14:06:29 +0200 If a client disconnects from open smppbox, bearerbox doesn't see the smsbox anymore, so no DLR's are sent nor need to be queued. They will stay in bearerbox until client connects again. But well... if your smpp client disconnects whilst in the middle of sending/receiving, that explains a lot. =-= Rene -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 12:56 To: Davit Mirzoyan; rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Hi, Connecting/disconnecting is not the recommended kannel operation. In fact when bearerbox detects an smsbox disconnect (or smppbox) it will wait 30 before retrying. Right there is your delay problem. The issue seems to be an smppbox problem. I know it doesn't have a store. What happens if it receives a DLR when your client is disconnected? I hope it keeps a queue in memory, for when the client reconnects again. In such a case if smppbox restarts, it will loose all DLRs in queue. But it seems that when smppbox doesn't have any clients, it drops the connection to bearerbox. That will cause a large delay to bearerbox. BR, Nikos - Original Message - From: Davit Mirzoyan To: nbalka...@gmail.com ; rene.klu...@chimit.nl ; ad...@impexrur.pl ; users@kannel.org Sent: Wednesday, August 18, 2010 1:00 PM Subject: RE: smppbox bulk sms: slow reception from a client Dear Nikos, This is a very odd problem. Why would my connection between smppbox and bearerbox go down periodically. Do you think it can be from my ESME SMPP client? It connects to my smppbox sends messages, then disconnects and connects again every 1 minute for deliveries. But I don't think this has anything to do with sending bulk messages. Regards, Davit From: nbalka...@gmail.com To: rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org; davit.mirzo...@hotmail.com Subject: Re: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 01:36:52 +0300 Hi, Unfortunately kannel's I/O logging is very inadequate. Socket id is not at all useful. However, looking at the logs more carefully: ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe ERROR: Couldn't write Msg to box 127.0.0.1, disconnecting DEBUG: Thread 19 (gw/bb_boxc.c:boxc_sender) terminates. ERROR: Error writing 16 octets to fd 29: ERROR: System error 32: Broken pipe . . . WARNING: smsbox_list empty! Shows that smsbox died (or whatever else was connected as smsbox). This is a serious warning, which means that SMS are not sent upstream and instead accumulate in store until smsbox reconnects. smsbox router wakes up and rechecks every 30. This probably is the cause of your delays. BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Tomasz' ad...@impexrur.pl; users@kannel.org; 'Davit Mirzoyan' davit.mirzo...@hotmail.com Sent: Wednesday, August 18, 2010 12:19 AM Subject: RE: smppbox bulk sms: slow reception from a client
RE: Problem of messages comes first in Bearerbox Queue
Note: The original subject of this thread was Problem of messages with SAME priority... -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 23:14 To: Rene Kluwen; 'Alvaro Cornejo'; 'adil nazir' Cc: users@kannel.org Subject: Re: Problem of messages comes first in Bearerbox Queue Maybe, but that doesn't change the fact, that if kannel supports priority queues, it should do so correctly. Besides, priority is part of the SMPP spec and you never know what the SMSc on the other end will do. BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Alvaro Cornejo' cornejo.alv...@gmail.com; 'adil nazir' adil_nazi...@yahoo.com Cc: users@kannel.org Sent: Wednesday, August 18, 2010 11:46 PM Subject: RE: Problem of messages comes first in Bearerbox Queue True. Suppose you make Kannel the way you want it to work: Send out the first message that you want to send first, and after that the other ones. Then still you are not sure that that particular message is received first on the hand set. It depends on your upstream provider and a lot of other things that you don't have control over. == Rene -Original Message- From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Sent: Wednesday, 18 August, 2010 19:42 To: adil nazir Cc: Rene Kluwen; users@kannel.org Subject: Re: Problem of messages comes first in Bearerbox Queue I'm not developper nor have programming knowledge so I can't help you with changing the code; However, I'm still wondering why would you want kannel to strictly respect the order of the message queue when there is ABSOLUTELY no way to control that once kannel passes the message to the smsc. In the same seccond you push your messages, the smsc is receiving thousands of messages from other sources and the system will mix them all so there is very little chances to get the messages in the same order you entered to kannel. IMHO it is WAY too much work for nothing. Regards |--- --| Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Aug 18, 2010 at 12:26 PM, adil nazir adil_nazi...@yahoo.com wrote: Sir i have studied all the documents from http://www.kannel.org/arch.shtml. I have the source code of kannel with the name of gateway-1.4.3 and now a days i am debugging this code. I have studied all the previous threads posted on userslevel and devlevel forums some of them are related to my problem but these threads are difficult to understand because i am new on kannel and threads contains advance terminologies. sir i have found lot of queues in kannel during debugging and i dont know how many queues kannel is maintaining right now and why? I have found gw_priority queue in smpp driver, i have found simple gwlist_queue in bearerbox.c files and in smsbox.c file now i an confused in all these queues which queue's logic i should modify to solve my problem? i don't know. I have also studied kannel architecture document from its website but this document only elaborate bearerbox flow with wap not with sms and i am dealing only with sms. I also tried to modify the function sms_priority_compare() in gw/sms.c file inorder to send old sms before sending new sms but its not working. Also i tried to modify the function sms_priority_compare() in gwlib/gw_prioqueue.c file inorder to change the sequence of sms's but its also not working. even i am unable to detect that which function is dealing with which queue. So please sir guide i am very much confused and i have to urgent solve this problem. From: Rene Kluwen rene.klu...@chimit.nl To: adil nazir adil_nazi...@yahoo.com; Alvaro Cornejo cornejo.alv...@gmail.com Cc: users@kannel.org Sent: Wed, August 18, 2010 9:47:48 PM Subject: RE: Problem of messages comes first in Bearerbox Queue There's quite some different queues in Kannel. Read the architecture document at http://www.kannel.org/arch.shtml Apart from that, you have all the source codes available. There have been some pointers given in earlier posts of where you can look. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Wednesday, 18 August, 2010 18:39 To: Alvaro Cornejo Cc: users@kannel.org Subject: Re: Problem of messages comes first in Bearerbox Queue ok can you guide me where i need modifications in kannel to change its queue logic? because its an urgent need. From: Alvaro Cornejo cornejo.alv...@gmail.com To: adil nazir adil_nazi...@yahoo.com Cc: users@kannel.org Sent: Wed, August 18, 2010 9:33:19 PM Subject: Re: Problem of messages
RE: smppbox bulk sms: slow reception from a client
Yes. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 23:17 To: Rene Kluwen; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Have you tried to emulate ESME connecting and disconnecting to SMPPbox? BR, Nikos - Original Message - From: Rene Kluwen To: users@kannel.org Sent: Wednesday, August 18, 2010 6:56 PM Subject: FW: smppbox bulk sms: slow reception from a client Sorry, forgot to copy the list: Yes, if your problem is that open smppbox stalls every 10 messages, then I found it. If you want, apply the attached patch to smppbox and try again. About broken pipes and PDU unpacking failed: I have not been able to reproduce this as of now. I tried to submit 10,000 messages and no sign of any problem. To be continued. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 17:26 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear Rene, Hopefully the problem you found was the problem I encountered ;). Just to say, my smppbox/kannel stalls for definitely more than a second. Did you also get the same error and warning messages such, as broken pipe and PDU unpacking failed? BR Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 15:58:46 +0200 I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string (service_type) has no NULL. DEBUG: Octet string at 0x910ae28: DEBUG: len: 12 DEBUG: size: 13 DEBUG: immutable: 0 DEBUG: data: 00 00 00 05 00 00 00 00 00 00 00 02 DEBUG: Octet string dump ends. ERROR: smppbox
RE: smppbox bulk sms: slow reception from a client
No, open smppbox doesn't have an incoming I/O queue to bearerbox. If bearerbox is not available, it just doesn't accept messages. Period. And why is piggy backing not nice? Implementing yet another queue will only make things worse instead of better, IMHO. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Thursday, 19 August, 2010 00:17 To: Rene Kluwen; 'Davit Mirzoyan'; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Well, it already has an incoming I/O queue to bearerbox, doesn't it? Reason being that if you get another user with a lot more frequent ESME donnects/disconnets you will get the router delays I was talking about. Piggy-backing on bb's store is not considered nice :-). BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Nikos Balkanas' nbalka...@gmail.com; 'Davit Mirzoyan' davit.mirzo...@hotmail.com; ad...@impexrur.pl; users@kannel.org Sent: Thursday, August 19, 2010 1:11 AM Subject: RE: smppbox bulk sms: slow reception from a client Why, if bearerbox keeps them in a queue to be delivered already? It will be like re-inventing the wheel. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 23:50 To: Rene Kluwen; 'Davit Mirzoyan'; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client That creates a router delay (30). That is not very bad, since, after explaining, this happens only once when his client reconnects. Shouldn't smppbox stay connected and keep incoming DLRs in queue? BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Nikos Balkanas' nbalka...@gmail.com; 'Davit Mirzoyan' davit.mirzo...@hotmail.com; ad...@impexrur.pl; users@kannel.org Sent: Thursday, August 19, 2010 12:18 AM Subject: RE: smppbox bulk sms: slow reception from a client The smsbox-list empty is obvious if the smpp user disconnects. Bearerbox doesn't have anywhere to route the dlr to. It will be in the bearerbox queue until the same user connects again. == Rene -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 23:08 To: Davit Mirzoyan; rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client That's what I meant. DLRs can come in at any time. BB is counting that smsbox will be connected to receive them. If not they accumulate in queue and bb rechecks every 30 for connectivity. Anyway Rene seems that he has located the problem and is working on a fix. Your warning about smsbox-list empty is ominous. Please investigate. What do corresponding smppbox logs say? BR, Nikos - Original Message - From: Davit Mirzoyan To: rene.klu...@chimit.nl ; nbalka...@gmail.com ; ad...@impexrur.pl ; users@kannel.org Sent: Wednesday, August 18, 2010 6:13 PM Subject: RE: smppbox bulk sms: slow reception from a client Hi, Well, my client doesn't disconnect while sending or receiving. The way it works is: it connects to smppbox for 60 seconds and sends all the sms (I suppose it can manage a considerable amount of sms in 60 seconds, at least more than 10 ;) ) Then it disconnects after the 60 seconds elapsed and reconnects again after another 60 seconds for deliveries. The problem with kannel was it couldn't manage 12 sms in 60 seconds ;). I will try test my system with staying connected all the time. I will post my results ;) Cheers, Davit From: rene.klu...@chimit.nl To: nbalka...@gmail.com; davit.mirzo...@hotmail.com; ad...@impexrur.pl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 14:06:29 +0200 If a client disconnects from open smppbox, bearerbox doesn't see the smsbox anymore, so no DLR's are sent nor need to be queued. They will stay in bearerbox until client connects again. But well... if your smpp client disconnects whilst in the middle of sending/receiving, that explains a lot. =-= Rene -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Wednesday, 18 August, 2010 12:56 To: Davit Mirzoyan; rene.klu...@chimit.nl; ad...@impexrur.pl; users@kannel.org Subject: Re: smppbox bulk sms: slow reception from a client Hi, Connecting/disconnecting is not the recommended kannel operation. In fact when bearerbox detects an smsbox disconnect (or smppbox) it will wait 30 before retrying. Right there is your delay problem. The issue seems to be an smppbox problem. I know it doesn't have a store. What happens if it receives a DLR when your client is disconnected? I hope it keeps a queue in memory, for when the client reconnects again. In such a case if smppbox restarts, it will loose all DLRs in queue. But it seems that when smppbox doesn't have any clients, it drops the connection to bearerbox. That will cause a large delay to bearerbox. BR
RE: smppbox bulk sms: slow reception from a client
I guess this means that a queue is in its place here. I was hoping it wasn't necessary. but maybe we will have to end up with another queue. There's still a problem with this problem: I cannot reproduce it. I can load my smppbox with any number of messages and no sign of stalling or broken pipes. Maybe I just have faster hardware than Davit. Not sure. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Friday, 20 August, 2010 17:24 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear all, I have been trying my system with the patch Rene sent me a couple of days ago. In the begining I was getting the same very slow sms reception from smppbox and the same error messages about the broken pipe. Then I changed the behavior of my smpp client and got rid of the diconnections and reconnections. My client was staying connected all the time. I also limited the speed of the upstream bulk sms messages to my smppbox. And there it was, it got fixed. I finally got rid of the broken pipe error messages and my system was working just fine. Then, I tried to increase the upstream speed of sms to smppbox and there was a point when kannel/smppbox couldn't handle the speed anymore and my system got stalled a lot again. What I figured out was that my client was just throwing the bulk sms messages to smppbox and my guess is that smppbox/kannel couldn't handle the speed any more. That's why it could handle the low speed just fine. I am still confused a little but it seems my smppbox/kannel is finally working ;). I hope this thread is of some help to the users Thank you all for your kind help Cheers, Davit _ From: rene.klu...@chimit.nl To: users@kannel.org Subject: FW: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 17:56:50 +0200 Sorry, forgot to copy the list: Yes, if your problem is that open smppbox stalls every 10 messages, then I found it. If you want, apply the attached patch to smppbox and try again. About broken pipes and PDU unpacking failed: I have not been able to reproduce this as of now. I tried to submit 10,000 messages and no sign of any problem. To be continued. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 17:26 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear Rene, Hopefully the problem you found was the problem I encountered ;). Just to say, my smppbox/kannel stalls for definitely more than a second. Did you also get the same error and warning messages such, as broken pipe and PDU unpacking failed? BR Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 15:58:46 +0200 I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By
RE: Regarding SMS integration on successful payment
One option is to install and configure Kannel. After that sending an message is a matter of doing a http request with some variables, such as phone number, sender, text, etc. But probably you are better off getting an account with an sms aggregator and sending the http request directly to them. This will save you from a lot of trouble. There's a lot of parties that let you do that. Clickatell is one of them and probably the biggest. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Udit Sharma Sent: Sunday, 22 August, 2010 17:06 To: users@kannel.org Subject: Regarding SMS integration on successful payment Hello People, I am trying to integrate SMS confirmation after successful payment on my website. If say, people did shopping of 10$ than a SMS would send it to him/her for thanks or confirmation message. How can I do that? I am using custom PHP application using Google Checkout payment integration. Many Thanks in advance. Best Regards Udit Sharma
RE: System-Type retrying on failure
I think it depends on what the smsc returns as an error code. If system-type is wrong and smsc returns 0x0d (13) then it is considered wrong credentials and afaik, Kannel doesn't retry. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Roy Walker Sent: Monday, 23 August, 2010 17:45 To: Alejandro Guerrieri Cc: users@kannel.org Subject: RE: System-Type retrying on failure Should this be opened as a feature request or bug report.? Seems like a decision one way or the other. change it or make it configurable. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Friday, August 20, 2010 4:30 PM To: Roy Walker Cc: users@kannel.org Subject: Re: System-Type retrying on failure That depends on which carrier do you ask, but yes I agree, many of them require system-type to be treated as a fatal error and not retried. Imho should be a configurable option or a compile switch at least. Regards, Alex On Fri, Aug 20, 2010 at 10:27 PM, Roy Walker rwal...@sensorlogic.com wrote: Found what some might consider a bug, but when an invalid system-type is passed on an SMPP bind, it will retry based on the reconnect-delay setting. This should be a stop failure and should work the same as an invalid smsc-username/system-id or smsc-password. Where it does not retry. right? Roy
RE: setting sms traffic limit on clients
Yes, it is in the userguide in the section limitations. In other words: not possible with the current open smppbox sources. -- Rene - Oorspronkelijk bericht - Van: Davit Mirzoyan davit.mirzo...@hotmail.com Verzonden: maandag 23 augustus 2010 19:26 Aan: users@kannel.org Onderwerp: setting sms traffic limit on clients Dear all, I have an intention of setting sms traffic limits on clients. For example, a client with a specific username and password is allowed to send a specified number of sms through the gateway (smppbox + kannel). Is it possible to do that? I couldn't find any information regarding this in the userguide. Any help and idea is appreciated ;). Cheers, Davit
RE: sqlbox download
You can check it out via subversion: svn co https://svn.kannel.org/sqlbox/trunk == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Mutuku Ndeti Sent: Tuesday, 24 August, 2010 12:27 To: kannel users Subject: sqlbox download Hello, Where do i download sqlbox Thanks
RE: service works with SMPPsim and not with real smsc
Could you post your current configuration files? == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of gasmen Sent: Wednesday, 25 August, 2010 14:39 To: users@kannel.org Subject: service works with SMPPsim and not with real smsc HI all i am using kannel 1.4.3 and i am excuting servlet with group sms-service it works good and it call the servlet when i use the SMMPsim but just i change the configuration of smsc group to work with real smsc message come to the mobile phone but it didnt call the servlet ... so i am looking for your help maybe i will add some configuration the groups to start the service with the real smsc!!! thanks a lot _ View this message in context: service http://old.nabble.com/service-works-with-SMPPsim-and-not-with-real-smsc-tp2 9531805p29531805.html works with SMPPsim and not with real smsc Sent from the Kannel http://old.nabble.com/Kannel---User-f14436.html - User mailing list archive at Nabble.com.
RE: help on mysql database
Everything should be in the users manual that is available on http://www.kannel.org/. In case you have specific questions, please post them along with your current configuration files. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of mac...@fastermail.com Sent: Wednesday, 25 August, 2010 18:34 To: users@kannel.org Subject: help on mysql database Hi Folks I installed kannel using an rpm package on fedora core 13 but i would appreciate anyone who has had experiance of implementing kannel with mysql due to the nature of my project.Please provide me with the necessary steps that you undertook to communicate with the database server in the subject above.
RE: Problem with Regular Expressions
According to your regexp: ^SLG[0-9]+, there is not space in between SLG and the number. Shouldn't it be: ^SLG [0-9]+? (with a space). == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Cariotoglou Mike Sent: Wednesday, 25 August, 2010 19:22 To: users@kannel.org Subject: Problem with Regular Expressions Hi, I am new to Kannel. I am using 1.4.3 on Ubuntu 10.04 Server. I am trying to set up an SMS gateway, which will connect to smsc using SMPP. before actually connecting to the smsc, I am testing locally, using fakesmsc. The problem I am having is that the keyword-regex variable does not seem to be working as documented. specifically : the SMS message I am trying to match looks like this : SLGx (no spaces at all, a single string) This configuration seems to work, although there is no SLG word in the message, assuming that word implies space-delimiters: group = sms-service name = SLG keyword = SLG text = Hi there,SLG catch-all = true although it shouldn't work, IMHO! (it should work for SLG 123, but not for SLG123, yet it does) this configuration, which is the one I want, does not work at all: group = sms-service name = SLG keyword-regex = ^SLG[0-9]+ text = Hi there,SLG catch-all = true according to my understanding of regular expressions, this should match SLG123, and NOT match SLG. it actually matches NOTHING. Could you please explain why, and, in general, how can I match a message that STARTS with a pattern, but does NOT contain any word delimiters ? Mike
RE: Kannel queue with same priority is unpredictable
If you send all of those messages at once, I don't know how priority queues behave. If priority is the same and the time that messages are sent are within the same second. What do priority queues do? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Wednesday, 25 August, 2010 21:47 To: Jason Mule Cc: users@kannel.org Subject: Re: Kannel queue with same priority is unpredictable Wow! Did you sent all these through a real SMSc? It must have costed a bundle. Use fakesmpp for the tests to avoid charges. Will need also relevant bb logs and your configuration. BR, Nikos - Original Message - From: Jason Mule To: Nikos Balkanas Cc: Alejandro Guerrieri ; users@kannel.org Sent: Wednesday, August 25, 2010 4:19 PM Subject: Re: Kannel queue with same priority is unpredictable I have reproduced this by sending 1 messages in 2 sets to simulate a large MT-Push. Please note the sequence of messages in 'smsboxaccess0.log' and compare this to 'access.log'. Messages with the string 'Message 2' were sent after messages with the string 'Message 1'. 2010/8/25 Nikos Balkanas nbalka...@gmail.com And i am saying the same thing to you: Please share relevant log entries demonstrating this. BR, Nikos - Original Message - From: Jason Mule jason.m...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com; users@kannel.org Sent: Tuesday, August 24, 2010 4:09 PM Subject: Re: Kannel queue with same priority is unpredictable Hi, I have observed that as long as there are messages in the store file en route to the SMSC, newer MTs to Kannel will be sent out before the bunch of messages in the store file. Priority is not changed for the newer messages and the messages are not retries. This is probably what the OP was referring to. 2010/7/20 Nikos Balkanas nbalka...@gmail.com: Thanks. It turns that priority queue in kannel is dtermined both by SMS priority and age of sms. I.e. if 2 sms have the same priority, the older one gets the call (FIFO). It is also implemented only in SMPP, EMI at. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Nikos Balkanas Cc: Waqas Farooq ; users@kannel.org Sent: Tuesday, July 20, 2010 4:11 PM Subject: Re: Kannel queue with same priority is unpredictable That's not correct. At least on SVN for a good time now, Kannel honors priorities, being 3 the highest and 0 the lowest. That means that if you have a big queue of priority-1 messages and send one priority-2 or 3 message, it will get delivered before the rest of the queue. The priority is also passed to the SMSC by means of SMPP's priority flag, but afaik most carriers ignore ESME settings for priority so do not expect it to work. Regards, Alex 2010/7/20 Nikos Balkanas nbalka...@gmail.com Hi, Priority is not used by kannel. It is part of the SMPP spec and is passed to receiving SMSc. Queue is FIFO, subject to constraints like sms-resend-freq and sms-resend-retry. If in doubt check store-queue from http admin. BR, Nikos - Original Message - From: Waqas Farooq To: users@kannel.org Sent: Tuesday, July 20, 2010 11:48 AM Subject: Kannel queue with same priority is unpredictable Hi All, I have a very large queue with all the messages in the queue and the new incoming messages from the smsbox are with the same priority. The problem is that new messages get delivered earlier than the ones already queued. I have no idea what sort of queue it is? Is it a FIFO queue or the kannel just tries to send the messages from the smsbox directly if possible and if not then the message is queued? Please note that all the messages are at the same priority! Any help will be highly appreciated! Thanks, Waqas Hotmail: Trusted email with powerful SPAM protection. Sign up now. BR, Jason BR, Jason
RE: UNABLE TO RECEIVE DLR FROM KANNEL SMPP
If you need a unique message ID, add it to your dlr-url. E.g.: dlr-url=http://www.example.com/dlr.php?id=[MY_ID]. (urlencoded). == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 25 August, 2010 23:18 To: Nikos Balkanas Cc: Rene Kluwen; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello Nikos, If the DLRs which are coming to MySQL is temporary, Then i can also use DLR storage Internal, and Make a SMALL application to sense DLRs. i am confused is there any Key Or any Value by which we can compare that the coming DLR is for any specfic Message Sent. for example : While Sending SMS I get only text 0: Accepted for delivery But if i get message ID here while sending same message ID is returned as value when i get DLR, i can match DLR with Sent message easily in my table. Hope that message ID is an Unqiue value. Regards, Anshu 2010/8/26 Nikos Balkanas nbalka...@gmail.com Hi, For info read UG about reroute-smsc. Once you reroute that, you may also want to reroute its DLRs. Since you don't, you don't need to. Just ignore it. I see you are using a DB for dlr-storage (mysql)?. This table is for internal processing only. DLR is deleted once it is matched. If you want permanent DLR storage, use your own web application, and use dlr-url. Filed timestamp is really SMSc forreign id and should be varchar(64). BR, Nikos - Original Message - From: Anshu Sah To: Rene Kluwen Cc: Nikos Balkanas ; users@kannel.org Sent: Wednesday, August 25, 2010 11:55 PM Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello Nikos, Can you please explain this below Line. 2010-08-25 13:01:27 [6057] [0] INFO: DLR rerouting for smsc id vFirstDEMO disabled. One more thing by adding dlr-mask=31 i got the DLR but i got only below params, But i want to add a custom column, which i will add while sending message by which i could Query into this table for DLRs. id smsc timestamp destination source service url mask status boxc_id 1vFirstDEMO-00-00 00:00:009216217231anshukannel 310 4vFirstDEMO34102674779781114229anshukannel 310 Regards Anshu On Tue, Aug 17, 2010 at 6:55 PM, Rene Kluwen rene.klu...@chimit.nl wrote: See this post from Nikos. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 16 August, 2010 22:55 To: Anshu Sah; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hi, Please post your sendsms URL and detailed bb logs of an attempt to send an MT. BR, Nikos - Original Message - From: Anshu Sah To: users@kannel.org Sent: Monday, August 16, 2010 10:39 PM Subject: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello I am unable to receive DLR in Kannel using SMPP Connectivity., Please guide. If i am doing something wrong, Regards Anshu Configuration is below group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /projects/kannel/logs/core.log log-level = 0 #box-deny-ip = *.*.*.* #box-allow-ip = 127.0.0.1 dlr-storage = mysql access-log = /projects/kannel/logs/access.log #store-file = /projects/kannel/logs/storefile.log #dlr-storage = internal group=smsc smsc=smpp smsc-id=x host = xx port = 2345 receive-port = 2345 log-file = /projects/kannel/logs/smsc.log log-level = 0 smsc-username = x smsc-password = xxx msg-id-type = 0x01 transceiver-mode=1 system-type = 'VMA' #service-type = 'test' interface-version = 34 address-range = '' #msg-id-type = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-level = 0 group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 #--- mysql connection group = mysql-connection id = mydlr host = localhost username = xx password = xxx database = kannel max-connections = 1 # DLR table structure group = dlr-db id = mydlr table = kannel_dlr 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_id LOGS [r...@splash gw]# ./bearerbox /projects/kannel/configs/x.inc 2010-08-16 13:15:49 [32566] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-08-16 13:15:49 [32566] [0] INFO: MYSQL: Connected to server at localhost. 2010-08-16 13:15:49 [32566] [0] INFO: MYSQL: server version 5.0.77, client version 5.0.77. 2010-08-16 13:15:49 [32566] [0] INFO: DLR using storage type: mysql 2010-08-16 13:15:49 [32566] [0] DEBUG: Kannel bearerbox version `1.4.3'. Build `Aug 15 2010 18:31:17', compiler `4.1.2 20080704 (Red Hat 4.1.2-48)'. System Linux, release 2.6.18-194.8.1.el5.028stab070.2, version #1 SMP Tue Jul 6 14:55:39 MSD 2010, machine i686. Hostname x. Libxml version 2.6.26. Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
RE: UNABLE TO RECEIVE DLR FROM KANNEL SMPP
Use: dlr-url=http://xxx.xxx.xxx/DLR/processDLR.php?messageID=type=%dtime=%t For the complete list of excape codes, see table 6-9 in the user manual. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 25 August, 2010 23:42 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello rene, http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=kannel http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=kannelpassword=hard2 guessfrom=anshuto=919781114229text=Hi+Anshu+Testing+Kanneldlr-mask=31dl r-url=http://xxx.xxx.xxx.xxx/DLR/processDLR.php?messageID=8456 password=hard2guessfrom=anshuto=919781114229text=Hi+Anshu+Testing+Kannel dlr-mask=31dlr-url=http://xxx.xxx.xxx.xxx/DLR/processDLR.php?messageID=845 6 But got this dlr-url saved in DB but I didn't got whether the message has been delivered or NOT and if delivered I didn't got the time of delivery by URL I got following value saved in DB id smsc timestamp destination source service url mask http://173.236.83.224/phpmyadmin/sql.php?db=kanneltable=kannel_dlrtoken=4 36569dc31a10bbc57c6a3909c72d9e8sql_query=SELECT+%2A+FROM+%60kannel_dlr%60+O RDER+BY+%60kannel_dlr%60.%60mask%60+ASC status http://173.236.83.224/phpmyadmin/sql.php?db=kanneltable=kannel_dlrtoken=4 36569dc31a10bbc57c6a3909c72d9e8sql_query=SELECT+%2A+FROM+%60kannel_dlr%60+O RDER+BY+%60kannel_dlr%60.%60status%60+ASC boxc_id http://173.236.83.224/phpmyadmin/sql.php?db=kanneltable=kannel_dlrtoken=4 36569dc31a10bbc57c6a3909c72d9e8sql_query=SELECT+%2A+FROM+%60kannel_dlr%60+O RDER+BY+%60kannel_dlr%60.%60boxc_id%60+ASC 1 vFirstDEMO 499708338 919781114229 anshu kannel http://xxx.xxx.xxx.xxx/DLR/processDLR.php 31 0 2 vFirstDEMO 506335868 919781114229 anshu kannel http://xxx.xxx.xxx.xxx/DLR/processDLR.php?messageID... 31 0 Regards Anshu On Thu, Aug 26, 2010 at 2:59 AM, Rene Kluwen rene.klu...@chimit.nl wrote: If you need a unique message ID, add it to your dlr-url. E.g.: dlr-url=http://www.example.com/dlr.php?id=[MY_ID] http://www.example.com/dlr.php?id=%5bMY_ID%5d . (urlencoded). == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 25 August, 2010 23:18 To: Nikos Balkanas Cc: Rene Kluwen; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello Nikos, If the DLRs which are coming to MySQL is temporary, Then i can also use DLR storage Internal, and Make a SMALL application to sense DLRs. i am confused is there any Key Or any Value by which we can compare that the coming DLR is for any specfic Message Sent. for example : While Sending SMS I get only text 0: Accepted for delivery But if i get message ID here while sending same message ID is returned as value when i get DLR, i can match DLR with Sent message easily in my table. Hope that message ID is an Unqiue value. Regards, Anshu 2010/8/26 Nikos Balkanas nbalka...@gmail.com Hi, For info read UG about reroute-smsc. Once you reroute that, you may also want to reroute its DLRs. Since you don't, you don't need to. Just ignore it. I see you are using a DB for dlr-storage (mysql)?. This table is for internal processing only. DLR is deleted once it is matched. If you want permanent DLR storage, use your own web application, and use dlr-url. Filed timestamp is really SMSc forreign id and should be varchar(64). BR, Nikos - Original Message - From: Anshu Sah To: Rene Kluwen Cc: Nikos Balkanas ; users@kannel.org Sent: Wednesday, August 25, 2010 11:55 PM Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello Nikos, Can you please explain this below Line. 2010-08-25 13:01:27 [6057] [0] INFO: DLR rerouting for smsc id vFirstDEMO disabled. One more thing by adding dlr-mask=31 i got the DLR but i got only below params, But i want to add a custom column, which i will add while sending message by which i could Query into this table for DLRs. id smsc timestamp destination source service url mask status boxc_id 1vFirstDEMO-00-00 00:00:009216217231anshukannel 310 4vFirstDEMO34102674779781114229anshukannel 310 Regards Anshu On Tue, Aug 17, 2010 at 6:55 PM, Rene Kluwen rene.klu...@chimit.nl wrote: See this post from Nikos. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Monday, 16 August, 2010 22:55 To: Anshu Sah; users@kannel.org Subject: Re: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hi, Please post your sendsms URL and detailed bb logs of an attempt to send an MT. BR, Nikos - Original Message - From: Anshu Sah To: users@kannel.org Sent: Monday, August 16, 2010 10:39 PM Subject: UNABLE TO RECEIVE DLR FROM KANNEL SMPP Hello I am unable to receive DLR in Kannel using SMPP Connectivity., Please guide. If i am doing something wrong
RE: Problem with Regular Expressions
From the users manual: Example 4: sms-service-configuration Please note that there are a mandatory keyword and an optional keyword-regex fields. That means that service selection can be simplified as in the following example. Suppose that some Web-content should be delivered to the mobile. Different costumers use the same service but they rely on different keywords. Whenever a sms-service is requested, Kannel first checks whether a regex has been defined, if not a literal match based on keyword is performed. If a regex is configured then the literal match is never tried. group=sms-service ... keyword=web_service keyword-regex=^(data|www|text|net)$ get-url=http://someserver.net/getContent.jsp ... Here it says that keyword is mandatory, even if it won't be evaluated because you have a keyword-regex. So in your case, your sms-service group could be: group = sms-service name = SLG keyword = SLG keyword-regex = ^SLG[0-9]+$ text = Hi there,SLG %a %b catch-all = true What happens if you use this config? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Cariotoglou Mike Sent: Thursday, 26 August, 2010 00:23 To: Nikos Balkanas; users@kannel.org Subject: RE: Problem with Regular Expressions ok, here it is : -BEGIN CONF # # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port = 13000 admin-password = xx #admin-deny-ip = *.*.*.* #admin-allow-ip = wapbox-port = 13002 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 0 #box-deny-ip = *.*.*.* #box-allow-ip = 127.0.0.1 smsbox-port = 13003 group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log # SMSC Fake group = smsc smsc = fake host = localhost port = 13004 group = smsbox bearerbox-host = localhost sendsms-port = 13005 log-file = /var/log/kannel/smsbox.log log-level = 0 access-log = /var/log/kannel/smsbox-access.log group = sendsms-user username = test password = test default-sender = 12345 group = sms-service name = SLG #keyword = SLG keyword-regex = ^SLG[0-9]+$ text = Hi there,SLG %a %b #exec = ls -l / catch-all = true # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = No service specified %a %b catch-all = true -END CONF-- BEGIN LOG-- 2010-08-26 01:17:09 [10783] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2010-08-26 01:17:09 [10783] [0] INFO: Logging accesses to '/var/log/kannel/smsbox-access.log'. 2010-08-26 01:17:09 [10783] [0] INFO: Started access logfile `/var/log/kannel/smsbox-access.log'. 2010-08-26 01:17:09 [10783] [0] INFO: HTTP: Opening server at port 13005. 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-08-26 01:17:09 [10783] [0] INFO: Set up send sms service at port 13005 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-08-26 01:17:09 [10783] [0] DEBUG: -- 2010-08-26 01:17:09 [10783] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2010-08-26 01:17:09 [10783] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 10783. 2010-08-26 01:17:09 [10783] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 10783. 2010-08-26 01:17:09 [10783] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 10783. 2010-08-26 01:17:09 [10783] [0] DEBUG: dumping group (sendsms-user): 2010-08-26 01:17:09 [10783] [0] DEBUG: default-sender = 12345 2010-08-26 01:17:09 [10783] [0] DEBUG: group = sendsms-user 2010-08-26 01:17:09 [10783] [0] DEBUG: username = test 2010-08-26 01:17:09 [10783] [0] DEBUG: password = test 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-08-26 01:17:09 [10783] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 10783. 2010-08-26 01:17:09 [10783] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 10783. 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-08-26 01:17:09 [10783] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 10783. 2010-08-26 01:17:09 [10783] [0] INFO: Connected to bearerbox at localhost port 13003. 2010-08-26 01:17:09 [10783] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2010-08-26 01:17:09 [10783] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 10783. 2010-08-26 01:17:58 [10783] [4] DEBUG: no match found: SLG 2010-08-26 01:17:58 [10783]
RE: Problem with Regular Expressions
Then I don't know. Your config looks allright for the rest. - Oorspronkelijk bericht - Van: Cariotoglou Mike m...@singular.gr Verzonden: donderdag 26 augustus 2010 1:26 Aan: users@kannel.org Onderwerp: RE: Problem with Regular Expressions it is one of the places where the doc is not up-to-date. if you try this, you will get a PANIC error, saying either keyword OR keyword-regex must be defined, but not both. at least in version 1.4.3 -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Thursday, August 26, 2010 2:16 AM To: Cariotoglou Mike; 'Nikos Balkanas'; users@kannel.org Subject: RE: Problem with Regular Expressions From the users manual: Example 4: sms-service-configuration Please note that there are a mandatory keyword and an optional keyword-regex fields. That means that service selection can be simplified as in the following example. Suppose that some Web-content should be delivered to the mobile. Different costumers use the same service but they rely on different keywords. Whenever a sms-service is requested, Kannel first checks whether a regex has been defined, if not a literal match based on keyword is performed. If a regex is configured then the literal match is never tried. group=sms-service ... keyword=web_service keyword-regex=^(data|www|text|net)$ get-url=http://someserver.net/getContent.jsp ... Here it says that keyword is mandatory, even if it won't be evaluated because you have a keyword-regex. So in your case, your sms-service group could be: group = sms-service name = SLG keyword = SLG keyword-regex = ^SLG[0-9]+$ text = Hi there,SLG %a %b catch-all = true What happens if you use this config? == Rene -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Thursday, August 26, 2010 2:16 AM To: Cariotoglou Mike; 'Nikos Balkanas'; users@kannel.org Subject: RE: Problem with Regular Expressions From the us [Het originele bericht is niet volledig opgenomen]
RE: SMS receive not working with nokia n70
To be exact: The AT+CNMI gsm command is missing from your init string. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Nikos Balkanas Sent: Thursday, 26 August, 2010 12:09 To: Pratik Shrestha; users@kannel.org Subject: Re: SMS receive not working with nokia n70 Hi, You probably have wrong init-string. There is a special section in UG about modem initialization. You may need to configure sim-buffering and message-storage. BR, Nikos - Original Message - From: Pratik Shrestha To: users@kannel.org Sent: Thursday, August 26, 2010 12:01 PM Subject: SMS receive not working with nokia n70 Dear All, I have configured nokia 70 to work. Sending sms through kannel (web interface) is ok. But kannel is not receiving the sms when I send sms to that phone (nokia n70). The phone receives the sms and beeps but nothing happens to kannel. Actually I want kannel to receive that sms and post to a link I have configured in its configuration file. My configuration file is group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1;192.168.0.* smsbox-port = 13003 wapbox-port = 13004 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log access-log=/var/log/kannel/access.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;192.168.0.* group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log # GSM modem group = smsc smsc = at smsc-id=N70 modemtype = nokiaphone device = /dev/ttyACM0 speed = 460800 #pin =2345 group = modems id = nokiaphone name = Nokia Phone detect-string = Nokia N70 #detect-string2 = init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 #enable-hwhs = # fake smsc group = smsc smsc = fake port = 1 connect-allow-ip = 127.0.0.1 group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = 0123456789 global-sender = 123456 access-log = kannel.access log-file = smsbox.log log-level = 0 group = sms-service keyword = nop text = You asked nothing and I did it! catch-all = true group = sms-service #keyword = keyword-regex = .* catch-all = yes get-url = http://192.168.0.92:8080/KannelSmsReceiver/msgRecvd.htm?sender=%ptext=%s-% r accept-x-kannel-headers = true max-messages = 0 #concatenation = true group = sms-service keyword = default text = No action specified group = sendsms-user username = username password = password ** I want kannel to receive the sms and send it to url given above http://192.168.0.92:8080/KannelSmsReceiver/msgRecvd.htm?sender=%ptext=%s-% r Rgds, Pratik
RE: smppbox bulk sms: slow reception from a client
As expected: Tweaking the value of max-pending-submits is the variable that makes the difference. Queues don't make a very big difference. Because the roundtrip time of acks will be the same. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 24 August, 2010 16:35 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Which one is the queuing version? Which revision? You mean a very big difference in speed? Davit _ From: rene.klu...@chimit.nl To: rene.klu...@chimit.nl; davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 24 Aug 2010 15:07:11 +0200 I was testing again with Nikos' test utility. What struck me is that the default value of max-pending-submits is also exactly 10. In some versions of open smppbox (namely the queuing version) setting this to a higher value (in the client) makes a very big difference. == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 17:26 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Dear Rene, Hopefully the problem you found was the problem I encountered ;). Just to say, my smppbox/kannel stalls for definitely more than a second. Did you also get the same error and warning messages such, as broken pipe and PDU unpacking failed? BR Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Wed, 18 Aug 2010 15:58:46 +0200 I did find the problem why open smppbox would send 10 messages and then stall for a second. Thanks to Nikos fakesmpp stress test, I could isolate the problem quite quickly. Updated code will be available after next open smppbox update (see other thread of Victor Luchitz). == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Wednesday, 18 August, 2010 11:42 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using ALT.SMS.SmppClient. It connects to my smppbox over smpp protocol and tries to inject bulk sms. Then it disconnects and connects again in a while for deliveries. Do you think it can be from my smpp client? It works fine when I send only a single sms through kannel/smppbox. When I have more sms it keeps stalling. But I also tried to use the same ALT.SMS.SmppClient with NowSMS demo and it worked just fine with bulk messages. Has anybody succeeded with sending bulk sms through smppbox/kannel? If yes, could you please tell me what smpp client you are using? Or perhaps there is something wrong with my configuration files. Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 22:51:11 +0200 Was just looking at your log files again. What SMPP client is your ESME running? Also Kannel? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 19:04 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client I am using gateway (svn) revision 4837 and smppbox (svn) revision 31. I tried also smppbox revision 33. Still the same. I haven't though tried another kannel version. Do you think it can be from the kannel version? Davit _ From: rene.klu...@chimit.nl To: davit.mirzo...@hotmail.com; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Date: Tue, 17 Aug 2010 17:19:06 +0200 Just a long shot: By chance, did you compile with another Kannel version that you are executing? What kind of (svn) version of smppbox are you using? And which Kannel version? == Rene From: Davit Mirzoyan [mailto:davit.mirzo...@hotmail.com] Sent: Tuesday, 17 August, 2010 17:10 To: rene.klu...@chimit.nl; users@kannel.org Subject: RE: smppbox bulk sms: slow reception from a client Hi, I kept playing around with the configuration files but still no luck. Today I tried to send 20 sms to smppbox but my smppbox or kannel kept stalling again. My system receives some 6 sms from my client and than it stalls for 1 minute or so before it continues receiving the rest. Moreover, my client does not receive all the deliveries back. It gets some 12 out of 20. I checked my log files and I noticed several error and warning messages. In my smppbox.log I get the following error and warning messages periodically. DEBUG: SMPP[ESME]: Sending PDU: DEBUG: SMPP PDU 0x910c7b0 dump: DEBUG: type_name: bind_receiver_resp DEBUG: command_id: 2147483649 = 0x8001 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 1 = 0x0001 DEBUG: system_id: VMA DEBUG: SMPP PDU dump ends. WARNING: SMPP: PDU NULL terminated string
RE: Kannel and POP3 google SSL
I copied my answer to your personal email address, like I am doing now... so you should have gotten it: Try this module instead: http://search.cpan.org/~sdowd/Mail-POP3Client-2.17/POP3Client.pm == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Zaharia Constantin Sent: Saturday, 28 August, 2010 22:11 To: users@kannel.org Subject: Re: Kannel and POP3 google SSL sorry, i don't get any answers, i have been accepted only today in the list. i don't know what is answer Rene. sorry again for the spamm Send users mailing list submissions to users@kannel.org To subscribe or unsubscribe via the World Wide Web, visit http://www.kannel.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-requ...@kannel.org You can reach the person managing the list at users-ow...@kannel.org When replying, please edit your Subject line so it is more specific than Re: Contents of users digest... Today's Topics: 1. Re: Getting DLR reports for AT SMSC (Nikos Balkanas) 2. Re: Kannel and POP3 google SSL (Nikos Balkanas) 3. Re: Getting DLR reports for AT SMSC (Gjergji Guri) 4. Re: Getting DLR reports for AT SMSC (Nikos Balkanas) 5. Re: Getting DLR reports for AT SMSC (Alvaro Cornejo) 6. Re: Getting DLR reports for AT SMSC (Gjergji Guri) -- Message: 1 Date: Sat, 28 Aug 2010 14:35:46 +0300 From: Nikos Balkanas nbalka...@gmail.com To: Gjergji Guri gjergji.g...@facilization.com, users@kannel.org Subject: Re: Getting DLR reports for AT SMSC Message-ID: b3686b42580048fdbfc4b2ad57c15...@drwho Content-Type: text/plain; format=flowed; charset=windows-1253; reply-type=original Yes, and it works. Note that using a GSM modem is more reliable than a phone. Some providers do not send DLRs to a phone. But what do you mean by http SMSc? A GSM modem is different than an HTTP smsc. BR, Nikos - Original Message - From: Gjergji Guri To: users@kannel.org Sent: Saturday, August 28, 2010 10:39 AM Subject: Getting DLR reports for AT SMSC Hi, I have no problem to get DLR report for http SMSC by setting the correct dlr-mask and dlr-url. Nevertheless, though my modem driver and network support receiving delivery reports the bearerbox do not process any delivery reports. At page 64 of the User Guide (Feature checklist) or Table 6-2. SMSC driver features I can see that for AT driver the ?Can Use DLR? is set to N. Nevertheless, N is set even for http request where the delivery is working fine in my configuration. Do I need to setup some specific processing for the incoming SMS delivery reports retrieved by the AT modem? Has anyone configured delivery reports with Kannel using a modem (AT SMSC driver)? Any hint, guidance? Cheers, Gjergji -- Message: 2 Date: Sat, 28 Aug 2010 14:37:31 +0300 From: Nikos Balkanas nbalka...@gmail.com To: soulra...@muscel.ro,users@kannel.org Subject: Re: Kannel and POP3 google SSL Message-ID: ca645d15b4694ad59761fcefc0f27...@drwho Content-Type: text/plain; format=flowed; charset=windows-1253; reply-type=original Holly spam! Didn't you send 2 identical emails yesterday? And didn't Rene answered you? Spamming the list is not the way to get help. Nikos - Original Message - From: Zaharia Constantin soulra...@muscel.ro To: users@kannel.org Sent: Saturday, August 28, 2010 7:53 AM Subject: Kannel and POP3 google SSL hy, is it posible ? i have found a pearl script for that, but is not for SSL support, and for Gmail is not working, is it posibile to modify this script for SSL support? i have made some modification on the script but still not working. this is the script... http://www.kannel.org/pipermail/users/2008-July/005309.html Constantin Zaharia Romania -- -- Message: 3 Date: Sat, 28 Aug 2010 14:30:35 +0200 From: Gjergji Guri gjergji.g...@facilization.com To: Nikos Balkanas nbalka...@gmail.com Cc: users@kannel.org Subject: Re: Getting DLR reports for AT SMSC Message-ID: aanlkti=rb1eidzuvafx8ly7zb-+rt=ninjelgptag...@mail.gmail.com Content-Type: text/plain; charset=windows-1252 Many thanks Nikos and good to hear that it works. I've configured DLR callback with Clickatell (system-type = clickatell) having the smsc variable set to http. This is configured as a separate SMSC and I have no problem with processing DLR. I've configure a HUAWEI E618 Mobile Connect - 3G Modem and can send SMS messages using HTTP Push service. In my current configuration I do not see the dlr-url to be called, when I use the GSM modem, which works when message is routed via clickatell. Do I need to make any specific configuration for the GSM modem smsc in order for the delivery status reports to be processed?
RE: have some questions
I suggest you read through the users guide. You can find it on http://www.kannel.org/. It's why it is there. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Ayman Khalaf Sent: Tuesday, 31 August, 2010 14:13 To: Emmanuel CHANSON; users@kannel.org Subject: Re: have some questions Hi Thanks for your reply How can I setup this Playsms version with Kannel on my website , I still don't install Kannel , so I hope to get helping to install Kannel with playsms ( version that you spoke about it ) on my website , if there is any guide or some thing like that I hope to get it , Cause I don't have much experience on that , I stell starter Thanks and waiting your reply Best Regards Ayman On Aug 31, 2010, at 3:34 AM, Emmanuel CHANSON wrote: Depending what you are looking for, PlaySMS 0.9.5-svn : A Credit SMS Rate option is present Current Features - Multiple database engine supported (using PHP PEAR DB) - Send SMS to single mobile phone (web2mobile) - Send SMS broadcasted to a group of mobile phones (web2mobiles) - Support sending flash and unicode message - Receive private SMS to Inbox (mobile2web) - Forward single SMS from mobile to a group of mobile phones (mobile2mobiles) - SMS autoreply, for easy autoreplying formatted incoming SMS - SMS board, forward received SMS to email,html and/or xml page - SMS command, execute server side shell script using SMS - SMS custom, forward incoming SMS to custom SMS application - SMS poll, manage polling system using SMS - SMS quiz, serve quizzes on SMS - SMS subscribe, manage user subscribes to a service using SMS - SMS autosend, automatically send SMS once or repeated - Create your own features, themes and gateway modules as a plugin - Support Gnokii, Kannel, SMS Server Tools or Clickatell - Simple webservices for sending SMS and retrieving delivery reports (input.php) - Long SMS support, length of text configurable on config file - Rate SMS by detination prefix - SMS credit system per user - Web-based interface More dedicated to Kannel ( Mbuni), I have a PlaySMS version where the difference with main project is the following (we are going to merge them for some features, MMS capabilities and others will be addons): Feature added: - Scheduled SMS (use SQLbox) - Mailling SMS (use SQbox instead of SMSbox) - Statistics page - Translation (fr,en) of the GUI - Themes template config from admin panel - Contacts import in CSV now handles UTF-8 characters. - PHP syntaxes fixed (a lot of variable $var['field'] miss simple quote). - Timestamp configuration for Incoming MO from Kannel (geturl.php). - Option to share a subscription service list to a Contact user for Bulk SMS. - Enabling Public visibility for an Admin Contacts group created. - Option to configure a max number of SMS to send in a Bulk SMS. - Statistics page added for users. - Global statistics page for admins. - User guide page added. - Kannel SMS status code displayed in 'GW Status' in all_incoming/outgoing_sms (admin) - New theme. - Option to forward message by SMS also in BOARD service (SMS-Mail+SMS). - SMS-C selection on Kannel config (list in MySQL table). This version is not prepared to be distributed but at least it exists, so that you all know the features available and what can be done using PlaySMS, Kannel and Mbuni. Regards, Emmanuel 2010/8/31 Ayman Khalaf ay...@iboon.net Hi Thanks for your reply I hope that I can get your helping to find how I can put Billing and fornt-end graphical system to become sms provider , is playsms use full for me in this case Thanks and waiting On Aug 31, 2010, at 2:38 AM, Nikos Balkanas wrote: Hi, Kannel provides for HTTP/SMPP connectivity to other SMScs. It even provides text-based configuration of sendsms-user for administrator to manage accounts. It doesn't provide billing or front-end graphical app for creating an managing sendsms-user accounts. This will require hiring a consultant to make them for you. BR, Nikos - Original Message - From: Ayman Khalaf To: users@kannel.org ; commerc...@kannel.org Sent: Monday, August 30, 2010 9:57 PM Subject: have some questions Dear Sir I want ask you some question I want to be provider for sms that I can link my APP with another provider by SMPP and HTTP API and let my customer link their APP with my APP by SMPP and HTTP API so I want APP have below features Can create user account and setup prices for every user and every network Can link with other sms provider by SMPP and HTTP API let my customer link with my APP by SMPP and HTTP API does KANNEL have these features and how can I setup it on my hosting server , cause I have space in JustHost.com http://JustHost.com/ and want to setup Kannel on it , and I heard that I can link Playsms with Kannel in the same host space does that will usefull for me ? and how can do that Thanks in advance Best Regards Dr. Ayman Khalaf AHTeam Co Ltd
RE: Please guide me how to install SMPP Server of Kannel and using it
Looks like you dont have the proper Kannel header files installed on your system. First check out Kannel SVN then configure it and make it and install it. Also: Read the smppbox users guide at: www.chimit.nl/kannel/userguide.pdf == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Amritesh Rachelwar Sent: Tuesday, 31 August, 2010 13:16 To: users Subject: Please guide me how to install SMPP Server of Kannel and using it Hi, I am trying to use smpp server of kannel, I have downloaded contents from https://svn.kannel.org/smppbox/trunk/;. But when following steps to install it into red hat 5 StepCommand Output 1../configure is OK 2.make giving error as following [r...@localhost smppbox]# make make all-recursive make[1]: Entering directory `/usr/local/gateway-1.4.3/smppbox' Making all in gw make[2]: Entering directory `/usr/local/gateway-1.4.3/smppbox/gw' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/openssl -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:80:26: error: gw/meta_data.h: No such file or directory smppbox.c: In function âsend_pduâ: smppbox.c:522: warning: passing argument 1 of âsmpp_pdu_packâ from incompatible pointer type smppbox.c:522: error: too many arguments to function âsmpp_pdu_packâ smppbox.c: In function âread_pduâ: smppbox.c:579: error: too many arguments to function âsmpp_pdu_unpackâ smppbox.c: In function âmsg_to_pduâ: smppbox.c:722: error: too many arguments to function âdlr_findâ smppbox.c:809: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:809: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:821: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:821: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:911: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:911: warning: assignment makes pointer from integer without a cast smppbox.c:961: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:961: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:972: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:972: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c: In function âpdu_to_msgâ: smppbox.c:1157: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1158: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1159: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1159: error: âstruct submit_smâ has no member named âtlvâ smppbox.c: In function âdata_sm_to_msgâ: smppbox.c:1312: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1313: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1314: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1314: error: âstruct data_smâ has no member named âtlvâ smppbox.c: In function ârun_smppboxâ: smppbox.c:1936: warning: cast from pointer to integer of different size smppbox.c: In function âwait_for_connectionsâ: smppbox.c:1993: warning: cast to pointer from integer of different size smppbox.c: In function âsmppboxc_runâ: smppbox.c:2008: warning: cast from pointer to integer of different size make[2]: *** [smppbox.o] Error 1 make[2]: Leaving directory `/usr/local/gateway-1.4.3/smppbox/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/gateway-1.4.3/smppbox' make: *** [all] Error 2 Thanks and Regards Amritesh
RE: Please guide me how to install SMPP Server of Kannel and using it
Better use the Kannel users list for these questions. You might even get an answer. From: Amritesh Rachelwar [mailto:amriteshs...@gmail.com] Sent: Wednesday, 01 September, 2010 07:57 To: Rene Kluwen Subject: Re: Please guide me how to install SMPP Server of Kannel and using it Hi, Thanks for your valuable suggestions As I am new for SMPPbox feature of kannel. As let I explain what I have done and what is pending My OS is Red Hat 5 1. I have installed kannel gateway 1.4.3 under directory /usr/local/gateway/ 2. Run bearer box and smsbox 3 Able to send sms and receive sms Now I am trying to use smpp box feature also so some else also can bind with my server over SMPP. For that I downloaded all files from https://svn.kannel.org/smppbox/trunk/ and keep under /usr/local/smppbox/ Now when I am trying to install it, it is creating problem. So please guide me how to install smppbox feature. Thanks in advance Thanks and Regards Amritesh Deepak Rachelwar JTO (Mobile) SMSC,Pune On Wed, Sep 1, 2010 at 5:03 AM, Rene Kluwen rene.klu...@chimit.nl wrote: Looks like you dont have the proper Kannel header files installed on your system. First check out Kannel SVN then configure it and make it and install it. Also: Read the smppbox users guide at: www.chimit.nl/kannel/userguide.pdf == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Amritesh Rachelwar Sent: Tuesday, 31 August, 2010 13:16 To: users Subject: Please guide me how to install SMPP Server of Kannel and using it Hi, I am trying to use smpp server of kannel, I have downloaded contents from https://svn.kannel.org/smppbox/trunk/;. But when following steps to install it into red hat 5 StepCommand Output 1../configure is OK 2.make giving error as following [r...@localhost smppbox]# make make all-recursive make[1]: Entering directory `/usr/local/gateway-1.4.3/smppbox' Making all in gw make[2]: Entering directory `/usr/local/gateway-1.4.3/smppbox/gw' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/openssl -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:80:26: error: gw/meta_data.h: No such file or directory smppbox.c: In function âsend_pduâ: smppbox.c:522: warning: passing argument 1 of âsmpp_pdu_packâ from incompatible pointer type smppbox.c:522: error: too many arguments to function âsmpp_pdu_packâ smppbox.c: In function âread_pduâ: smppbox.c:579: error: too many arguments to function âsmpp_pdu_unpackâ smppbox.c: In function âmsg_to_pduâ: smppbox.c:722: error: too many arguments to function âdlr_findâ smppbox.c:809: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:809: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:821: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:821: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:911: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:911: warning: assignment makes pointer from integer without a cast smppbox.c:961: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:961: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:972: error: âstruct deliver_smâ has no member named âtlvâ smppbox.c:972: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c: In function âpdu_to_msgâ: smppbox.c:1157: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1158: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1159: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1159: error: âstruct submit_smâ has no member named âtlvâ smppbox.c: In function âdata_sm_to_msgâ: smppbox.c:1312: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1313: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1314: error: âstruct smsâ has no member named âmeta_dataâ smppbox.c:1314: error: âstruct data_smâ has no member named âtlvâ smppbox.c: In function ârun_smppboxâ: smppbox.c:1936: warning: cast from pointer to integer of different size smppbox.c: In function âwait_for_connectionsâ: smppbox.c:1993: warning: cast to pointer from integer of different size smppbox.c: In function âsmppboxc_runâ: smppbox.c:2008: warning: cast from pointer to integer of different size make[2]: *** [smppbox.o] Error 1 make[2]: Leaving directory `/usr/local/gateway-1.4.3/smppbox/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/gateway-1.4.3/smppbox' make: *** [all] Error 2 Thanks and Regards Amritesh
RE: Inbound SMPP connection to Kannel? How to?
For incoming SMPP traffic, see www.chimit.nl/kannel/userguide.pdf == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Peter Mohr Sent: Wednesday, 01 September, 2010 14:34 To: ha...@aeon.pk Cc: users@kannel.org Subject: RE: Inbound SMPP connection to Kannel? How to? Sorry, i dont get that. I guess I must specify username/password + port that can listen for incoming SMPP traffic but how is that related to the keywords and sms-service group ? _ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects http://www.mobilityarchitects.com www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionær og forretningsfokuseret tilgang til at løse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige løsninger. Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrådgivning, design af mobil infrastruktur og sikkerhed, rådgivning om udvikling af mobile løsninger, implementering af device management løsninger samt support og uddannelse. From: ha...@aeon.pk [mailto:ha...@aeon.pk] Sent: 1. september 2010 14:30 To: Peter Mohr Cc: users@kannel.org Subject: Re: Inbound SMPP connection to Kannel? How to? group = sms-service keyword = nop text = You asked nothing and I did it! group = sms-service keyword = hitme text = Aint hitting on girls... # 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 Incoming traffic is controlled by these parameters. You need to define URLs to your localhost/any other server to route traffic. On Wed, Sep 1, 2010 at 5:26 PM, Peter Mohr p...@mobilityarchitects.com wrote: Currently it uses AT/Modem to send messages but Im looking for inbound SMPP . #- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = #admin-allow-ip = #log-file = /tmp/kannel.log #log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #unified-prefix = +358,00358,0;+,00 #access-log = /tmp/access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem #ssl-certkey-file = mycertandprivkeyfile.pem #- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! group = smsc smsc = fake smsc-id = FAKE port = 1 connect-allow-ip = 127.0.0.1 group = smsc #smsc = at smsc = smpp modemtype = auto device=/dev/ttyS0 my-number = +4520330358 connect-allow-ip = 127.0.0.1 log-level = 0 #speed = 115200 sms-center = +4540390999 group = modems id = siemens_tc35 name = Siemens TC35 detect-string = SIEMENS detect-string2 = TC35 init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true #- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = +4520330358 #sendsms-chars = 0123456789 +- log-file = /tmp/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 http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar. .. group = sendsms-user username = playsms password = * #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! group = sms-service keyword = hitme text = Aint hitting on girls... # There should be always a 'default' service. This
RE: where to download Open smppbox
Issue a svn co https://svn.kannel.org/smppbox/trunk; from your unix command line. From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 15:50 To: Rene Kluwen Cc: users Subject: where to download Open smppbox Hi rene, Can you please guide me how to install Open smppbox svn-r35M , I have got the PDF file, But don't know where to download the source code. Regards Anshu
RE: help with kannel linking with mysql
What do you mean linking Kannel with mysql? I am not sure what your purpose is. But maybe the documentation on http://www.blogalex.com/archives/46 will help. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of mac...@fastermail.com Sent: Wednesday, 01 September, 2010 18:11 To: users@kannel.org Subject: help with kannel linking with mysql hi.i installed kannel from an rpm package and i have asked this question to the mailing list members but nobody seems to offer me any help because they always tell me to read the user guide which i have read on many occassions to know avail.anyone who has experiance of configuring kannel with mysql support please provide with the steps that you took bearing in mind that kannel installation was done from an rpm package and that i want to use the mysql that comes with fedora 13.
RE: where to download Open smppbox
How did you place your source files in /usr/local/include/kannel? Did you just copy them? For smppbox, you need to extract the kannel sources in a directory of your choice and configure make make install them. After that, do the same for the smppbox. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 21:09 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, To Install SMPPBOX i placed kannel source files at /usr/local/include/kannel and SMPPBOX files at /usr/local/include/smppbox Kannel is easily compiled from there, But if i am compiling smppbox i am getting error. configure: error: Kannel gwlib is required! Please guide. Regards Anshu On Wed, Sep 1, 2010 at 7:57 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Issue a svn co https://svn.kannel.org/smppbox/trunk; from your unix command line. From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 15:50 To: Rene Kluwen Cc: users Subject: where to download Open smppbox Hi rene, Can you please guide me how to install Open smppbox svn-r35M , I have got the PDF file, But don't know where to download the source code. Regards Anshu
RE: where to download Open smppbox
True. It doesn't work like that. First you have to install the Kannel header files and libraries (make install). After that, smppbox will find them where you installed them. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 22:15 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Thanks Rene, Yes, i copied it manually in /usr/local/include/kannel But i was confused. Earlier i installed kannel from any other directory /projects/kannel/gateway-1.4.3/ and SMPPBOX to /projects/kannel/smppbox/ But when i type command below to install smppbox, got error. ./configure --with-kannel-dir=/projects/kannel/gateway-1.4.3/ Please guide Regards Anshu On Thu, Sep 2, 2010 at 1:21 AM, Rene Kluwen rene.klu...@chimit.nl wrote: How did you place your source files in /usr/local/include/kannel? Did you just copy them? For smppbox, you need to extract the kannel sources in a directory of your choice and configure make make install them. After that, do the same for the smppbox. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 21:09 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, To Install SMPPBOX i placed kannel source files at /usr/local/include/kannel and SMPPBOX files at /usr/local/include/smppbox Kannel is easily compiled from there, But if i am compiling smppbox i am getting error. configure: error: Kannel gwlib is required! Please guide. Regards Anshu On Wed, Sep 1, 2010 at 7:57 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Issue a svn co https://svn.kannel.org/smppbox/trunk; from your unix command line. From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 15:50 To: Rene Kluwen Cc: users Subject: where to download Open smppbox Hi rene, Can you please guide me how to install Open smppbox svn-r35M , I have got the PDF file, But don't know where to download the source code. Regards Anshu
RE: Meta data parameters in kannel snapshot version (31/08/2010)
Instead of relying on Kannel's standard reply-text mechanism, you may want your php script to return nothing (empty string) in combination with omit-empty = true. Your script then does it's processing and posts the result via the sendsms-url back to Kannel, including the meta-data. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jan van der Vyver Sent: Wednesday, 01 September, 2010 23:38 To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Meta data parameters in kannel snapshot version (31/08/2010) Hi Here is the url we use to test. http://xxx.xxx.xxx.xxx:/cgi-bin/sendsms?username=usernamepassword=passw ordto=0833795999text=testmeta-data=%3Fsmpp%3Fdestination_port%3D9280 This will work to test it. But I need it to work for the following case: Receive message via smpp - kannel makes url call as configured - kannel receives result from php script - kannel send message back via smpp. Do I understand correct that the meta-data option set in my configuration below is set correct? Thank you for the help sofar. Jan From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: 01 September 2010 04:53 PM To: j...@in2one.co.za Cc: Jonathan Zylberberg; users@kannel.org Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010) ?smpp?destination_port=9280 must be url-encoded. Please try fixing that and post the complete url if it doesn't work, to rule out any ambiguities. Regards, Alex On Wed, Sep 1, 2010 at 4:24 PM, Jan van der Vyver j...@in2one.co.za wrote: Dear Alex We tried to create the reply by adding the following to our sendsms url meta-data=?smpp?destination_port=9280 And by just echoing the message back on the sms-service http://192.168.1.35/srs/ussd/handle.php?from=%pto=%pmessage=%rbinary=%b; type=%itime=%t Is the meta-data option in the smsc config part ignored? Kind Regards Jan From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: 01 September 2010 04:10 PM To: j...@in2one.co.za Cc: Jonathan Zylberberg; users@kannel.org Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010) How are you creating the reply? I guess it's using a sendsms url? Please post it. Regards, Alex On Wed, Sep 1, 2010 at 3:55 PM, Jan van der Vyver j...@in2one.co.za wrote: Dear All We are connecting to an SMSC for USSD purposes. We require to send a destination_port=9280 meta-data in the outgoing smpp pdu. We have updated the kannel to the svn checkout made on 31/08/2010. Our current config is included aswell as debug for incoming and outgoing messages. What are we configuring or doing wrong, why is the meta-data not set in the outgoing pdu. Kind Regards Jan Config: group = smsc smsc-id = USSD23 smsc = smpp host = xxx.xxx.xxx.xxx port = 2775 transceiver-mode = true smsc-username = smsc-password = system-type = service-type = address-range = meta-data = %3Fsmpp%3Fdestination_port%3D9280 my-number = 178 source-addr-autodetect = no source-addr-ton = 6 source-addr-npi = 0 interface-version = 34 group = sms-service keyword = default get-url = http://192.168.1.35/srs/ussd/handle.php?from=%pto=%pmessage=%rbinary=%b; type=%itime=%t accepted-smsc = USSD23 group = smpp-tlv name = destination_port tag = 0x020B type = integer length = 2 smsc-id = USSD23 group = smpp-tlv name = source_port tag = 0x020A type = integer length = 2 smsc-id = USSD23 INCOMING: 2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter tag (0x020b) 2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter length read as 2 2010-09-01 15:48:41 [24667] [6] DEBUG: Found configured optional parameter `destination_port' 2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter tag (0x020a) 2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter length read as 2 2010-09-01 15:48:41 [24667] [6] DEBUG: Found configured optional parameter `source_port' 2010-09-01 15:48:41 [24667] [6] DEBUG: SMPP[USSD25]: Got PDU: 2010-09-01 15:48:41 [24667] [6] DEBUG: SMPP PDU 0x12c06d0 dump: 2010-09-01 15:48:41 [24667] [6] DEBUG: type_name: deliver_sm 2010-09-01 15:48:41 [24667] [6] DEBUG: command_id: 5 = 0x0005 2010-09-01 15:48:41 [24667] [6] DEBUG: command_status: 0 = 0x 2010-09-01 15:48:41 [24667] [6] DEBUG: sequence_number: 256475144 = 0x0f498008 2010-09-01 15:48:41 [24667] [6] DEBUG: service_type: NULL 2010-09-01 15:48:41 [24667] [6] DEBUG: source_addr_ton: 1 = 0x0001 2010-09-01 15:48:41 [24667] [6] DEBUG: source_addr_npi: 1 = 0x0001 2010-09-01 15:48:41 [24667] [6] DEBUG: source_addr: 263733529945 2010-09-01 15:48:41 [24667] [6] DEBUG: dest_addr_ton: 2 = 0x0002 2010-09-01 15:48:41 [24667] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2010-09-01 15:48:41 [24667] [6] DEBUG: destination_addr: -263178 2010-09-01 15:48:41 [24667] [6] DEBUG: esm_class: 0 = 0x 2010-09-01 15:48:41 [24667] [6] DEBUG: protocol_id: 255 = 0x00ff 2010-09-01
RE: Inbound SMPP connection to Kannel? How to?
You are starting up bearerbox with the smppbox config file. Instead you have to start up smppbox, which is a separate binary. The sequence is as follows: 1. Start bearerbox with its own config (group = core, etc). 2. Start smppbox also with its own config- that connects to bearerbox. == Rene From: Peter Mohr [mailto:p...@mobilityarchitects.com] Sent: Thursday, 02 September, 2010 00:28 To: Rene Kluwen; ha...@aeon.pk Cc: users@kannel.org Subject: RE: Inbound SMPP connection to Kannel? How to? Any suggestions ? _ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects http://www.mobilityarchitects.com www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionær og forretningsfokuseret tilgang til at løse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige løsninger. Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrådgivning, design af mobil infrastruktur og sikkerhed, rådgivning om udvikling af mobile løsninger, implementering af device management løsninger samt support og uddannelse. From: Peter Mohr Sent: 2. september 2010 00:27 To: 'Rene Kluwen'; 'ha...@aeon.pk' Cc: 'users@kannel.org' Subject: RE: Inbound SMPP connection to Kannel? How to? Rene, I think I did everything as I should but I get this error: 2010-09-02 00:18:37 [20629] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-09-02 00:18:37 [20629] [0] ERROR: Group 'smppbox' is no valid group identifier. 2010-09-02 00:18:37 [20629] [0] ERROR: Error found on line 53 of file `/etc/kannel/kannel.conf'. 2010-09-02 00:18:37 [20629] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2010-09-02 00:18:37 [20629] [0] PANIC: bearerbox(gw_panic+0x15a) [0x4841ea] 2010-09-02 00:18:37 [20629] [0] PANIC: bearerbox(main+0xc94) [0x40efb4] 2010-09-02 00:18:37 [20629] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f65a31d8c4d] 2010-09-02 00:18:37 [20629] [0] PANIC: bearerbox() [0x40d429] My conf looks like this: group = smppbox bearerbox-host = 127.0.0.1 bearerbox-port = 13000 smppbox-id = smppbox1 smppbox-port = 13001 log-file = /var/log/kannel/smppbox.log log-level = 0 our-system-id = MA_Kannel smpp-logins = /etc/smppbox/clients _ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects http://www.mobilityarchitects.com www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionær og forretningsfokuseret tilgang til at løse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige løsninger. Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrådgivning, design af mobil infrastruktur og sikkerhed, rådgivning om udvikling af mobile løsninger, implementering af device management løsninger samt support og uddannelse. From: Peter Mohr Sent: 1. september 2010 15:34 To: 'Rene Kluwen'; ha...@aeon.pk Cc: users@kannel.org Subject: RE: Inbound SMPP connection to Kannel? How to? Thanks. Ill dig deeper into that. \Peter _ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects http://www.mobilityarchitects.com www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionær og forretningsfokuseret tilgang til at løse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige løsninger. Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrådgivning, design af mobil infrastruktur og sikkerhed, rådgivning om udvikling af mobile løsninger, implementering af device management løsninger samt support og uddannelse. From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: 1. september 2010 15:08 To: Peter Mohr; ha...@aeon.pk Cc: users@kannel.org Subject: RE: Inbound SMPP connection to Kannel? How to? For incoming SMPP traffic, see www.chimit.nl/kannel/userguide.pdf == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Peter Mohr Sent: Wednesday, 01 September, 2010 14:34 To: ha...@aeon.pk Cc: users@kannel.org Subject: RE: Inbound SMPP connection to Kannel? How to? Sorry, i dont get that. I guess I must specify username/password + port that can listen for incoming SMPP traffic but how is that related to the keywords and sms-service group ? _ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects http://www.mobilityarchitects.com www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største
RE: where to download Open smppbox
Which version of Kannel did you install? You need svn trunk. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Thursday, 02 September, 2010 00:42 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, The Configure command worked well after the command make install in the Kannel folder. But when i run make. It given the below error. Please suggest. -- Regards Anshu r...@msclient5:/projects/kannel/SMPPBox# make make all-recursive make[1]: Entering directory `/projects/kannel/SMPPBox' Making all in gw make[2]: Entering directory `/projects/kannel/SMPPBox/gw' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:80:26: error: gw/meta_data.h: No such file or directory smppbox.c: In function 'check_login': smppbox.c:280: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result smppbox.c: In function 'send_pdu': smppbox.c:522: warning: passing argument 1 of 'smpp_pdu_pack' from incompatible pointer type /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected 'struct SMPP_PDU *' but argument is of type 'struct Octstr *' smppbox.c:522: error: too many arguments to function 'smpp_pdu_pack' smppbox.c: In function 'read_pdu': smppbox.c:579: error: too many arguments to function 'smpp_pdu_unpack' smppbox.c: In function 'msg_to_pdu': smppbox.c:629: warning: format '%d' expects type 'int', but argument 5 has type 'long int' smppbox.c:629: warning: format '%d' expects type 'int', but argument 6 has type 'long int' smppbox.c:661: warning: format '%d' expects type 'int', but argument 5 has type 'long int' smppbox.c:661: warning: format '%d' expects type 'int', but argument 6 has type 'long int' smppbox.c:722: error: too many arguments to function 'dlr_find' smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format smppbox.c:809: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:809: error: 'struct sms' has no member named 'meta_data' smppbox.c:821: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:821: error: 'struct sms' has no member named 'meta_data' smppbox.c:911: error: 'struct sms' has no member named 'meta_data' smppbox.c:961: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:961: error: 'struct sms' has no member named 'meta_data' smppbox.c:972: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:972: error: 'struct sms' has no member named 'meta_data' smppbox.c: In function 'pdu_to_msg': smppbox.c:1157: error: 'struct sms' has no member named 'meta_data' smppbox.c:1158: error: 'struct sms' has no member named 'meta_data' smppbox.c:1159: error: 'struct sms' has no member named 'meta_data' smppbox.c:1159: error: 'struct submit_sm' has no member named 'tlv' smppbox.c: In function 'data_sm_to_msg': smppbox.c:1312: error: 'struct sms' has no member named 'meta_data' smppbox.c:1313: error: 'struct sms' has no member named 'meta_data' smppbox.c:1314: error: 'struct sms' has no member named 'meta_data' smppbox.c:1314: error: 'struct data_sm' has no member named 'tlv' smppbox.c: In function 'check_multipart': smppbox.c:1358: warning: format '%d' expects type 'int', but argument 4 has type 'long int' smppbox.c:1374: warning: format '%d' expects type 'int', but argument 4 has type 'long int' smppbox.c: In function 'bearerbox_to_smpp': smppbox.c:1815: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int' smppbox.c:1820: warning: format '%i' expects type 'int', but argument 4 has type 'long int' smppbox.c: In function 'run_smppbox': smppbox.c:1936: warning: cast from pointer to integer of different size smppbox.c: In function 'wait_for_connections': smppbox.c:1993: warning: cast to pointer from integer of different size smppbox.c: In function 'smppboxc_run': smppbox.c:2008: warning: cast from pointer to integer of different size make[2]: *** [smppbox.o] Error 1 make[2]: Leaving directory `/projects/kannel/SMPPBox/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/projects/kannel/SMPPBox' make: *** [all] Error 2 On Thu, Sep 2, 2010 at 2:59 AM, Rene Kluwen rene.klu...@chimit.nl wrote: True. It doesn't work like that. First you have to install the Kannel header files and libraries (make install). After that, smppbox will find them where you installed them. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Wednesday, 01 September, 2010 22:15 To: Rene Kluwen Cc: users Subject: Re: where
RE: where to download Open smppbox
As said, you need svn trunk. Version 1.4.3 lacks some functionality that smppbox needs. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Thursday, 02 September, 2010 02:58 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC Regards Anshu On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen rene.klu...@chimit.nl wrote: Which version of Kannel did you install? You need svn trunk. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Thursday, 02 September, 2010 00:42 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, The Configure command worked well after the command make install in the Kannel folder. But when i run make. It given the below error. Please suggest. -- Regards Anshu r...@msclient5:/projects/kannel/SMPPBox# make make all-recursive make[1]: Entering directory `/projects/kannel/SMPPBox' Making all in gw make[2]: Entering directory `/projects/kannel/SMPPBox/gw' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:80:26: error: gw/meta_data.h: No such file or directory smppbox.c: In function 'check_login': smppbox.c:280: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result smppbox.c: In function 'send_pdu': smppbox.c:522: warning: passing argument 1 of 'smpp_pdu_pack' from incompatible pointer type /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected 'struct SMPP_PDU *' but argument is of type 'struct Octstr *' smppbox.c:522: error: too many arguments to function 'smpp_pdu_pack' smppbox.c: In function 'read_pdu': smppbox.c:579: error: too many arguments to function 'smpp_pdu_unpack' smppbox.c: In function 'msg_to_pdu': smppbox.c:629: warning: format '%d' expects type 'int', but argument 5 has type 'long int' smppbox.c:629: warning: format '%d' expects type 'int', but argument 6 has type 'long int' smppbox.c:661: warning: format '%d' expects type 'int', but argument 5 has type 'long int' smppbox.c:661: warning: format '%d' expects type 'int', but argument 6 has type 'long int' smppbox.c:722: error: too many arguments to function 'dlr_find' smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format smppbox.c:809: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:809: error: 'struct sms' has no member named 'meta_data' smppbox.c:821: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:821: error: 'struct sms' has no member named 'meta_data' smppbox.c:911: error: 'struct sms' has no member named 'meta_data' smppbox.c:961: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:961: error: 'struct sms' has no member named 'meta_data' smppbox.c:972: error: 'struct deliver_sm' has no member named 'tlv' smppbox.c:972: error: 'struct sms' has no member named 'meta_data' smppbox.c: In function 'pdu_to_msg': smppbox.c:1157: error: 'struct sms' has no member named 'meta_data' smppbox.c:1158: error: 'struct sms' has no member named 'meta_data' smppbox.c:1159: error: 'struct sms' has no member named 'meta_data' smppbox.c:1159: error: 'struct submit_sm' has no member named 'tlv' smppbox.c: In function 'data_sm_to_msg': smppbox.c:1312: error: 'struct sms' has no member named 'meta_data' smppbox.c:1313: error: 'struct sms' has no member named 'meta_data' smppbox.c:1314: error: 'struct sms' has no member named 'meta_data' smppbox.c:1314: error: 'struct data_sm' has no member named 'tlv' smppbox.c: In function 'check_multipart': smppbox.c:1358: warning: format '%d' expects type 'int', but argument 4 has type 'long int' smppbox.c:1374: warning: format '%d' expects type 'int', but argument 4 has type 'long int' smppbox.c: In function 'bearerbox_to_smpp': smppbox.c:1815: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int' smppbox.c:1820: warning: format '%i' expects type 'int', but argument 4 has type 'long int' smppbox.c: In function 'run_smppbox': smppbox.c:1936: warning: cast from pointer to integer of different size smppbox.c: In function 'wait_for_connections': smppbox.c:1993: warning: cast to pointer from integer of different size smppbox.c: In function 'smppboxc_run': smppbox.c:2008: warning: cast from pointer to integer of different size make[2]: *** [smppbox.o] Error 1 make[2]: Leaving directory `/projects/kannel/SMPPBox/gw' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/projects/kannel/SMPPBox' make: *** [all
RE: Multiple SMSBOXs for Kannel
You need to have multiple smsboxes connected. Which means starting up smsbox twice, each with its own smsbox.conf. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 00:07 To: users Cc: Rene Kluwen Subject: Multiple SMSBOXs for Kannel Hello Rene, At one more Place I am stuck, I Have Declared 2 SMSC in same way declaring 2 SMSBOXs but when i am running kannel, It is showing one SMSBOX connected # group = smsbox-route smsbox-id = BOX1 smsc-id = SMSCA group = smsbox-route smsbox-id = BOX2 smsc-id = SMSCB # Regards, Anshu
RE: Invalid SMPP PDU received SMPPBOX
What error do you get? == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 02:44 To: users Cc: Rene Kluwen; Nikos Balkanas Subject: Invalid SMPP PDU received SMPPBOX Hello Rene, After Updating Files from SVN Trunk I am able to install SMPPBOX But I am getting Some error. I am pasting my SMPPBOX config Login file Text Also SMPP Group Content Please guide. Regards Anshu === group=smsc smsc=smpp smsc-id=SMSC1 host = port = 2345 receive-port = 2345 log-file = /projects/kannel/logs/SMSC1.log log-level = 0 smsc-username = x smsc-password = msg-id-type = 0x01 transceiver-mode=1 system-type = 'default' interface-version = 34 group = smsbox smsbox-id = BOX1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = /projects/kannel/logs/BOX1.log log-level = 0 group = smsbox-route smsbox-id = BOX1 smsc-id = SMSC1 === # this group defines your smppbox group = smppbox # our boxc type smppbox-id = ChimpMaster # the port to listen on for smpp connections smppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13013 log-level = 0 use-systemid-as-smsboxid = false log-file = /projects/kannel/logs/ChimpMaster.log our-system-id = ChimpMaster route-to-smsc = SMSC1 # see sample smpplogins.txt smpp-logins = /projects/kannel/configs/smpplogins.txt smpplogins.txt goodclientsecretBOX1 =
RE: Invalid SMPP PDU received SMPPBOX
What is the PDU that gets sent just before that? A bind? Then it looks like the credentials are not correct. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 04:24 To: Rene Kluwen Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, Error is Invalid SMPP PDU received Logs are below = 2010-09-02 18:17:44 [1937] [2] DEBUG:Octet string dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP[ChimpMaster]: Sending PDU: 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU 0x96b3e68 dump: 2010-09-02 18:17:44 [1937] [2] DEBUG: type_name: generic_nack 2010-09-02 18:17:44 [1937] [2] DEBUG: command_id: 2147483648 = 0x8000 2010-09-02 18:17:44 [1937] [2] DEBUG: command_status: 14 = 0x000e 2010-09-02 18:17:44 [1937] [2] DEBUG: sequence_number: 3 = 0x0003 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:45 [1937] [2] ERROR: Invalid SMPP PDU received. 2010-09-02 18:17:45 [1937] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. 2010-09-02 18:17:46 [1937] [1] DEBUG: Thread 1 (smppbox.c:function) terminates. On Fri, Sep 3, 2010 at 7:23 AM, Rene Kluwen rene.klu...@chimit.nl wrote: What error do you get? == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 02:44 To: users Cc: Rene Kluwen; Nikos Balkanas Subject: Invalid SMPP PDU received SMPPBOX Hello Rene, After Updating Files from SVN Trunk I am able to install SMPPBOX But I am getting Some error. I am pasting my SMPPBOX config Login file Text Also SMPP Group Content Please guide. Regards Anshu === group=smsc smsc=smpp smsc-id=SMSC1 host = port = 2345 receive-port = 2345 log-file = /projects/kannel/logs/SMSC1.log log-level = 0 smsc-username = x smsc-password = msg-id-type = 0x01 transceiver-mode=1 system-type = 'default' interface-version = 34 group = smsbox smsbox-id = BOX1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = /projects/kannel/logs/BOX1.log log-level = 0 group = smsbox-route smsbox-id = BOX1 smsc-id = SMSC1 === # this group defines your smppbox group = smppbox # our boxc type smppbox-id = ChimpMaster # the port to listen on for smpp connections smppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13013 log-level = 0 use-systemid-as-smsboxid = false log-file = /projects/kannel/logs/ChimpMaster.log our-system-id = ChimpMaster route-to-smsc = SMSC1 # see sample smpplogins.txt smpp-logins = /projects/kannel/configs/smpplogins.txt smpplogins.txt goodclientsecretBOX1 =
RE: top priority queue
Userguide is wrong. 3 is the highest priority. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Hillel Sent: Friday, 03 September, 2010 12:09 To: 'Nikos Balkanas' Cc: users@kannel.org Subject: top priority queue Hi Nikos, If you look at the latest SVN of the Kannel docs http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html you will see that under the section Using the HTTP interface to send SMS messages it mentions: priority number Optional. Sets the Priority value (range 0-3 is allowed) but does not say if 0 or 3 is the top priority. Then under the section SM/ASI (for CriticalPath InVoke SMS Center 4.x) the user guide mentions: priority number Optional, sets the default priority of messages transmitted over this smsc link. (Defaults to 0, which is the highest priority) This would imply that Kannel sets 0 to be the highest priority queue, as why would Kannel have a 0 as top priority for one service and not for the others. You mention below in your email that being 3 the highest and 0 the lowest Please confirm what is the top and the lowest priority queue? thanks - Original Message - From: Alejandro Guerrieri To: Nikos Balkanas Cc: Waqas Farooq ; users@kannel.org Sent: Tuesday, July 20, 2010 4:11 PM Subject: Re: Kannel queue with same priority is unpredictable That's not correct. At least on SVN for a good time now, Kannel honors priorities, being 3 the highest and 0 the lowest. That means that if you have a big queue of priority-1 messages and send one priority-2 or 3 message, it will get delivered before the rest of the queue. The priority is also passed to the SMSC by means of SMPP's priority flag, but afaik most carriers ignore ESME settings for priority so do not expect it to work. Regards, Alex
RE: Invalid SMPP PDU received SMPPBOX
Try to add an ip-mask, like this: goodclient secret BOX1 *.*.*.* == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 13:02 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, My SMPPLogin.txt looks like below. username TABpasswordTABSMSBOX-ID Please let me know if it is correct? smpplogins.txt == goodclientsecretBOX1 == # this group defines your smppbox group = smppbox # our boxc type smppbox-id = ChimpMaster # the port to listen on for smpp connections smppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13013 log-level = 0 use-systemid-as-smsboxid = false log-file = /projects/kannel/logs/ ChimpMaster.log our-system-id = ChimpMaster route-to-smsc = SMSC1 # see sample smpplogins.txt smpp-logins = /projects/kannel/configs/smpplogins.txt On Fri, Sep 3, 2010 at 3:50 PM, Rene Kluwen rene.klu...@chimit.nl wrote: What is the PDU that gets sent just before that? A bind? Then it looks like the credentials are not correct. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 04:24 To: Rene Kluwen Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, Error is Invalid SMPP PDU received Logs are below = 2010-09-02 18:17:44 [1937] [2] DEBUG:Octet string dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP[ChimpMaster]: Sending PDU: 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU 0x96b3e68 dump: 2010-09-02 18:17:44 [1937] [2] DEBUG: type_name: generic_nack 2010-09-02 18:17:44 [1937] [2] DEBUG: command_id: 2147483648 = 0x8000 2010-09-02 18:17:44 [1937] [2] DEBUG: command_status: 14 = 0x000e 2010-09-02 18:17:44 [1937] [2] DEBUG: sequence_number: 3 = 0x0003 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:45 [1937] [2] ERROR: Invalid SMPP PDU received. 2010-09-02 18:17:45 [1937] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. 2010-09-02 18:17:46 [1937] [1] DEBUG: Thread 1 (smppbox.c:function) terminates. On Fri, Sep 3, 2010 at 7:23 AM, Rene Kluwen rene.klu...@chimit.nl wrote: What error do you get? == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 02:44 To: users Cc: Rene Kluwen; Nikos Balkanas Subject: Invalid SMPP PDU received SMPPBOX Hello Rene, After Updating Files from SVN Trunk I am able to install SMPPBOX But I am getting Some error. I am pasting my SMPPBOX config Login file Text Also SMPP Group Content Please guide. Regards Anshu === group=smsc smsc=smpp smsc-id=SMSC1 host = port = 2345 receive-port = 2345 log-file = /projects/kannel/logs/SMSC1.log log-level = 0 smsc-username = x smsc-password = msg-id-type = 0x01 transceiver-mode=1 system-type = 'default' interface-version = 34 group = smsbox smsbox-id = BOX1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = /projects/kannel/logs/BOX1.log log-level = 0 group = smsbox-route smsbox-id = BOX1 smsc-id = SMSC1 === # this group defines your smppbox group = smppbox # our boxc type smppbox-id = ChimpMaster # the port to listen on for smpp connections smppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13013 log-level = 0 use-systemid-as-smsboxid = false log-file = /projects/kannel/logs/ChimpMaster.log our-system-id = ChimpMaster route-to-smsc = SMSC1 # see sample smpplogins.txt smpp-logins = /projects/kannel/configs/smpplogins.txt smpplogins.txt goodclientsecretBOX1 =
RE: Invalid SMPP PDU received SMPPBOX
From what I see below, you get error code 13. Which is “invalid credentials”. Try: use-systemid-as-smsboxid = true in your smppbox.conf. Just to see it is matters or not. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 22:10 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, It is Still not working.:( This time SMPP is giving error Code 14. I am pasting below the result of my SMPP Aplication in PHP Bind Transmitter PDU: 103 111 111 100 99 108 105 101 110 116 0 115 101 99 114 101 116 0 100 101 102 97 117 108 116 0 52 1 1 0 Sending PDU, len == 46 Sending PDU, header-len == 16 Sending PDU, command_id == 2 Sending PDU, sequence number == 1 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 17 bytes. Stream len : 13 Stream Hex : 80 00 00 02 00 00 00 0d 00 00 00 01 00 Command id : 2. Command status : 13. sequence_number : 1. Got bind_transmitter_RESP. system id : . Received PDU: €(0)(0)(2)(0)(0)(0)(13)(0)(0)(0)(1)(0) Error binding to SMPP server. Invalid credentials? Sending PDU, len == 16 Sending PDU, header-len == 16 Sending PDU, command_id == 21 Sending PDU, sequence number == 2 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 16 bytes. Stream len : 12 Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 02 Command id : 0. Command status : 14. sequence_number : 2. Got unknow 0 SMPP pdu. Received PDU: €(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(2) In split_message. One message: 86 PDU spec: a1cca5cca13ccca1a1ca86. Sending PDU, len == 135 Sending PDU, header-len == 16 Sending PDU, command_id == 4 Sending PDU, sequence number == 3 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 16 bytes. Stream len : 12 Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 03 Command id : 0. Command status : 14. sequence_number : 3. Got unknow 0 SMPP pdu. Received PDU: €(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(3) SMPP server returned error 14. = On Fri, Sep 3, 2010 at 5:04 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Try to add an ip-mask, like this: goodclient secret BOX1 *.*.*.* == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 13:02 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, My SMPPLogin.txt looks like below. username TABpasswordTABSMSBOX-ID Please let me know if it is correct? smpplogins.txt == goodclientsecretBOX1 == # this group defines your smppbox group = smppbox # our boxc type smppbox-id = ChimpMaster # the port to listen on for smpp connections smppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13013 log-level = 0 use-systemid-as-smsboxid = false log-file = /projects/kannel/logs/ ChimpMaster.log our-system-id = ChimpMaster route-to-smsc = SMSC1 # see sample smpplogins.txt smpp-logins = /projects/kannel/configs/smpplogins.txt On Fri, Sep 3, 2010 at 3:50 PM, Rene Kluwen rene.klu...@chimit.nl wrote: What is the PDU that gets sent just before that? A bind? Then it looks like the credentials are not correct. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 04:24 To: Rene Kluwen Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, Error is Invalid SMPP PDU received Logs are below = 2010-09-02 18:17:44 [1937] [2] DEBUG:Octet string dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP[ChimpMaster]: Sending PDU: 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU 0x96b3e68 dump: 2010-09-02 18:17:44 [1937] [2] DEBUG: type_name: generic_nack 2010-09-02 18:17:44 [1937] [2] DEBUG: command_id: 2147483648 = 0x8000 2010-09-02 18:17:44 [1937] [2] DEBUG: command_status: 14 = 0x000e 2010-09-02 18:17:44 [1937] [2] DEBUG: sequence_number: 3 = 0x0003 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends. 2010-09-02 18:17:45 [1937] [2] ERROR: Invalid SMPP PDU received. 2010-09-02 18:17:45 [1937] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. 2010-09-02 18:17:46 [1937] [1] DEBUG: Thread 1 (smppbox.c:function) terminates. On Fri, Sep 3, 2010 at 7:23 AM, Rene Kluwen rene.klu...@chimit.nl wrote: What error do you get? == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu
RE: Invalid SMPP PDU received SMPPBOX
Weird. You should get system id: ChimpMaster. You are using the smppclass from phpclasses.org. I just tested it, and here, locally, it works. I am out of ideas. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Saturday, 04 September, 2010 00:01 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, This time it given me error pasted below. = Bind Transmitter PDU: 103 111 111 100 99 108 105 101 110 116 0 115 101 99 114 101 116 0 100 101 102 97 117 108 116 0 52 1 1 0 Sending PDU, len == 46 Sending PDU, header-len == 16 Sending PDU, command_id == 2 Sending PDU, sequence number == 1 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 28 bytes. Stream len : 24 Stream Hex : 80 00 00 02 00 00 00 00 00 00 00 01 43 68 69 6d 70 4d 61 73 74 65 72 00 Command id : 2. Command status : 0. sequence_number : 1. Got bind_transmitter_RESP. system id : . Received PDU: €(0)(0)(2)(0)(0)(0)(0)(0)(0)(0)(1)ChimpMaster(0) Sending PDU, len == 16 Sending PDU, header-len == 16 Sending PDU, command_id == 21 Sending PDU, sequence number == 2 Sending PDU, command status == 0 Trying to read PDU. Connection lost. In split_message. One message: 86 PDU spec: a1cca5cca13ccca1a1ca86. Sending PDU, len == 135 Sending PDU, header-len == 16 Sending PDU, command_id == 4 Sending PDU, sequence number == 3 Sending PDU, command status == 0 Trying to read PDU. = Socket was closed.!! On Sat, Sep 4, 2010 at 2:45 AM, Rene Kluwen rene.klu...@chimit.nl wrote: From what I see below, you get error code 13. Which is “invalid credentials”. Try: use-systemid-as-smsboxid = true in your smppbox.conf. Just to see it is matters or not. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 22:10 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, It is Still not working.:( This time SMPP is giving error Code 14. I am pasting below the result of my SMPP Aplication in PHP Bind Transmitter PDU: 103 111 111 100 99 108 105 101 110 116 0 115 101 99 114 101 116 0 100 101 102 97 117 108 116 0 52 1 1 0 Sending PDU, len == 46 Sending PDU, header-len == 16 Sending PDU, command_id == 2 Sending PDU, sequence number == 1 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 17 bytes. Stream len : 13 Stream Hex : 80 00 00 02 00 00 00 0d 00 00 00 01 00 Command id : 2. Command status : 13. sequence_number : 1. Got bind_transmitter_RESP. system id : . Received PDU: €(0)(0)(2)(0)(0)(0)(13)(0)(0)(0)(1)(0) Error binding to SMPP server. Invalid credentials? Sending PDU, len == 16 Sending PDU, header-len == 16 Sending PDU, command_id == 21 Sending PDU, sequence number == 2 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 16 bytes. Stream len : 12 Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 02 Command id : 0. Command status : 14. sequence_number : 2. Got unknow 0 SMPP pdu. Received PDU: €(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(2) In split_message. One message: 86 PDU spec: a1cca5cca13ccca1a1ca86. Sending PDU, len == 135 Sending PDU, header-len == 16 Sending PDU, command_id == 4 Sending PDU, sequence number == 3 Sending PDU, command status == 0 Trying to read PDU. Reading PDU : 16 bytes. Stream len : 12 Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 03 Command id : 0. Command status : 14. sequence_number : 3. Got unknow 0 SMPP pdu. Received PDU: €(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(3) SMPP server returned error 14. = On Fri, Sep 3, 2010 at 5:04 PM, Rene Kluwen rene.klu...@chimit.nl wrote: Try to add an ip-mask, like this: goodclient secret BOX1 *.*.*.* == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Friday, 03 September, 2010 13:02 To: Rene Kluwen Cc: users Subject: Re: Invalid SMPP PDU received SMPPBOX Hello Rene, My SMPPLogin.txt looks like below. username TABpasswordTABSMSBOX-ID Please let me know if it is correct? smpplogins.txt == goodclientsecretBOX1 == # this group
RE: kannel support using payload
Meta data is documented here: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#META -DATA == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 09:39 To: 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Dears kyriacos, Thanks 4 your replay, Could you tell me how can I use meta-data/tlv system, I tried to looking on internet, nothing. Thanks From: Kyriacos Sakkas [mailto:kyria...@netsmart.com.cy] Sent: Wednesday, September 01, 2010 11:20 AM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: kannel support using payload This is supported via the meta-data/tlv system. Use: group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 1500 For more details see manual or older posts. Kyriacos On 01/09/2010 11:16, Anas Alnaffar wrote: Dears Does kannel support using payload? and how we can use this feature? Thanks Anas -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: kyria...@netsmart.com.cy http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at kyria...@netsmart.com.cy **
RE: SMPP Server Setup
One smpp connection will be enough. Set up 2 different smsbox-route sections and 2 different services, with the allowed-prefix entry, as follows: group = smsbox-service get-url = .. allowed-prefix = prefix1 group = smsbox-service get-url = .. allowed-prefix = prefix2 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 11:43 To: us...@vm1.kannel.org Subject: SMPP Server Setup Hie I have smpp connection with a mobile network and also i have 2 shortcode i want to configure. Should i configure seperate smpp connection for each shortcode or only one and setup different smsc-route for these shortcodes. And how will i then configure my services so that they only respond to the shortcode assigned. Please help thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
Re: SMPP Server Setup
Prefix is the shortcode. If you have 2 prefixes: 1234 and 5678, then: group = smsbox-service get-url = .. allowed-prefix = 1234 group = smsbox-service get-url = .. allowed-prefix = 5678 =-= Rene From: Innocent Muchedzi [mailto:innoc...@syldah.co.bw] Sent: Saturday, 04 September, 2010 14:12 To: Rene Kluwen Subject: Re: SMPP Server Setup what does prefix1/2 stand for or mean. on the shortcode i will be using them for diffrent services using keywords - Original Message - From: Rene Kluwen mailto:rene.klu...@chimit.nl To: 'Innocent mailto:innoc...@syldah.co.bw Muchedzi' ; us...@vm1.kannel.org Sent: Saturday, September 04, 2010 1:41 PM Subject: RE: SMPP Server Setup One smpp connection will be enough. Set up 2 different smsbox-route sections and 2 different services, with the allowed-prefix entry, as follows: group = smsbox-service get-url = .. allowed-prefix = prefix1 group = smsbox-service get-url = .. allowed-prefix = prefix2 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 11:43 To: us...@vm1.kannel.org Subject: SMPP Server Setup Hie I have smpp connection with a mobile network and also i have 2 shortcode i want to configure. Should i configure seperate smpp connection for each shortcode or only one and setup different smsc-route for these shortcodes. And how will i then configure my services so that they only respond to the shortcode assigned. Please help thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
RE: kannel support using payload
What version of Kannel are you using? Preferably, you need to use svn trunk version. Older versions of Kannel don't support optional parameters in smpp. == Rene From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Saturday, 04 September, 2010 14:14 To: 'Rene Kluwen'; 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Thanks a lot Rene But when I've added the value I've recived this error msg: 2010-09-04 15:09:17 [20196] [0] ERROR: Group 'smpp-tlv' is no valid group identifier. 2010-09-04 15:09:17 [20196] [0] ERROR: Error found on line 60 of file `/usr/local/sbin/confs/kannelSDP.conf'. Any help please From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 2:28 PM To: 'Anas Alnaffar'; 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Meta data is documented here: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#META -DATA == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 09:39 To: 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Dears kyriacos, Thanks 4 your replay, Could you tell me how can I use meta-data/tlv system, I tried to looking on internet, nothing. Thanks From: Kyriacos Sakkas [mailto:kyria...@netsmart.com.cy] Sent: Wednesday, September 01, 2010 11:20 AM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: kannel support using payload This is supported via the meta-data/tlv system. Use: group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 1500 For more details see manual or older posts. Kyriacos On 01/09/2010 11:16, Anas Alnaffar wrote: Dears Does kannel support using payload? and how we can use this feature? Thanks Anas -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: kyria...@netsmart.com.cy http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at kyria...@netsmart.com.cy **
RE: kannel support using payload
I don't know if version 1.4.3 supports TLV's. Better post this question on the Kannel users list. == Rene From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Saturday, 04 September, 2010 14:29 To: 'Rene Kluwen' Subject: RE: kannel support using payload Thanks Actually I'm using . Kannel-1.4.3 . is it working? Where I can download the svn trunk version? Anas From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 3:17 PM To: 'Anas Alnaffar'; 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload What version of Kannel are you using? Preferably, you need to use svn trunk version. Older versions of Kannel don't support optional parameters in smpp. == Rene From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Saturday, 04 September, 2010 14:14 To: 'Rene Kluwen'; 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Thanks a lot Rene But when I've added the value I've recived this error msg: 2010-09-04 15:09:17 [20196] [0] ERROR: Group 'smpp-tlv' is no valid group identifier. 2010-09-04 15:09:17 [20196] [0] ERROR: Error found on line 60 of file `/usr/local/sbin/confs/kannelSDP.conf'. Any help please From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 2:28 PM To: 'Anas Alnaffar'; 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Meta data is documented here: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#META -DATA == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 09:39 To: 'Kyriacos Sakkas' Cc: users@kannel.org Subject: RE: kannel support using payload Dears kyriacos, Thanks 4 your replay, Could you tell me how can I use meta-data/tlv system, I tried to looking on internet, nothing. Thanks From: Kyriacos Sakkas [mailto:kyria...@netsmart.com.cy] Sent: Wednesday, September 01, 2010 11:20 AM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: kannel support using payload This is supported via the meta-data/tlv system. Use: group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 1500 For more details see manual or older posts. Kyriacos On 01/09/2010 11:16, Anas Alnaffar wrote: Dears Does kannel support using payload? and how we can use this feature? Thanks Anas -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: kyria...@netsmart.com.cy http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at kyria...@netsmart.com.cy **
RE: SMPP Server Setup
Yes, you should be able to do so. == Rene From: Innocent Muchedzi [mailto:innoc...@syldah.co.bw] Sent: Saturday, 04 September, 2010 14:21 To: Rene Kluwen Cc: us...@vm1.kannel.org Subject: Re: SMPP Server Setup Hie can i add multiple prefix for a service that can user both short codes eg. group = smsbox-service get-url = .. allowed-prefix = 1234; 5678 - Original Message - From: Rene Kluwen mailto:rene.klu...@chimit.nl To: 'Innocent mailto:innoc...@syldah.co.bw Muchedzi' Sent: Saturday, September 04, 2010 2:15 PM Subject: RE: SMPP Server Setup Prefix is the shortcode. If you have 2 prefixes: 1234 and 5678, then: group = smsbox-service get-url = .. allowed-prefix = 1234 group = smsbox-service get-url = .. allowed-prefix = 5678 =-= Rene From: Innocent Muchedzi [mailto:innoc...@syldah.co.bw] Sent: Saturday, 04 September, 2010 14:12 To: Rene Kluwen Subject: Re: SMPP Server Setup what does prefix1/2 stand for or mean. on the shortcode i will be using them for diffrent services using keywords - Original Message - From: Rene Kluwen mailto:rene.klu...@chimit.nl To: 'Innocent mailto:innoc...@syldah.co.bw Muchedzi' ; us...@vm1.kannel.org Sent: Saturday, September 04, 2010 1:41 PM Subject: RE: SMPP Server Setup One smpp connection will be enough. Set up 2 different smsbox-route sections and 2 different services, with the allowed-prefix entry, as follows: group = smsbox-service get-url = .. allowed-prefix = prefix1 group = smsbox-service get-url = .. allowed-prefix = prefix2 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 11:43 To: us...@vm1.kannel.org Subject: SMPP Server Setup Hie I have smpp connection with a mobile network and also i have 2 shortcode i want to configure. Should i configure seperate smpp connection for each shortcode or only one and setup different smsc-route for these shortcodes. And how will i then configure my services so that they only respond to the shortcode assigned. Please help thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
RE: SMPPbox Client Session Limit
You can post this question as many times on the list as you want, but it won't give you an answer sooner. There's revisions in the open smppbox sources to limit client sessions to 1 at the same time. But I don't think they work. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of krnrd b Sent: Saturday, 04 September, 2010 14:18 To: users@kannel.org Subject: Re: SMPPbox Client Session Limit Hi All, How to specify client session limit on Open SMPPbox.
RE: version 1.4.3 supports TLV's?
It's in the same userguide that I pointed you to before. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 15:00 To: 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Thanks, From where I can get the svn version. Anas -Original Message- From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Sent: Saturday, September 04, 2010 3:58 PM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: version 1.4.3 supports TLV's? no, you must use svn version. it is however production quality |--- --| 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 Sat, Sep 4, 2010 at 7:53 AM, Anas Alnaffar a.alnaf...@tijaritelecom.com wrote: Dears Does kannel version 1.4.3 supports TLVs? Anas
RE: version 1.4.3 supports TLV's?
It says clearly: SVN access to source code You can look at the current development version of the sources directly from our subversion control system. We use SVN, so you need to install that first. (See for example SVNhome.org for a source distribution, or your Linux distribution for ready-to-install binaries.) 1. Get sources using the following command svn co https://svn.kannel.org/project/trunk where project is: gateway, sqlbox or smppbox. 2. Later, when you want to check whether there have been changes, do the following: cd gateway svn up -Original Message- From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Saturday, 04 September, 2010 15:23 To: 'Rene Kluwen'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Actually I do not know which one , because there are many one here ,,, and I do not know which one is SVN Thanks Anas Al-Naffar Content Manager Tel.: +966 1 217 Fax: +966 1 4643 510 Mobile: +966 5 62982104 Riyadh - KSA www.tijaritelecom.com -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 4:12 PM To: 'Anas Alnaffar'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? It's in the same userguide that I pointed you to before. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 15:00 To: 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Thanks, From where I can get the svn version. Anas -Original Message- From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Sent: Saturday, September 04, 2010 3:58 PM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: version 1.4.3 supports TLV's? no, you must use svn version. it is however production quality |--- --| 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 Sat, Sep 4, 2010 at 7:53 AM, Anas Alnaffar a.alnaf...@tijaritelecom.com wrote: Dears Does kannel version 1.4.3 supports TLVs? Anas
RE: Using Siemens S45 with Kannel
I remember using a Siemens SL-45 with success. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Praveena Sarathchandra Sent: Sunday, 05 September, 2010 08:04 To: users@kannel.org Subject: Using Siemens S45 with Kannel Hi, Is it possible to have Siemens S45 working with Kannel (to send and receive messages for a 2-way SMS Gateway) Thanks in advance Best Regards, Praveena J. Sarathchandra Freelance Web Designer/Developer [...@] pravee...@gmail.com [M] +94-77-6275266 [W] www.myBiz.lk
RE: version 1.4.3 supports TLV's?
That's a subversion error. See: http://subversion.apache.org/faq.html#unrecognized-url-error == Rene -Original Message- From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Sunday, 05 September, 2010 10:50 To: 'Rene Kluwen'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Thanks Rene When I tried to run # svn co https://svn.kannel.org/gateway/trunk I get this error message svn: Unrecognized URL scheme for 'https://svn.kannel.org/gateway/trunk' Anas -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 4:25 PM To: 'Anas Alnaffar'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? It says clearly: SVN access to source code You can look at the current development version of the sources directly from our subversion control system. We use SVN, so you need to install that first. (See for example SVNhome.org for a source distribution, or your Linux distribution for ready-to-install binaries.) 1. Get sources using the following command svn co https://svn.kannel.org/project/trunk where project is: gateway, sqlbox or smppbox. 2. Later, when you want to check whether there have been changes, do the following: cd gateway svn up -Original Message- From: Anas Alnaffar [mailto:a.alnaf...@tijaritelecom.com] Sent: Saturday, 04 September, 2010 15:23 To: 'Rene Kluwen'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Actually I do not know which one , because there are many one here ,,, and I do not know which one is SVN Thanks Anas Al-Naffar Content Manager Tel.: +966 1 217 Fax: +966 1 4643 510 Mobile: +966 5 62982104 Riyadh - KSA www.tijaritelecom.com -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: Saturday, September 04, 2010 4:12 PM To: 'Anas Alnaffar'; 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? It's in the same userguide that I pointed you to before. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anas Alnaffar Sent: Saturday, 04 September, 2010 15:00 To: 'Alvaro Cornejo' Cc: users@kannel.org Subject: RE: version 1.4.3 supports TLV's? Thanks, From where I can get the svn version. Anas -Original Message- From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Sent: Saturday, September 04, 2010 3:58 PM To: Anas Alnaffar Cc: users@kannel.org Subject: Re: version 1.4.3 supports TLV's? no, you must use svn version. it is however production quality |--- --| 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 Sat, Sep 4, 2010 at 7:53 AM, Anas Alnaffar a.alnaf...@tijaritelecom.com wrote: Dears Does kannel version 1.4.3 supports TLVs? Anas
RE: SMPP Server Setup
If you start bearerbox, you will see something along what follows: Compiled with MySQL 5.0.77, using MySQL 5.0.77. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 13:39 To: us...@vm1.kannel.org Subject: SMPP Server Setup Hie How can i tell or check that my kannel have support for Mysql DLR Storage. I m using kannel 1.4.3 on Fedora 11 which i installed using YUM thank you. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
RE: SMPP Server Setup
no From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 13:42 To: ha...@aeon.pk Cc: us...@vm1.kannel.org Subject: Re: SMPP Server Setup hie should i also need to setup diffrenet smsbox config for the 2 smpp connections or one will do thank you - Original Message - From: ha...@aeon.pk To: Innocent mailto:innoc...@syldah.co.bw Muchedzi Cc: us...@vm1.kannel.org ; Hamza K. mailto:ha...@aeon.pk Sent: Saturday, September 04, 2010 11:47 AM Subject: Re: SMPP Server Setup Setup 2 different SMPP connections. This makes life easier to manage traffic. On Sat, Sep 4, 2010 at 2:42 PM, Innocent Muchedzi innoc...@syldah.co.bw wrote: Hie I have smpp connection with a mobile network and also i have 2 shortcode i want to configure. Should i configure seperate smpp connection for each shortcode or only one and setup different smsc-route for these shortcodes. And how will i then configure my services so that they only respond to the shortcode assigned. Please help thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
RE: SMPP Server Setup
There is no user-service group in Kannel. If you want to configure incoming shortcodes, you need sms-service. See: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN3 578 == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Innocent Muchedzi Sent: Saturday, 04 September, 2010 13:09 To: us...@vm1.kannel.org Subject: Fw: SMPP Server Setup Hie When setting up kannel for smpp connection do i need to setup the user-service group and is it that important for this connection setup; - Original Message - From: ha...@aeon.pk To: Innocent mailto:innoc...@syldah.co.bw Muchedzi Cc: us...@vm1.kannel.org ; Hamza K. mailto:ha...@aeon.pk Sent: Saturday, September 04, 2010 11:47 AM Subject: Re: SMPP Server Setup Setup 2 different SMPP connections. This makes life easier to manage traffic. On Sat, Sep 4, 2010 at 2:42 PM, Innocent Muchedzi innoc...@syldah.co.bw wrote: Hie I have smpp connection with a mobile network and also i have 2 shortcode i want to configure. Should i configure seperate smpp connection for each shortcode or only one and setup different smsc-route for these shortcodes. And how will i then configure my services so that they only respond to the shortcode assigned. Please help thank you -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean. -- This message has been scanned for viruses and dangerous content by the BBI SMTP filter and is believed to be clean.
RE: SMPPbox Client Session Limit
You are always welcome to answer questions that are posted on this list, if you know the answer. Another thing is that if you know C, then you could implement a configuration option that makes it possible to limit client sessions on smppbox. This way you help yourself and the community as well. Nothing is obligatory though. == Rene From: krnrd b [mailto:krn...@gmail.com] Sent: Sunday, 05 September, 2010 15:26 To: Nikos Balkanas Cc: Rene Kluwen; users@kannel.org Subject: Re: SMPPbox Client Session Limit Hi, Thanks for clarifying my questions. If i want to volunteer what is the procedure. I am working as System administrator and i have experience on Linux and SVN and HAproxy, GlusterFS. Please let me know how can i volunteer. Regards, KRNRDB 2010/9/5 Nikos Balkanas nbalka...@gmail.com This is a volunteer job and people might not be available. In opensource you should always be ready to solve the problem yourself, through the code. Otherwise give people at least 3 days before repeating the same request. Address always the list, never send personals. BR, Nikos - Original Message - From: krnrd b To: Nikos Balkanas Cc: Rene Kluwen ; users@kannel.org Sent: Sunday, September 05, 2010 11:57 AM Subject: Re: SMPPbox Client Session Limit Hi All, I am not intentionally sent the mail 2 times i am new for kannel list. Can i know what are the rules to send a mail ? How long can i wait for reply after sending messages ? Regards, KRNRDB 2010/9/5 Nikos Balkanas nbalka...@gmail.com Actually spamming achieves exactly the opposite of that intended. Such emails are moved to the botom of the list, and are not answered until after everything else, if at all. BR, Nikos - Original Message - From: Rene Kluwen To: 'krnrd b' ; users@kannel.org Sent: Saturday, September 04, 2010 3:52 PM Subject: RE: SMPPbox Client Session Limit You can post this question as many times on the list as you want, but it won't give you an answer sooner. There's revisions in the open smppbox sources to limit client sessions to 1 at the same time. But I don't think they work. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of krnrd b Sent: Saturday, 04 September, 2010 14:18 To: users@kannel.org Subject: Re: SMPPbox Client Session Limit Hi All, How to specify client session limit on Open SMPPbox.
RE: Issue with UCP - reconnection problem
Maybe a selinux issue? Just a wild guess. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Bogdan Irimia Sent: Monday, 06 September, 2010 13:27 To: Nikos Balkanas; users@kannel.org Subject: Re: Issue with UCP - reconnection problem Dear Nikos Thank you for your reply. As I stated in the message, there is not a number of sockets issue, but an issue regarding the state of the socket. The state the socket is in is SYN SENT, and even if SYN ACK message is sent back by SMSC (checket with Wireshark/tcpdump), Kannel does not send ACK. So it's not about the limits in ulimit.conf, it's an issue at socket protocol implementation. Netstat gives the following output (not wc, of course): tcp0 1 93.113.15.3:2878217.10.194.192:x11-1SYN_SENT Regards, Bogdan -- From: Nikos Balkanas nbalka...@gmail.com Sent: Monday, September 06, 2010 2:20 PM To: Bogdan Irimia bog...@digitair.ro; users@kannel.org Subject: Re: Issue with UCP - reconnection problem Hi, I remember replying to you again. 1) No, it is not normal to close and open connections every time you have to send an SMS. In fact it wastes a lot of resources (sockets and CPU). Talk to VF, it is their issue. 2) Type: netstat -a | grep vodafone-ip | wc -l when having a problem. See if you are running low on sockets. See in what state they are left. If they are not closing sockets properly talk again to VF. In linux you can increase limit in ulimit.conf. In solaris use ndi. This (limits) is not a kannel issue but an OS one. Finally if they don't clean up their act, try to restart kannel every 24 hrs from cron. I hope i don't have to reply again about the same thing. BR, Nikos - Original Message - From: Bogdan Irimia To: users@kannel.org Sent: Monday, September 06, 2010 12:06 PM Subject: Issue with UCP - reconnection problem Hello I'm reposting this same issue: I have a problem with the UCP connection: - during normal operation, I get these messages every 10 minutes: 2010-08-30 15:57:09 [2280] [7] DEBUG: EMI2[vodafone-8878]: clear_sent called 2010-08-30 15:57:09 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to Primary SMSC I suppose this is because the SMSC closes connection after 10 minutes of inactivity (according to Vodafone, with whom we are testing). I configured the account with keepalive = 50 but no improvement. But I am able to send and receive messages normally. - after a while (2 or 3 days) I get these messages in the log: 2010-08-30 16:07:41 [2280] [7] INFO: EMI2[vodafone-8878]: connecting to Primary SMSC 2010-08-30 16:08:02 [2280] [7] ERROR: connect failed 2010-08-30 16:08:02 [2280] [7] ERROR: System error 110: Connection timed out 2010-08-30 16:08:02 [2280] [7] ERROR: error connecting to server `217.10.194.192' at port `6001' 2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: opening TCP connection to 217.10.194.192 failed 2010-08-30 16:08:02 [2280] [7] ERROR: EMI2[vodafone-8878]: Couldn't connect to SMS center (retrying in 10 seconds). During these messages, the port is in this state (using netstat): tcp0 1 93.113.15.3:2878217.10.194.192:x11-1 SYN_SENT Also, with Wireshark I noticed that Kannel sends SYN packet to server port, the server returns SYN ACK, but Kannel does not return ACK. Thus, the connection isn't made successful. So there are two questions: - is it true that an UCP client should only connect when sending a message? during inactivity, connection can be closed, and any incoming messages could be received using receive-port? - why does Kannel fails to reconnect after a while, due to failing in sending ACK message back to connecting port? Thank you!
RE: where to download Open smppbox
See the file UPGRADE in the open smppbox repository. It will tell you a specific date. In short: If you use latest version of both kannel en open smppbox, you are safe. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of BeCauet Sent: Monday, 06 September, 2010 19:00 To: users Subject: Re: where to download Open smppbox How do I know which version of Kannel smppbox R48 is compatible? 2010/9/2 Rene Kluwen rene.klu...@chimit.nl As said, you need svn trunk. Version 1.4.3 lacks some functionality that smppbox needs. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Thursday, 02 September, 2010 02:58 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC Regards Anshu On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen rene.klu...@chimit.nl wrote: Which version of Kannel did you install? You need svn trunk. == Rene From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On Behalf Of Anshu Sah Sent: Thursday, 02 September, 2010 00:42 To: Rene Kluwen Cc: users Subject: Re: where to download Open smppbox Hello Rene, The Configure command worked well after the command make install in the Kannel folder. But when i run make. It given the below error. Please suggest. -- Regards Anshu r...@msclient5:/projects/kannel/SMPPBox# make make all-recursive make[1]: Entering directory `/projects/kannel/SMPPBox' Making all in gw make[2]: Entering directory `/projects/kannel/SMPPBox/gw' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o smppbox.o smppbox.c; \ then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f .deps/smppbox.Tpo; exit 1; fi smppbox.c:80:26: error: gw/meta_data.h: No such file or directory smppbox.c: In function ‘check_login’: smppbox.c:280: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result smppbox.c: In function ‘send_pdu’: smppbox.c:522: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible pointer type /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct SMPP_PDU *’ but argument is of type ‘struct Octstr *’ smppbox.c:522: error: too many arguments to function ‘smpp_pdu_pack’ smppbox.c: In function ‘read_pdu’: smppbox.c:579: error: too many arguments to function ‘smpp_pdu_unpack’ smppbox.c: In function ‘msg_to_pdu’: smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’ smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’ smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ smppbox.c:722: error: too many arguments to function ‘dlr_find’ smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format smppbox.c:809: error: ‘struct deliver_sm’ has no member named ‘tlv’ smppbox.c:809: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:821: error: ‘struct deliver_sm’ has no member named ‘tlv’ smppbox.c:821: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:911: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:961: error: ‘struct deliver_sm’ has no member named ‘tlv’ smppbox.c:961: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:972: error: ‘struct deliver_sm’ has no member named ‘tlv’ smppbox.c:972: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c: In function ‘pdu_to_msg’: smppbox.c:1157: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1158: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1159: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1159: error: ‘struct submit_sm’ has no member named ‘tlv’ smppbox.c: In function ‘data_sm_to_msg’: smppbox.c:1312: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1313: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1314: error: ‘struct sms’ has no member named ‘meta_data’ smppbox.c:1314: error: ‘struct data_sm’ has no member named ‘tlv’ smppbox.c: In function ‘check_multipart’: smppbox.c:1358: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ smppbox.c:1374: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ smppbox.c: In function ‘bearerbox_to_smpp’: smppbox.c:1815: warning: format ‘%i’ expects type ‘int’, but argument 4 has type ‘long unsigned int’ smppbox.c:1820: warning: format ‘%i’ expects type ‘int’, but argument 4 has type ‘long int’ smppbox.c: In function
RE: configure: error: Kannel gwlib is required!
Try: ./configure –with-kannel-dir=/usr/local or even without even specifying –with-kannel-dir. If you just installed kannel, then it should find the sources automagically. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of BeCauet Sent: Monday, 06 September, 2010 21:39 To: users Subject: configure: error: Kannel gwlib is required! Hello, I Have a problem with smppbox compilation: smpptest:/usr/local/include/smppbox# ./configure --with-kannel-dir=/usr/local/include/kannel checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking svn checkout revision... -1:48M Configuring for smppbox version svn-r-1:48M ... checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag CXX to libtool appending configuration tag F77 to libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes Configuring PAM
RE: configure: error: Kannel gwlib is required!
The procedure is as follows: Checkout Kannel and smppbox sources in their own folders in your homedir. Then for each module, in turn, do: ./configure [options] make make install After that, header files and libraries will be installed in /usr/local. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of BeCauet Sent: Tuesday, 07 September, 2010 00:14 To: users Subject: Re: configure: error: Kannel gwlib is required! Hello Rene, None of the two solutions work ... another idea? My sources of Kannel (binaries) are in /usr/local/include/kannel and smppbox is in /usr/local/include/smppbox Mickael 2010/9/6 Rene Kluwen rene.klu...@chimit.nl Try: ./configure –with-kannel-dir=/usr/local or even without even specifying –with-kannel-dir. If you just installed kannel, then it should find the sources automagically. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of BeCauet Sent: Monday, 06 September, 2010 21:39 To: users Subject: configure: error: Kannel gwlib is required! Hello, I Have a problem with smppbox compilation: smpptest:/usr/local/include/smppbox# ./configure --with-kannel-dir=/usr/local/include/kannel checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking svn checkout revision... -1:48M Configuring for smppbox version svn-r-1:48M ... checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build
RE: configure: error: Kannel gwlib is required!
This is the second time that you are emailing me personally. Please copy the users list. The problem is that you are not installing from your home directory. You are in /usr/local/include/kannel and you are trying to install to the same target (/usr/local/include/kannel). == Rene From: mickael.monsi...@gmail.com [mailto:mickael.monsi...@gmail.com] On Behalf Of BeCauet Sent: Tuesday, 07 September, 2010 00:42 To: Rene Kluwen Subject: Re: configure: error: Kannel gwlib is required! Ok, i see the problem. I can not install it correctly after compiling kannel. Step 1 : smpptest:/usr/local/include/kannel# ./configure --with-mysql --with-mysql-dir=/usr/local/mysql -enable-ssl --enable-localtime --enable-mutex-stats --enable-start-stop-daemon () License information ... ++ | License: | | This software is subject to the Kannel Software License, available | | in this distribution in the file LICENSE. By continuing this | | installation process, you are bound by the terms of this license | | agreement. If you do not agree with the terms of this license, you | | must abort the installation process at this point. | || | The Kannel Group http://www.kannel.org/ | ++ Thank you for using Kannel. smpptest:/usr/local/include/kannel# Step 2 : smpptest:/usr/local/include/kannel# make (...) gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o checks/check_octstr checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lcrypto -lssl ./utils/foobar-config.sh -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl \ -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lcrypto -lssl \ svn-r4838 gw-config chmod 0755 gw-config smpptest:/usr/local/include/kannel# OK ? Step 3 : smpptest:/usr/local/include/kannel# make install /usr/bin/install -c -d /usr/local/bin for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch utils/decode_emimsg gw-config; do \ /usr/bin/install -c $prog \ /usr/local/bin/`basename $prog`; \ done test -r /usr/local/bin/gw-config || \ ln -sf gw-config /usr/local/bin/gw-config /usr/bin/install -c -d /usr/local/sbin for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \ /usr/bin/install -c $prog \ /usr/local/sbin/`basename $prog`; \ done /usr/bin/install -c -d /usr/local/share/man/man1 /usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 wmlscript/wmlsdasm.1 /usr/local/share/man/man1 /usr/bin/install -c -d /usr/local/share/man/man8 /usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 /usr/local/share/man/man8 /usr/bin/install -c -d /usr/local/include/kannel/gwlib /usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib /usr/bin/install: `./gwlib/accesslog.h' et `/usr/local/include/kannel/gwlib/accesslog.h' identifient le même fichier. /usr/bin/install: `./gwlib/cfg.h' et `/usr/local/include/kannel/gwlib/cfg.h' identifient le même fichier. /usr/bin/install: `./gwlib/charset.h' et `/usr/local/include/kannel/gwlib/charset.h' identifient le même fichier. /usr/bin/install: `./gwlib/conn.h' et `/usr/local/include/kannel/gwlib/conn.h' identifient le même fichier. /usr/bin/install: `./gwlib/counter.h' et `/usr/local/include/kannel/gwlib/counter.h' identifient le même fichier. /usr/bin/install: `./gwlib/date.h' et `/usr/local/include/kannel/gwlib/date.h' identifient le même fichier. /usr/bin/install: `./gwlib/dbpool.h' et `/usr/local/include/kannel/gwlib/dbpool.h' identifient le même fichier. /usr/bin/install: `./gwlib/dbpool_p.h' et `/usr/local/include/kannel/gwlib/dbpool_p.h' identifient le même fichier. /usr/bin/install: `./gwlib/dict.h' et `/usr/local/include/kannel/gwlib/dict.h' identifient le même fichier. /usr/bin/install: `./gwlib/fdset.h' et `/usr/local/include/kannel/gwlib/fdset.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwassert.h' et `/usr/local/include/kannel/gwlib/gwassert.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw-getopt.h' et `/usr/local/include/kannel/gwlib/gw-getopt.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwlib.h' et `/usr/local/include/kannel/gwlib/gwlib.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwmem.h' et `/usr/local/include/kannel/gwlib/gwmem.h' identifient le même fichier. /usr/bin/install
RE: SMS and SMPP
The short answer: Yes, it can. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Otandeka Simon Peter Sent: Tuesday, 07 September, 2010 13:50 To: Nikos Balkanas Cc: users@kannel.org Subject: Re: SMS and SMPP Can sqlbox sit in between opensmppbox and kannel?? Why am asking this is I need sqlbox to store the logs as I want to connect several clients over SMPP through smppbox. Thanks, Peter. 2010/9/7 Nikos Balkanas nbalka...@gmail.com Hi, Stipe's SMPPbox and openSMPPbox are very similar. Strictly speaking they are proxies, not servers. In other words, eventually they will need an SMSc to send SMS. All SMS are sent through SS7 (legacy phone network) to reach mobiles. After all mobiles are phones and live in SS7. All provider SMScs have one leg in SS7, the other in SMPP (or similar network). You need to have registered a band of phone numbers to be considered a provider. BR, Nikos - Original Message - From: dafodil neo.tu...@yahoo.com To: users@kannel.org Sent: Tuesday, September 07, 2010 9:21 AM Subject: Re: SMS and SMPP Hi Nikos, Thanks for the reply. I understood now. HLR is ok but whats the role of pstn/ss7 in the said model. secondly I read from forum that stipe our kannel architect maintains a server.how its usefull and why we should use this. Br daf Nikos Balkanas wrote: Hi, Of course you need a provider (SMSc). Kannel is an ESME, not an SMSc. To be an SMSc, you need to talk HLR, SS7 and have allocated a good number of phone numbers to work with. BR, Nikos - Original Message - From: dafodil neo.tu...@yahoo.com To: users@kannel.org Sent: Monday, September 06, 2010 10:43 AM Subject: SMS and SMPP Hi List, Good Day. Just few questions... In oder to send sms through kannel i need smpp prvider? Can i be a provider?In other words cant i have my own setup so that i can be provider for myself. what do i need or need to have in setup so that i can be my provider/carrier. is it only smpp server needed? Pls share with me what else needed? where can i buy smpp server? is logica's smpp stable one? I read from forum that stipe our kannel architect maintains a server.what should be the cost for this? I need this because i dont want to be dependent upon carrier. Could there be some other good alternative? pls help me to understand this. Br daf -- View this message in context: http://old.nabble.com/SMS-and-SMPP-tp29631938p29631938.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/SMS-and-SMPP-tp29631938p29639138.html Sent from the Kannel - User mailing list archive at Nabble.com.
RE: SMPPBOX
I would want to see a link to 3700 USD or any other amount on the Chimit website? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of dafodil Sent: Wednesday, 08 September, 2010 08:16 To: users@kannel.org Subject: SMPPBOX Hi List, I saw smppbox is available in two places.(rdemine and https://svn.kannel.org/smppbox/trunk). Are these same ones.also saw from chimit that kannel server/smppbox is available with minimum cost of 3700 USD.so the confusion is that is these have smilllar kinf of functionslity or do differ. Br daf -- View this message in context: http://old.nabble.com/SMPPBOX-tp29641637p29641637.html Sent from the Kannel - User mailing list archive at Nabble.com.
RE: Kannel and dependecies
In general words, what you say is correct. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of dafodil Sent: Wednesday, 08 September, 2010 08:19 To: users@kannel.org Subject: Kannel and dependecies Hi List, Kannel can connect through http as well smpp. Both way it connects to smsc. Whats is the difference? so far i understand: for ESME,SMPPBOX,SMSBOX,BEARERBOX,SMSC The ESME connects over SMPP to SMPPBox, thinking that it is an SMSc. Accounts are configured in SMPPBox to allow connections only from specific clients. The SMS is forwarded to Bearerbox, which routes it to the best available SMSc over a variety of protocols. Lets say i have kannel running on my pc(bearerbox+smsbox). so when clinets try to connect my kannel it should be through smppbox. is it right? if so than is it the case that multiple client can connect me through smppbox.thats what the role of smppbox. Messages can be sent with low cost through smpp.how? pls help me to understand this. br daf -- View this message in context: http://old.nabble.com/Kannel-and-dependecies-tp29641638p29641638.html Sent from the Kannel - User mailing list archive at Nabble.com.