Re: SQLbox, dlr-url and smsbox-route
Hi Andreas, Have you tried to use other msg-id-type ? From the looks a different msgid comes with the DLR than with the submit_sm, so this needs to be converted somehow, so it looks for the right msgid in the db. Kind reards. Mads. Den 17/05/2011 kl. 13.37 skrev Andreas Bergman: Hi! I tried doing that, when cheking the bearerlog it looks like this: It seems to add the DLR DLR[internal]: Adding DLR smsc=beepsend, ts=9223372036854775807, src=abergman, dst=46708768300, mask=1, boxc=smsbox and then some rows down it says: DLR[internal]: Looking for DLR smsc=beepsend, ts=73131305632029382, dst=46708768300, type=1 2011-05-17 13:33:50 [5398] [6] WARNING: DLR[internal]: DLR from SMSCbeepsend for DST46708768300 not found. 2011-05-17 13:33:50 [5398] [6] ERROR: SMPP[beepsend]: got DLR but could not find message or was not interested in it id73131305632029382 dst46708768300, type1 Any ideas on why? I changed the start order so that the smsbox is started before the sqlbox, but it didn't make any difference. Should the smsbox be connected to the bearerbox via the sqlbox? Br Andreas Från: Πετσούκα Τάνια Till: Andreas Bergman Skickat: tisdag, 17 maj 2011 12:19:40 Ämne: Re: SQLbox, dlr-url and smsbox-route Furthermore, don't use the included sqlbox version in 1.5. Download latest sqlbox from svn trunk. (This has nothing to do with your previous problem, but you may come up against other issues with that version) - Original Message - From: Andreas Bergman To: users@kannel.org Sent: Tuesday, May 17, 2011 12:26 PM Subject: SQLbox, dlr-url and smsbox-route Hi, I know that this issue/problem has been discussed before, but i can't get a grip on if it is a feature or a bug. What i want to achieve: * Add msg to send_sms * The msg is sent * The SMPP module receives the status report * The report is sent to the smsbox and the dlr-url invoked. What is happening:* Add msg to send_sms * The msg is sent * The SMPP module receives the status report * The report is sent to the sqlbox and stored in sent_sms. My config looks like this: ===Core, smsbox, smsc (kannel.conf)=== group = core admin-port = 13000 admin-password = #status-password = #admin-deny-ip = #admin-allow-ip = smsbox-port = 13001 #wapbox-port = 13002 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 0 group = smsc smsc-id=beepsend smsc = smpp host = port = 7337 receive-port = 7337 transceiver-mode=true smsc-username = smsc-password = system-type = VMA msg-id-type = 0x01 address-range = source-addr-npi=1 source-addr-ton=5group = smsbox dest-addr-ton=1 dest-addr-npi=1 enquire-link-interval=60s group = smsbox smsbox-id = smsbox bearerbox-host = 127.0.0.1 bearerbox-port = 13001 log-file = /var/log/kannel/smsbox.log sendsms-port = 13013 group = sendsms-user username = abergman password = group = smsbox-route smsbox-id = smsbox smsc-id =beepsend SQLBOX=== group = sqlbox id=sqlbox smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13005 sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/sqlbox.log log-level = 0 group = mysql-connection id = sqlbox host = localhost username = root password = database = kannel max-connections = 1 The flow looks like this smsbox --- bearerbox --- smsc sqlbox I'm using kannel 1.5 (devel) and the sqlbox shipped with it, no extra patches. Is this supposed to work? br Andreas
RE: Configuration question
In addition to what Shiv Narayan said, consider using Kannel 1.5 so that you can start with something recent as opposed to Kannel 1.4 since it is very old. Regards! Mfawa Alfred Onen M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view), RHCSS(in view) System Administrator Department of Computer Science, Bingham University. E-Mail: systemad...@binghamuni.edu.ng Phone1: +234 805 944 3154 Phone2: +234 803 079 6088 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Willy Mularto Sent: Tuesday, May 17, 2011 1:07 PM To: Shiv Narayan Cc: users@kannel.org Subject: Re: Configuration question - See the sms-service group usage to forward incoming SMS to your application. And yes it is possible to process or manipulate the reply (MT) before sending back - SQLBox will do it for you. And the last, the list archives and user guide will help you much. On May 17, 2011, at 6:55 PM, Shiv Narayan wrote: Hi, I'm a complete newbie to Kannel and really appreciate help with some issues. Sorry if these are really basic. I'm trying to use Kannel to receive incoming SMS' through a GSM modem and forward them to an application on another server. It will not be sending any SMS. * How do I configure to receive SMS and forward on to my application. Will the message be whole or is it possible to do some processing before sending? * How can I configure kannel to store all incoming SMS to MySQL? I'm assuming this is not DLR since no SMS is being sent. If anyone has an example configuration it would be much appreciated. Following is additional info: Ubuntu 11.04 Kannel 1.4.3 Libxml2 Thanks very much for your help. Kind regards, Willy Mularto F300HD+MR18DE (NLC1725)
Re: 0: Accepted For Delivery
AoA Saleem Sb I have configured my Kannel to store the DLR in mysql. I have all changes as required and mentioned in tutorials but unable to get through. Could you please help me, what to do for this ? Wassalam On Tue, May 17, 2011 at 3:59 PM, Mirza Aamir Raza Khan mirz...@gmail.com wrote: Thanks a lot sleem sb, it is fine now, I just set max-messages = 0 and all went good. once again thanks alot. Wassalam On Tue, May 17, 2011 at 3:39 PM, Mohammed Saleem mohammedsl...@gmail.comwrote: Looks your problem in the get-url, when you send the reply, you redirect kannel service to itself, then kannel sends also the reply received from the HTTP get. Try adding the following to the *sms-service* group *max-messages=0* you might also need to set *concatenation=true* Best Regards, Mohammed M I Sleem http://www.abusleem.net - Personal blog http://www.colorle.com http://www.freakle.com/ - Search in Colors On Tue, May 17, 2011 at 11:42 AM, Mirza Aamir Raza Khan mirz...@gmail.com wrote: Dear Frens I have configured and running Kannel with my Telco operator, its running fine but I am getting one additional message. When I receive message at my mobile from my Kannel, it also send 0: Accepted for Delivery. I have googled around but didnt find any answer, Can anyone please help me ? Regards -- [mark] If God was to humiliate a human being, He would deny him knowledge Imam Ali Ibn Abi Talib (A.S) -- [mark] If God was to humiliate a human being, He would deny him knowledge Imam Ali Ibn Abi Talib (A.S)
RE: Please help me with kannel conf...
Dear Alexandr, You better keep every correspondence on the list. It can help more than one. No problem. I had myself picked up pieces around and somehow modified them to suit my needs. Below they are. If you need more let us know. Regards, /dvl/scripts/kannel_crash.sh: #!/bin/sh DATETIME=`date +%Y%m%d%H%M%S` # Log the start /bin/echo bearerbox crashed /dvl/log/kannel/kannel_crash_$DATETIME.log /bin/date /dvl/log/kannel/kannel_crash_$DATETIME.log # Restart the service /bin/sleep 20 /sbin/service kannel restart # Log the end /bin/echo it should have resumed /dvl/log/kannel/kannel_crash_$DATETIME.log /bin/date /dvl/log/kannel/kannel_crash_$DATETIME.log /etc/init.d/kannel: #!/bin/bash # # This shell script takes care of starting and stopping # the Kannel SMS WAP gateway # Original version Fabrice Gatille fgatille at ivision.fr # Modified by Stephane Rosa (srosa at domusmea.org) for RedHat9 # chkconfig: 2345 97 03 # description: Kannel is an SMS and WAP gateway VERSION=`/usr/local/kannel/bin/gw-config --version` #OPTIONS=--daemonize --parachute --user kannel --pid-file /var/run/kannel/ OPTIONS=--daemonize --parachute --pid-file /var/run/kannel/ KANNELPATH=/usr/local/kannel/sbin CONF=/etc/kannel/kannel.conf #CONFDIR=/etc/kannel/conf # Source function library networking conf. . /etc/init.d/functions [ -f /etc/sysconfig/network ] . /etc/sysconfig/network # Check that we are root ... so non-root users stop here [ `id -u` = 0 ] || exit 1 # Various other checks [ ${NETWORKING} = yes ] || exit 0 [ -x $KANNELPATH/bearerbox ] || exit 0 [ -x $KANNELPATH/smsbox ] || exit 0 [ -x $KANNELPATH/wapbox ] || exit 0 [ -f $CONF ] || exit 0 RETVAL=0; RETVAL1=0; RETVAL2=0; RETVAL3=0 prog=Kannel start() { # Check that at least one group is defined for sms # and/or wap to start the bearer. Then start boxes # as needed. startsms=`egrep -se '^[ \t]*group *= *smsbox' $CONF` startwap=`egrep -se '^[ \t]*group *= *wapbox' $CONF` # startsms=`egrep -hse '^[ \t]*group *= *smsbox' $CONF ${CONFDIR}/*` # startwap=`egrep -hse '^[ \t]*group *= *wapbox' $CONF ${CONFDIR}/*` if [ -n $startsms$startwap ]; then echo -n Starting Mobile Gateway Service 1[Bearer box] ($VERSION): daemon /usr/local/kannel/sbin/bearerbox --panic-script /dvl/scripts/kannel_crash.sh ${OPTIONS}bearerbox.pid -- $CONF RETVAL1=$? echo sleep 15 else exit 0 fi if [ -n $startsms ]; then echo -n Starting Mobile Gateway Service 2[SMS Box] ($VERSION): daemon /usr/local/kannel/sbin/smsbox ${OPTIONS}smsbox.pid -- $CONF RETVAL2=$? echo fi if [ -n $startwap ]; then echo -n Starting Mobile Gateway Wap service[Wap Box] ($VERSION): daemon /usr/local/kannel/sbin/wapbox ${OPTIONS}wapbox.pid -- $CONF RETVAL3=$? echo fi let RETVAL=$REVAL1+$RETVAL2+$RETVAL3 if [ $RETVAL -eq 0 ]; then sleep 2 touch /var/lock/subsys/gateway cat /var/run/kannel/*.pid /var/run/kannel/kannel.pid fi return $RETVAL } stop() { echo -n Shutting down Mobile Gateway $VERSION: killproc kannel RETVAL=$? echo if [ $RETVAL -eq 0 ]; then sleep 2 rm -f /var/lock/subsys/gateway #rm /var/run/kannel/*.pid rm /var/run/kannel/*.pid fi return $RETVAL } # See how we were called. case $1 in start) # Start daemons. start ;; stop) # Stop daemons stop ;; restart) # Restart daemons stop sleep 1 start ;; status) status bearerbox status smsbox status wapbox exit $? ;; *) echo Usage: named {start|stop|status|restart} RETVAL=1 esac exit $RETVAL TSHIMANGA Minkoka VAS Manager Mob: +243 814443113 Tel: +243 815560341 ext. 0583 Fax: +243 813010373 Email: tshimanga.mink...@vodacom.cd Web: http://www.vodacom.cd -Original Message- From: Alexandr Gubanov [mailto:alexkor...@gmail.com] Sent: Tuesday 17 May 2011 12:58 To: Tshimanga Minkoka Subject: Please help me with kannel conf... Hi, Tshimanga! I have read your correspondence on the channel users@kannel.org about restart bearerbox with parachute. I had the same problem with my kannel 1.4.2 installed on centos 5.5 Could you send me your script /dvl/scripts/kannel_crash.sh? And could you tell how to make it work kannel as service? Because when I run the supplied script (/etc/init.d/kannel) process does not start and the ps -ef | grep kannel did not show and any system logs no bearerbox and smsbox errors... Thanks in advance for any help! -- Best regards, Alexandr Gubanov, head of system administration department JSC APPM w. +78185263134, fax.+78185263096. e-mail: alexkor...@gmail.com web: www.appm.ru
./configure
Good day. I`m download Kannel in my Debian server and try to configure, after when I`m try to type make the system answered what make it`s not command. This my log: root@SMPP:/usr/kannel/gateway-1.1.4# ./configure --disable-docs --with-mysql loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking for bison... no checking for byacc... no checking for flex... (cached) lex checking for yywrap in -ll... (cached) no checking for perl... (cached) /usr/bin/perl checking for log in -lm... (cached) yes checking for accept in -lsocket... (cached) no checking for inet_ntoa in -lnsl... (cached) yes checking for pthread_exit in -lpthread... (cached) yes checking for pthread_exit in -lc_r... (cached) no checking for xml2-config... (cached) /usr/bin/xml2-config checking libxml version... 2.7.8 checking for inet_ntop in -lresolv... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/poll.h... (cached) yes checking for pthread.h... (cached) yes checking for getopt.h... (cached) yes checking for syslog.h... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getopt_long... (cached) yes checking for getopt... (cached) yes checking for socklen_t in sys/socket.h... (cached) yes checking for getopt in stdio.h... (cached) no checking for getopt in unistd.h... (cached) yes checking for working pthreads... yes checking for jade... (cached) : checking for jadetex... (cached) : checking for dvips... (cached) : checking for fig2dev... (cached) : checking for ps2pdf... (cached) : checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... (cached) no Not building documentation. using checking malloc
Re: ./configure
Hi, That's for administrators, not kannel. You need to install make in your system. In addition you will need gcc to compile... BR, Nikos - Original Message - From: Komil Gulboev ko...@babilon-m.tj To: users@kannel.org Sent: Wednesday, May 18, 2011 12:46 PM Subject: ./configure Good day. I`m download Kannel in my Debian server and try to configure, after when I`m try to type make the system answered what make it`s not command. This my log: root@SMPP:/usr/kannel/gateway-1.1.4# ./configure --disable-docs --with-mysql loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking for bison... no checking for byacc... no checking for flex... (cached) lex checking for yywrap in -ll... (cached) no checking for perl... (cached) /usr/bin/perl checking for log in -lm... (cached) yes checking for accept in -lsocket... (cached) no checking for inet_ntoa in -lnsl... (cached) yes checking for pthread_exit in -lpthread... (cached) yes checking for pthread_exit in -lc_r... (cached) no checking for xml2-config... (cached) /usr/bin/xml2-config checking libxml version... 2.7.8 checking for inet_ntop in -lresolv... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/poll.h... (cached) yes checking for pthread.h... (cached) yes checking for getopt.h... (cached) yes checking for syslog.h... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getopt_long... (cached) yes checking for getopt... (cached) yes checking for socklen_t in sys/socket.h... (cached) yes checking for getopt in stdio.h... (cached) no checking for getopt in unistd.h... (cached) yes checking for working pthreads... yes checking for jade... (cached) : checking for jadetex... (cached) : checking for dvips... (cached) : checking for fig2dev... (cached) : checking for ps2pdf... (cached) : checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... (cached) no Not building documentation. using checking malloc
Re: Please help me with kannel conf...
Hi Tshimanga! Many thanks for your reply! Can you read my message gateway http-response 202 and 200 on users channel - if you have any ideas on this? Community I have not yet responded, and the timing of the project are nearing completion. I ran out of ideas on this subject... -- Best regards, Alexandr Gubanov, head of system administration department JSC APPM w. +78185263134, fax.+78185263096. e-mail: alexkor...@gmail.com web: www.appm.ru
RE: Please help me with kannel conf...
Dear Shiv, We have all been new one day... Unfortunately, I don't have Kannel 1.5 (but it shouldn't be very different from earlier versions) neither I am using sqlbox. I'm replying to the Kannel list, as it is the best and fastest way for you to get some help. Regards, TSHIMANGA Minkoka VAS Manager È +243 814443113 * +243 815560341 ext. 0583 * +243 813010373 * tshimanga.mink...@vodacom.cdmailto:tshimanga.mink...@vodacom.cd ü http://www.vodacom.cd [cid:image003.jpg@01CC155C.48EF2B30] From: Shiv Narayan [mailto:narayans...@yahoo.com] Sent: Wednesday 18 May 2011 12:53 To: Tshimanga Minkoka Subject: Re: Please help me with kannel conf... Dear Tshimanga, I'm new to Kannel and much appreciate help with configuring. I was wondering if you have an example configuration for Kannel 1.5 to -send incoming sms to an application using http -write all incoming sms into mysql. Thanks in advance. Regards, Shiv From: Tshimanga Minkoka tshimanga.mink...@vodacom.cd To: users@kannel.org users@kannel.org Cc: Alexandr Gubanov alexkor...@gmail.com Sent: Wed, May 18, 2011 11:43:16 AM Subject: RE: Please help me with kannel conf... Dear Alexandr, You better keep every correspondence on the list. It can help more than one. No problem. I had myself picked up pieces around and somehow modified them to suit my needs. Below they are. If you need more let us know. Regards, /dvl/scripts/kannel_crash.sh: #!/bin/sh DATETIME=`date +%Y%m%d%H%M%S` # Log the start /bin/echo bearerbox crashed /dvl/log/kannel/kannel_crash_$DATETIME.log /bin/date /dvl/log/kannel/kannel_crash_$DATETIME.log # Restart the service /bin/sleep 20 /sbin/service kannel restart # Log the end /bin/echo it should have resumed /dvl/log/kannel/kannel_crash_$DATETIME.log /bin/date /dvl/log/kannel/kannel_crash_$DATETIME.log /etc/init.d/kannel: #!/bin/bash # # This shell script takes care of starting and stopping # the Kannel SMS WAP gateway # Original version Fabrice Gatille fgatille at ivision.frhttp://ivision.fr # Modified by Stephane Rosa (srosa at domusmea.orghttp://domusmea.org) for RedHat9 # chkconfig: 2345 97 03 # description: Kannel is an SMS and WAP gateway VERSION=`/usr/local/kannel/bin/gw-config --version` #OPTIONS=--daemonize --parachute --user kannel --pid-file /var/run/kannel/ OPTIONS=--daemonize --parachute --pid-file /var/run/kannel/ KANNELPATH=/usr/local/kannel/sbin CONF=/etc/kannel/kannel.conf #CONFDIR=/etc/kannel/conf # Source function library networking conf. . /etc/init.d/functions [ -f /etc/sysconfig/network ] . /etc/sysconfig/network # Check that we are root ... so non-root users stop here [ `id -u` = 0 ] || exit 1 # Various other checks [ ${NETWORKING} = yes ] || exit 0 [ -x $KANNELPATH/bearerbox ] || exit 0 [ -x $KANNELPATH/smsbox ] || exit 0 [ -x $KANNELPATH/wapbox ] || exit 0 [ -f $CONF ] || exit 0 RETVAL=0; RETVAL1=0; RETVAL2=0; RETVAL3=0 prog=Kannel start() { # Check that at least one group is defined for sms # and/or wap to start the bearer. Then start boxes # as needed. startsms=`egrep -se '^[ \t]*group *= *smsbox' $CONF` startwap=`egrep -se '^[ \t]*group *= *wapbox' $CONF` # startsms=`egrep -hse '^[ \t]*group *= *smsbox' $CONF ${CONFDIR}/*` # startwap=`egrep -hse '^[ \t]*group *= *wapbox' $CONF ${CONFDIR}/*` if [ -n $startsms$startwap ]; then echo -n Starting Mobile Gateway Service 1[Bearer box] ($VERSION): daemon /usr/local/kannel/sbin/bearerbox --panic-script /dvl/scripts/kannel_crash.sh ${OPTIONS}bearerbox.pid -- $CONF RETVAL1=$? echo sleep 15 else exit 0 fi if [ -n $startsms ]; then echo -n Starting Mobile Gateway Service 2[SMS Box] ($VERSION): daemon /usr/local/kannel/sbin/smsbox ${OPTIONS}smsbox.pid -- $CONF RETVAL2=$? echo fi if [ -n $startwap ]; then echo -n Starting Mobile Gateway Wap service[Wap Box] ($VERSION): daemon /usr/local/kannel/sbin/wapbox ${OPTIONS}wapbox.pid -- $CONF RETVAL3=$? echo fi let RETVAL=$REVAL1+$RETVAL2+$RETVAL3 if [ $RETVAL -eq 0 ]; then sleep 2 touch /var/lock/subsys/gateway cat /var/run/kannel/*.pid /var/run/kannel/kannel.pid fi return $RETVAL } stop() { echo -n Shutting down Mobile Gateway $VERSION: killproc kannel RETVAL=$? echo if [ $RETVAL -eq 0 ]; then sleep 2 rm -f /var/lock/subsys/gateway #rm /var/run/kannel/*.pid rm /var/run/kannel/*.pid fi return $RETVAL } # See how we were called. case $1 in start) # Start daemons. start ;; stop) # Stop daemons stop ;; restart) # Restart daemons stop sleep 1 start ;; status) status bearerbox status smsbox status wapbox exit $? ;; *) echo Usage: named {start|stop|status|restart} RETVAL=1 esac exit $RETVAL TSHIMANGA Minkoka VAS Manager Mob: +243
RE: gateway http-response 202 and 200
You can do 3 things, thanks I can think of: 1. Change the behaviour of PRTG (recommended way) 2. Patch the smsbox code yourself and change status code 202 to 200. 3. Create a wrapper script (e.g. in PHP). This script should accept the same parameters as smsbox. Then, in that script, call the sendsms interface and return any contents that you get and exit with status code 200. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Alexandr Gubanov Sent: Tuesday, 17 May, 2011 15:06 To: users@kannel.org Subject: gateway http-response 202 and 200 Hello! Сommercial system that I use (PRTG), and that sends through the kannel a sms-message waiting for a http-response 200, but the kannel is responsible 202. Because of that I sent to 3 sms-messages instead of one, and the PRTG logs an error message delivery. How to get the kannel to respond to a http-request 200? SMS is sent requesting http://smsgate.appm.local:13013/cgi-bin/sendsms?username=password=to=%SMSN UMBERtext=%SMSTEXT My kannel config is: group = core admin-port = 13000 admin-password = * smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 access-log = /var/log/kannel/access.log dlr-storage = internal store-type = spool store-location = /var/spool/kannel/ group = smsbox bearerbox-host = localhost smsbox-id = APPM-smsbox log-file = /var/log/kannel/smsbox.log log-level = 1 sendsms-port = 13013 group = smsc smsc = at smsc-id = APPM-smsc #log-file = /var/log/kannel/smsc_at.log #log-level = 3 modemtype = auto device = /dev/ttyS0 connect-allow-ip = 127.0.0.1 speed = 115200 sim-buffering = true unified-prefix = +007 sms-center = +7MMMXXX group = smsbox-route smsbox-id = APPM-smsbox smsc-id = APPM-smsc group = modems id = SIEMENS MC35i name = Siemens_MC35i detect-string = SIEMENS detect-string2 = MC35i init-string = AT+CNMI=1,2,0,1,1 enable-hwhs = AT\\Q3 need-sleep = true message-storage = sm group = sendsms-user username = password = default-sender = +7MMMXXX group = sms-service keyword = default text = No service specified catch-all = true I will be grateful for any help! -- Best regards, Alexandr Gubanov. smime.p7s Description: S/MIME cryptographic signature
RE: gateway http-response 202 and 200
Dear Alexandr, I am sorry but I have never faced a similar issue. Have a look at the variable generic-message-sent (available in smsc group and http smsc). Regards, TSHIMANGA Minkoka VAS Manager Mob: +243 814443113 Tel: +243 815560341 ext. 0583 Fax: +243 813010373 Email: tshimanga.mink...@vodacom.cd Web: http://www.vodacom.cd -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Alexandr Gubanov Sent: Tuesday 17 May 2011 14:06 To: users@kannel.org Subject: gateway http-response 202 and 200 Hello! Сommercial system that I use (PRTG), and that sends through the kannel a sms-message waiting for a http-response 200, but the kannel is responsible 202. Because of that I sent to 3 sms-messages instead of one, and the PRTG logs an error message delivery. How to get the kannel to respond to a http-request 200? SMS is sent requesting http://smsgate.appm.local:13013/cgi-bin/sendsms?username=password=to=%SMSNUMBERtext=%SMSTEXT My kannel config is: group = core admin-port = 13000 admin-password = * smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 access-log = /var/log/kannel/access.log dlr-storage = internal store-type = spool store-location = /var/spool/kannel/ group = smsbox bearerbox-host = localhost smsbox-id = APPM-smsbox log-file = /var/log/kannel/smsbox.log log-level = 1 sendsms-port = 13013 group = smsc smsc = at smsc-id = APPM-smsc #log-file = /var/log/kannel/smsc_at.log #log-level = 3 modemtype = auto device = /dev/ttyS0 connect-allow-ip = 127.0.0.1 speed = 115200 sim-buffering = true unified-prefix = +007 sms-center = +7MMMXXX group = smsbox-route smsbox-id = APPM-smsbox smsc-id = APPM-smsc group = modems id = SIEMENS MC35i name = Siemens_MC35i detect-string = SIEMENS detect-string2 = MC35i init-string = AT+CNMI=1,2,0,1,1 enable-hwhs = AT\\Q3 need-sleep = true message-storage = sm group = sendsms-user username = password = default-sender = +7MMMXXX group = sms-service keyword = default text = No service specified catch-all = true I will be grateful for any help! -- Best regards, Alexandr Gubanov.
question on using XML admin interface
Hi, We have been using the admin interface http://localhost:13000/status.xml?password=x But the response is not in xml format. For http://localhost:13000/store-status.xml?password=x the response is just blank lines. In both cases there are no XML tags. Is this a bug or are we using it incorrectly? Thanks for any assistance.
Upgrade to Rel 1.5
Hi All, I just wanted to ask some feedback if someone has carried out the upgrade from v. 1.4.3 to the latest 1.5 Release. Were there issues after the upgrade using the same configurations? Has real benefits been experienced as listed in new release features? Kind Regards, Gjergji
Re: Upgrade to Rel 1.5
Hi, Most of the people in this list have been periodically patching their 1.4.3 installation, until upgrade to 1.5.0 was just another patch. 1.5.0 offers a lot of improvements over 1.4.3 and is highly recommended. It is backward compatible, with the only possible issue is that default charset has changed from windows-1252 to UTF-8. BR, Nikos - Original Message - From: Gjergji Guri To: users@kannel.org Sent: Thursday, May 19, 2011 1:08 AM Subject: Upgrade to Rel 1.5 Hi All, I just wanted to ask some feedback if someone has carried out the upgrade from v. 1.4.3 to the latest 1.5 Release. Were there issues after the upgrade using the same configurations? Has real benefits been experienced as listed in new release features? Kind Regards, Gjergji