Help!!! sample configuration file
-- Forwarded message -- From: enzo labrador [EMAIL PROTECTED] Date: Jul 26, 2005 1:47 PM Subject: Help!!! sample configuration file To: [EMAIL PROTECTED] Can someone send me a sample configuration file to connect to CIMD2 smsc?I need it badly. I just can't make my kannel installation send sms to smsc. I always got the following log: send-SMS request added - sender:tester:123 192.x.x.x target:123456789 request: 'TEST'
RE: cimd2_get_packet: read failed
Why is it everytime I send sms to SMSC using the built in sendsms I got ERROR: cimd2_get_packet: read failed? You need to talk to whoever is hosting the CIMD system. The trace suggests (to me) that the CIMD login succeeds, but that the remote peer subsequently closes the connection, and hence any further I/O operations on that socket fail. You could verify this by doing an ethereal trace on the connection.
Re: Kannel Dlr url
On Mon, 2005-07-25 at 08:25 +0100, Ismail Adebayo wrote: Hi its dlr-mask = 31 i.e. (1+2+4+8+16). Also set the msg-id-type. Ismail Yup... Ismail is correct. In fact, I set dlr-mask=7 in my Project. Thx Ismail tjatur - Original Message - From: Tan Ai Leen To: [EMAIL PROTECTED] Cc: users@kannel.org Sent: Sunday, July 24, 2005 8:48 AM Subject: Re: Kannel Dlr url Hi Heru, I got this error from kannel when receiving the DLR. 2005-07-24 15:36:49 [6188] [9] DEBUG: DLR[internal]: Looking for DLR smsc=SMPP:203.116.221.228:2775/2775:x:VMA, ts=6425010, dst=x18737, type=1 2005-07-24 15:36:49 [6188] [9] WARNING: DLR[internal]: DLR for DSTx18737 not found. 2005-07-24 15:36:49 [6188] [9] ERROR: SMPP[SMPP:203.116.221.228:2775/2775:x:VMA]: got DLR but could not find message or was not interested in it id6425010 dst80077800, type1 Is there anything else I should set in the conf files? It looks like Kannel can't find the message that the DN is for. I tried to use 37 for dlr-mask but I got dlr-mask malformed error when sending. Regards, Ai Leen Heru Tjatur wrote: On Fri, 2005-07-22 at 18:48 +0800, Tan Ai Leen wrote: Hi everyone, I know that this question must have been ask a lot of times. But I can't get the solutions to work for me. This is the string that I am sending to Kannel. GET /cgi-bin/sendsms?dlr-mask=1dlr-url=http%3A%2F%2F192.168.51.42%3A82%2Fconnectors%2Fstarhub%2Fdn.php%3Fid%3D123456789%26type%3D%25dusername=testerpassword=foobarto=6590018737from= The dlr-url is this http://192.168.51.42:82/connectors/starhub/dn.php?id='.$dmg_id.'type=%d I have set dlr-storage = internal under group=core as well as comment it out. But I am still not getting the DN response. Is there anything I am using out? Try to set dlr-mask=37 to catch all posible dlr's. If your conf file is ok, kannel should send dlr, at least with status 8 or ACK (CMIIW). -tjatur Regards, Ai Leen
Re: Kannel Message Boards?
I think we should consider people who actually read their list email, too (myself being one of them, as it happens). With email, you get notification automatically, one could say. IMHO, authentication of email is so good, either. Original beauty of email was that everyone could write to you. If you want authentication, go for IM. Aarno On 18.7.2005, at 18.21, Stephane Rosa wrote: Well, I think that forums can easily (and should) replace mailing lists. I see several reasons for this : 1) Search. Searching mailing lists archives is painful, and I'm sure most people will just post the same question again without trying to search first. Forums are much more efficient in searching by subject, body, poster, date, etc. 2) Organisation. Beside major groups like bugs, devel, user, most forums provide sub-groups allowing to segregate a group in several major areas (e.g. Development-Web Interface, Development-Core, etc) 3) Traffic. I'm an Internet Ecologist(tm) and I strongly see the mailing list traffic as a totally useless bandwidth nuisance, mostly because when someone subscribes to a mailing list he reads everything the first week, the second week he deletes without reading, the third week he creates an automatic folder rule and never reads most of the content ever again. Spam moderation is not so much of an issue, as long as you have to be authenticated to post, and being part of several dozens of forums I never seen any spam in them. That's my 0.02$ advocacy, hope it helps :-D Cheers Clipper -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yasser Sultan Sent: Monday, July 18, 2005 16:03 To: users@kannel.org Subject: RE: Kannel Message Boards? IMO It would be great if you consult the Kannel project maintainers and have their views about it, so that you can have official forums just like the mailing list yes, I agree that the they should be on the kannel site hosted on a subdomain or something like kannel.org/forums The only problem with forums is that they also need to closely moderated because of spam and other useless messages that people often post Regards Yasser -- Talk about Love Friendship at Latestngreatest Forums http://www.latestngreatest.net/cgi-bin/Blah/Blah.pl From: Anand Gupta [EMAIL PROTECTED] Reply-To: Anand Gupta [EMAIL PROTECTED] To: Bill Brigden [EMAIL PROTECTED] CC: users@kannel.org Subject: RE: Kannel Message Boards? Date: Mon, 18 Jul 2005 18:51:40 +0530 Would people see the mailing lists as redundant if there were web based forums? well both can serve the purpose, at times mailing lists are better and sometimes forums. -- regards, Anand Gupta Original message Subject:RE: Kannel Message Boards? Author:Bill Brigden [EMAIL PROTECTED] Date:18th July 2005 1:32:16 What do other people think about the possibility of having a web forum? Would people see the mailing lists as redundant if there were web based forums? As far as the name / location - could it be put under kannel.org, either as being hosted there, or using a sub domain (forums.kannel.org?) pointing elsewhere? Regards, Bill. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anand Gupta Sent: 18 July 2005 12:58 To: Gareth Reakes Cc: Bill Brigden; users@kannel.org Subject: Re: Kannel Message Boards? I am ready to register and host the forums if members here can recommend a domain for the same. I posted earlier also however no commented till now. -- regards, Anand Gupta Original message Subject:Re: Kannel Message Boards? Author:Gareth Reakes [EMAIL PROTECTED] Date:18th July 2005 10:34:28 Hey, I think it would be a good idea. Who is going to take the lead on this? Gareth Bill Brigden wrote: Just a short note to say I would be willing to help in any ways (within reason!) necessary.. Bill. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yasser Sultan Sent: 15 July 2005 17:28 To: [EMAIL PROTECTED] Cc: users@kannel.org Subject: Re: Kannel Message Boards? I don't think that they will be too resource intensive form hosting point of view, so It should not be a problem for anyone to set them up. Yeah I will be willing to help :) -Cheers Yasser From: Gareth Reakes [EMAIL PROTECTED] To: Yasser Sultan [EMAIL PROTECTED] Subject: Re: Kannel Message Boards? Date: Fri, 15 Jul 2005 17:15:54 +0100 Hey Yasser, Yasser Sultan wrote: Why doesn't kannel has its forums or online discussion boards? Don't you think that with them it will be easier to keep track of the things and help can be provided in a better way, considering the features and options present in the modern bulletin board systems Thank You Probably because no one has set one up yet :) You offering? Gareth -- Gareth Reakes,
Re: POST syntax help
Can you resend, with content and explicit line breaks. aarno On 24.7.2005, at 3.31, Linkas wrote: Hello, I'm trying to POST two files (PAP and SI) to the wapbox. I send: POST /wappush?username=ppgusernamepassword=ppgpassword HTTP/1.1 Host: 10.100.20.10:8080 User-Agent: PEAR HTTP_Request class ( http://pear.php.net/ ) Connection: close Accept-Encoding: gzip Content-Type: multipart/form-data; boundary=HTTP_Request_18fad3f770099328fe008948b6c4f889 Content-Length: 1225 CONTENT FOLLOW and as an error, I get: ?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 1.0//EN http://www.wapforum.org/DTD/pap_1.0.dtd;papbadmessage- response code=2000 desc=Not understood due to malformed syntax bad-message-fragment==/badmessage-response/pap I'm using a pear.php.net HTTP_Request class. Any suggestion ? Thanks J
Re: Wappush on P900i doesn't display
Actual binary content would be more useful, expansion of variables is a separate problem. Can you send push to p900i using services of some telecom operator ? Aarno On 24.7.2005, at 15.56, Linkas wrote: I'm finally able to send wappushes with service indication to my Nokia6600 I've sent it to a p900i but the phone remains quite and does not display the wappush service indication. This is the SI ?xml version=1.0? !DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN http:// www.wapforum.org/DTD/si.dtd si indication href='.$URL.' si-id='.$id.' action=signal-high created=2002-01-13T01:33:09Z si-expires=2020-07-31T00:00:00Z'. $description_text.'/indication /si' Can anyone help ? Thanks PS: This is the PAP: pap push-message push-id='.$id.' deliver-before- timestamp=2020-09-28T06:45:00Z deliver-after- timestamp=2005-02-28T06:45:00Z progress-notes-requested=false address address-value=WAPPUSH='.$dest.'/ [EMAIL PROTECTED] / quality-of-service priority=low delivery-method=unconfirmed network-required=true network=GSM bearer-required=true bearer=SMS / /push-message /pap
Documentation for PAM authentification in 1.4.0
Hi, I'm trying to find some documentation about the PAM authentification in Kannel Vers. 1.4.0. The user guide on the homepage doesn't says much about this topic. Is there any README or howto? Regards Tom
Re: PPG DLR
PPG SMS level DLRs are not meant to be used this. They told only that the phone had received the message *not* that it had understood it. Asrno On 25.7.2005, at 11.57, Linkas wrote: I've set the ppg-smsbox-id in the ppg core group and also set the smsbox-id in the smsbox group. When I call the /wappush url to send wappushes I do set the dlr- url=CUT and dlr-mask=31 like: POST /wappush?username=ppgusernamepassword=ppgpassworddlr- mask=31dlr-url='.urlencode($my_dlr_url).' HTTP/1.1' but the DLRs are not saved in the DB and no DLR are getting in from the SMSC. Can anyone help? -- my Config group = ppg ppg-url = /wappush ppg-port = 8080 concurrent-pushes = 50 users = 52 trusted-pi = false ppg-smsbox-id = boxinterna group = smsbox smsbox-id = boxinterna bearerbox-host = 10.100.10.5 sendsms-port = 13013 sendsms-url = /cgi-bin/invia log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/access.log log-level = 0
bearerbox port
When kannel is configured as sms gateway what port does bearerbox listening?
Concatenation and dlr over SMPP
Hi, When sending long message (more that 160 chars), kannel sends two submit_sm PDUs, first one with registered_delivery flag , second one without it. Thus, when first message is delivered to phone (without knowing if second one reached phone) it removes dlr from database. Is it supposed to be that way, or it is a bug?
Re: Out of Memory
On Jul 26, 2005, at 7:55 PM, Alejandro J. Ramirez wrote: Jul 24 04:54:38 movil kernel: Out of Memory: Killed process 6186 (bearerbox). I would suggest you look at your process list with ps to determine exactly which program it is that gobbles up your memory. With more specifics (like the kind of configuration you are using for that particular program), it might be possible for someone to come up with an answer. Cheers, Pi
Re: Out of Memory
I don't think it's bearerbox's fault. It would involve major memory leaks and I don't think that's the case. It looks like you are not short of memory (360Mb out of 1 Gb is more than enough). Maybe you don't have swap space enabled? Please run top again and look for the a line like this: Swap: 1052248k av, 3512k used, 1048736k free 304424k cached If it's not there or it shows 0k size, it's not activated or at least not working as expected. In that case, when you approach your memory limit, you'll start to experience problems. If swap is ok, then the problem should be elsewere, start with ps auxw | more and try to look who's eating all thos megabytes of RAM. Hope it helps, On 7/26/05, Alejandro J. Ramirez [EMAIL PROTECTED] wrote: Hello All!! This has happened to me quite a few times now: From message log: Jul 24 04:54:38 movil kernel: Out of Memory: Killed process 6186 (bearerbox). After this the whole system hangs, you cannot telnet SSH or even use the console. Only hard reboot works. Top command shows this normally: CPU states: 0.3% user 0.3% system 0.0% nice 0.0% iowait 99.2% idle Mem: 1030892k av, 662820k used, 368072k free, 0k shrd, 77780k buff 357484k actv, 121260k in_d, 8232k in_c I have the feeling that his happens after the bearerbox,sqlbox,smsbox have being running for too long without a reset… What do you guys think? Should I have something in my crontab to reset this services on a daily basis?? Has anyone ran into this kind of problem before?? Thank you!! Alejandro-- Alejandro GuerrieriMagicom http://www.magicom-bcn.net/
RE: Out of Memory
Thanx all. This is mi top output concerning swap space 13:18:28 up 1 day, 21:30, 3 users, load average: 0.01, 0.03, 0.00 60 processes: 58 sleeping, 2 running, 0 zombie, 0 stopped CPU states: 0.0% user 0.8% system 0.0% nice 0.0% iowait 99.2% idle Mem: 1030892k av, 675004k used, 355888k free, 0k shrd, 78452k buff 359980k actv, 129764k in_d, 6740k in_c Swap: 522104k av, 0k used, 522104k free 458496k cached I think its quite alright. As for the memory consuming processes. This are the only ones worth mentioning root 19021 0.1 0.3 327656 3972 ? S 12:45 0:02 /home/alex/gateway-1.4.0/gw/bearerbox -d /home/alex/gateway-1.4 .0/gw/smskannel.conf root 19062 0.0 0.2 39124 2716 ? S 12:45 0:00 /home/alex/gateway-1.4.0/gw/sqlbox -d /home/alex/gateway-1.4.0/ gw/smskannel.conf root 19072 0.0 0.3 80704 3416 ? S 12:45 0:01 /home/alex/gateway-1.4.0/gw/smsbox -d /home/alex/gateway-1.4.0/ gw/smskannel.conf apache 19123 0.1 0.8 18464 8780 ? S 12:57 0:02 /usr/sbin/httpd apache 19131 0.1 0.8 18472 8792 ? S 13:05 0:01 /usr/sbin/httpd mysql 1912 0.6 1.1 15804 11432 ? S Jul24 17:36 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking Im running this on a typical Redhat 9.0 installation. Ive installed from sources. Ive had this happen to me prior to the sqlbox installation I upgraded to 1 Gb memory and it was quite for sometime. But now it wants MORE? Do you think it might be wise to maybe install the smsbox on some other server?? Or the the sqlbox maybe? Can this even be done? Ideas welcome, Cheers, Alejandro -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Alejandro Guerrieri Enviado el: Martes, 26 de Julio de 2005 11:31 a.m. Para: users@kannel.org Asunto: Re: Out of Memory I don't think it's bearerbox's fault. It would involve major memory leaks and I don't think that's the case. It looks like you are not short of memory (360Mb out of 1 Gb is more than enough). Maybe you don't have swap space enabled? Please run top again and look for the a line like this: Swap: 1052248k av, 3512k used, 1048736k free 304424k cached If it's not there or it shows 0k size, it's not activated or at least not working as expected. In that case, when you approach your memory limit, you'll start to experience problems. If swap is ok, then the problem should be elsewere, start with ps auxw | more and try to look who's eating all thos megabytes of RAM. Hope it helps, On 7/26/05, Alejandro J. Ramirez [EMAIL PROTECTED] wrote: Hello All!! This has happened to me quite a few times now: From message log: Jul 24 04:54:38 movil kernel: Out of Memory: Killed process 6186 (bearerbox). After this the whole system hangs, you cannot telnet SSH or even use the console. Only hard reboot works. Top command shows this normally: CPU states: 0.3% user 0.3% system 0.0% nice 0.0% iowait 99.2% idle Mem: 1030892k av, 662820k used, 368072k free, 0k shrd, 77780k buff 357484k actv, 121260k in_d, 8232k in_c I have the feeling that his happens after the bearerbox,sqlbox,smsbox have being running for too long without a reset What do you guys think? Should I have something in my crontab to reset this services on a daily basis?? Has anyone ran into this kind of problem before?? Thank you!! Alejandro -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/