Re: Kannel List in spanish.
Stipe, would you like to create [EMAIL PROTECTED] ? ;) M On 4/13/07, Cidar Ramirez - Speednet [EMAIL PROTECTED] wrote: Excellent idea !! I'm in too [EMAIL PROTECTED] regards Cidar Ramirez CTO Speednet Communications Ltd. 83 North Front St Belize City - Belize * (501) 223 1919 7 (501) 223 0097 Mob: (501) 670 1064 * mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This message, and its attachments if any, is intended only for the use of the individual or entity to which it is addressed, and contains information that is Valuable, Proprietary and Confidential to Speednet Communications Ltd. If the reader of this message is not the intended recipient, or an employee or agent authorized and responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify Speednet Communications and delete all copies of the message. -Mensaje original- De: Mi Reflejo [mailto:[EMAIL PROTECTED] Enviado el: Thursday, April 12, 2007 11:04 PM Para: Kannel Users Asunto: Kannel List in spanish. Since i'm receiving mails asking for support in spanish i think is a good idea start a new List for those users who speak spanish. If we have feedback from here. I'll start a new mail-list ASAP and i'll give support in this language.. Would you subscribe? Regards, Martin Conte
Re: Kannel List in spanish.
Ok i'll talk to stipe to create [EMAIL PROTECTED] The first idea is give support for spanish users but will be great if any inspirate user start to write code, add some feature or fix some bug. Regards, Martin Conte. On 4/13/07, Juan Nin [EMAIL PROTECTED] wrote: Yes, I also think it's a good idea! And Alejandro's point is a good one too... It should be limited to support Dale gas! :)
Kannel List in spanish.
Since i'm receiving mails asking for support in spanish i think is a good idea start a new List for those users who speak spanish. If we have feedback from here. I'll start a new mail-list ASAP and i'll give support in this language.. Would you subscribe? Regards, Martin Conte
Re: sqlbox-standalone problem
Why doesn't work?? It should. M On 2/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Yeah, I have add that directive and it's now connected. But I read on the archieve that sqlbox-standalone doesn't work with 1.4.1. Is that true? Any recommended kannel's version to work best with sqlbox-standalone? Many thanks for the helps. Regards Willy - Original Message - From: Cezary Siwek [EMAIL PROTECTED] To: users@kannel.org Sent: Wednesday, February 21, 2007 5:13 PM Subject: Re: sqlbox-standalone problem hi Willy i had the same problem when i didn't set port = 3306 in sqlbox.conf BTW ... sqlbox was working properly without setting this value when mysql database was installed on the same box with kannel . Cezary
Re: source_port, source_subaddress, and dest_subaddress issue
Please read User-guide. http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html SMS-service configurations Table 6-9. Parameters (Escape Codes) %p the phone number of the sender of the SMS message %P the phone number of the receiver of the SMS message M On 2/21/07, Ady Wicaksono [EMAIL PROTECTED] wrote: Dear all, My SMSC send deliver_sm with source_port, source_subaddress, and dest_subaddress. How to capture it and return it back to SMSC? PDU log is like this: 2007-02-21 17:38:14 [6147] [7] DEBUG: SMPP PDU 0x8680c88 dump: 2007-02-21 17:38:14 [6147] [7] DEBUG: type_name: deliver_sm 2007-02-21 17:38:14 [6147] [7] DEBUG: command_id: 5 = 0x0005 2007-02-21 17:38:14 [6147] [7] DEBUG: command_status: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: sequence_number: 70622420 = 0x04359cd4 2007-02-21 17:38:14 [6147] [7] DEBUG: service_type: NULL 2007-02-21 17:38:14 [6147] [7] DEBUG: source_addr_ton: 1 = 0x0001 2007-02-21 17:38:14 [6147] [7] DEBUG: source_addr_npi: 1 = 0x0001 2007-02-21 17:38:14 [6147] [7] DEBUG: source_addr: xx 2007-02-21 17:38:14 [6147] [7] DEBUG: dest_addr_ton: 1 = 0x0001 2007-02-21 17:38:14 [6147] [7] DEBUG: dest_addr_npi: 1 = 0x0001 2007-02-21 17:38:14 [6147] [7] DEBUG: destination_addr: xx 2007-02-21 17:38:14 [6147] [7] DEBUG: esm_class: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: protocol_id: 201 = 0x00c9 2007-02-21 17:38:14 [6147] [7] DEBUG: priority_flag: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: schedule_delivery_time: NULL 2007-02-21 17:38:14 [6147] [7] DEBUG: validity_period: NULL 2007-02-21 17:38:14 [6147] [7] DEBUG: registered_delivery: 1 = 0x0001 2007-02-21 17:38:14 [6147] [7] DEBUG: replace_if_present_flag: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: data_coding: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: sm_default_msg_id: 0 = 0x 2007-02-21 17:38:14 [6147] [7] DEBUG: sm_length: 4 = 0x0004 2007-02-21 17:38:14 [6147] [7] DEBUG: short_message: test 2007-02-21 17:38:14 [6147] [7] DEBUG: source_port: 49 = 0x0031 2007-02-21 17:38:14 [6147] [7] DEBUG: source_subaddress: 2007-02-21 17:38:14 [6147] [7] DEBUG:Octet string at 0x8680da0: 2007-02-21 17:38:14 [6147] [7] DEBUG: len: 7 2007-02-21 17:38:14 [6147] [7] DEBUG: size: 8 2007-02-21 17:38:14 [6147] [7] DEBUG: immutable: 0 2007-02-21 17:38:14 [6147] [7] DEBUG: data: a0 31 30 30 31 38 00 .10018. 2007-02-21 17:38:14 [6147] [7] DEBUG:Octet string dump ends. 2007-02-21 17:38:14 [6147] [7] DEBUG: dest_subaddress: 2007-02-21 17:38:14 [6147] [7] DEBUG:Octet string at 0x8680dc8: 2007-02-21 17:38:14 [6147] [7] DEBUG: len: 10 2007-02-21 17:38:14 [6147] [7] DEBUG: size: 11 2007-02-21 17:38:14 [6147] [7] DEBUG: immutable: 0 2007-02-21 17:38:14 [6147] [7] DEBUG: data: a0 37 30 36 32 32 34 32 30 00 .70622420. 2007-02-21 17:38:14 [6147] [7] DEBUG:Octet string dump ends.
Re: sqlbox-standalone help
If you are trying to use sqlbox-standalone you don't need patch the gateway (This is what stand alone means :) ) Regards, Martin On 2/6/07, Hofferek Attila [EMAIL PROTECTED] wrote: Hi all. How to compile, or what to do with sqlbox standalone, and why saying make patch this: patch -p0 -d ../gateway sqlbox.patch patching file Makefile.in patching file configure Hunk #1 succeeded at 10873 (offset -7 lines). Hunk #2 succeeded at 10950 (offset -7 lines). Hunk #3 succeeded at 12964 (offset 84 lines). patching file configure.in Hunk #1 succeeded at 932 (offset -4 lines). Hunk #2 succeeded at 999 (offset -4 lines). patching file gw/smsbox.c Hunk #1 FAILED at 3319. Hunk #2 succeeded at 3350 with fuzz 2 (offset -15 lines). 1 out of 2 hunks FAILED -- saving rejects to file gw/smsbox.c.rej patching file gwlib/cfg.def Hunk #1 FAILED at 243. Hunk #2 succeeded at 575 (offset 18 lines). 1 out of 2 hunks FAILED -- saving rejects to file gwlib/cfg.def.rej make: *** [patch] Error 1 -- Hofferek Attila
Re: Error during compile
http://packages.ubuntu.com/hoary/devel/build-essential On 1/8/07, Stuart Steele [EMAIL PROTECTED] wrote: So build-essential is another package? Stuart On 07/01/07, Mi Reflejo [EMAIL PROTECTED] wrote: Your config.log is saying: /usr/bin/ld: crt1.o: No such file: No such file or directory When gcc tries to compile conftest.c Short: You need build-essential in your Ubuntu. # sudo apt-get install build-essential M On 1/7/07, Stuart Steele [EMAIL PROTECTED] wrote: I hope this list takes attachments as I am not sure how to cut and paste from VI into email ( ex-windows bunny!) Config.log -- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## - ## ## Platform. ## ## - ## hostname = stuart-laptop uname -m = i686 uname -r = 2.6.15-26-386 uname -s = Linux uname -v = #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/games ## --- ## ## Core tests. ## ## --- ## configure:1479: checking build system type configure:1497: result: i686-pc-linux-gnulibc1 configure:1505: checking host system type configure:1519: result: i686-pc-linux-gnulibc1 configure:1575: checking for gcc configure:1591: found /usr/bin/gcc configure:1601: result: gcc configure:1845: checking for C compiler version configure:1848: gcc --version /dev/null 5 gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1851: $? = 0 configure:1853: gcc -v /dev/null 5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=- 4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) configure:1856: $? = 0 configure:1858: gcc -V /dev/null 5 gcc: '-V' option must have argument configure:1861: $? = 1 configure:1884: checking for C compiler default output file name configure:1887: gccconftest.c 5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1890: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define GW_NAME Kannel | #define GW_VERSION 1.4.1 | #define VERSION 1.4.1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1929: error: C compiler cannot create executables See `config.log' for more details. ## ## ## Cache variables. ## ## ## ac_cv_build=i686-pc-linux-gnulibc1 ac_cv_build_alias=i686-pc-linux-gnulibc1 ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnulibc1 ac_cv_host_alias=i686-pc-linux-gnulibc1 ac_cv_prog_ac_ct_CC=gcc ## - ## ## Output variables. ## ## - ## CC='gcc' CFLAGS='' CONVERT='' CPP='' CPPFLAGS='' DEFS='' DOCDRAFTS='' DOCSTARGET='' DVIPS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXE_EXT='' FIG2DEV='' GW_VERSION='' HTML_DSL='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' JADE='' JADETEX='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LIBTOOL='' LTLIBOBJS='' MYSQL_CONFIG
Re: Error during compile
It's a problem related to your compiler and compiler options/flags. Which compiler/version are you using? Please post your config.log M On 1/7/07, Stuart Steele [EMAIL PROTECTED] wrote: I am having trouble compiling kannel, I get the following configure error C compiler cannot create executables Thanks in advance Stuart -- Stuart Steele StuWeb Race Management Services www.stuweb.co.uk
Re: Error during compile
='${exec_prefix}/bin' build='i686-pc-linux-gnulibc1' build_alias='' build_cpu='i686' build_os='linux-gnulibc1' build_vendor='pc' datadir='${prefix}/share' docdir='${prefix}/share/doc/kannel' exec_prefix='NONE' host='i686-pc-linux-gnulibc1' host_alias='' host_cpu='i686' host_os='linux-gnulibc1' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## --- ## ## confdefs.h. ## ## --- ## #define GW_NAME Kannel #define GW_VERSION 1.4.1 #define PACKAGE_BUGREPORT #define PACKAGE_NAME #define PACKAGE_STRING #define PACKAGE_TARNAME #define PACKAGE_VERSION #define VERSION 1.4.1 configure: exit 77 On 07/01/07, Mi Reflejo [EMAIL PROTECTED] wrote: It's a problem related to your compiler and compiler options/flags. Which compiler/version are you using? Please post your config.log M On 1/7/07, Stuart Steele [EMAIL PROTECTED] wrote: I am having trouble compiling kannel, I get the following configure error C compiler cannot create executables Thanks in advance Stuart -- Stuart Steele StuWeb Race Management Services www.stuweb.co.uk -- Stuart Steele StuWeb Race Management Services www.stuweb.co.uk
Re: [Fwd: oci.h not found]
This file is included when you Install the Oracle Development packages there is an option in the Oracle Client CD to install this. On 1/3/07, Stipe Tolj [EMAIL PROTECTED] wrote: forwarded to the list. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org --- -- Forwarded message -- From: Pradnya Nimje [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 3 Jan 2007 16:47:45 +0530 Subject: oci.h not found hi list, I have configured oracle 10g with kannel 1.4.1 on cygwin ,windows 2000 Server, after i comile kannel with oracle using --with-oracle options as given in userguide i get error oci.h not found in configuring DB support . My oracle is installed on other drive than kannel, does it affects? kindly reply With Regards Pradnya Nimje
Re: Kannel expert needed!
And me! i'm in south america Martin On 1/5/07, Stipe Tolj [EMAIL PROTECTED] wrote: John Mylly wrote: Hello, I've seen previous posts like this so I hope I can find somebody to help me out. We are a Mobile VAS provider focusing on the South American market and using Kannel as a messaging gateway. We desperately need somebody or company that can help us with serious problems we are having with Kannel. If you happen to know anybody interested please email me. for the list: Rene Kluwen and myself provide commercial support arround Kannel for companies and wireless carriers. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: [Fwd: run kannel as daemon]
Give us some debug what is nothing happens? please make: # /etc/rc.d/init.d/kannel start # cat /etc/rc.d/init.d/kannel # which bearerbox and # which smsbox With those results we can help you. M On 12/8/06, Stipe Tolj [EMAIL PROTECTED] wrote: forwarded to the list. Please give a helping hand. Sitpe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org --- -- Forwarded message -- From: Randel Rock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 7 Dec 2006 15:00:45 -0800 (PST) Subject: run kannel as daemon Stipe, I am trying to run kannel as a daemon. I am unfamiliar with daemons, but have read thoroughly about them in the kannel user guide. I made a new ./configure with --enable-start-stop-daemon. And then made a make. I also put the commands in below to run on 5 level on fc3. cd /etc/rc.d/rc5.d/ ln -s ../init.d/kannel S91kannel ln -s ../init.d/kannel K91kannel In the /gw directory I put in the command ./bearerbox -d 1 [conffile]. Nothing happens. Also I tried using kannel start in many directories, no results. What do I do now? This kannel does work with the regular shell executed commands. Thanks, Randel Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
Re: SQLBox documentation
I'm sorry there isn't any documentation at this moment. I don't have time to do it but i can tell you what sqlbox does. Universally speaking: Sqlbox module goes between bearerbox and smsbox; inserting all transactions (MO/MT) into one database (posgres, mysql). In one hand Sqlbox acts like smsbox to bearerbox and in the other hand acts like smsbox to bearerbox. i hope this helps. M On 11/9/06, Rolandow [EMAIL PROTECTED] wrote: Hi, I see a lot messages about the sqlbox passing by here. Is there some online documentation I can read before I start trying it? At this point I don't even know what the features are for this product. Thanks in advance! Regards, Roland.
Re: SQLBox documentation
On 11/9/06, Rolandow [EMAIL PROTECTED] wrote: Hi Mi, So instead of posting MT messages to the sendsms CGI script, I could just add it to the correct table, and then the bearerbox will pick it up and put it through the right smsc? Right. How about the dlr's, are they also being stored to mysql (in my case) ? Yes I do not understand your third line: both hands seem the same? Heh In one hand sqlbox acts as smsbox to bearerbox and in the other hand sqlbox acts as bearerbox to smsbox Thanks for your response! Kind regards, Roland. M
Re: Sqlbox: my experience
:) ...and now supports unicode. (Thanks to Cavit). Regards, Martín Conte. On 11/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: same here Kannel bearerbox version `cvs-20060723'. Build `Aug 29 2006 00:38:52', compiler `4.0.1 20050727 (Red Hat 4.0.1-5)'. System Linux, release 2.6.14-1.1637_FC4smp, version #1 SMP Wed Nov 9 18:34:11 EST 2005, machine i686. working with postgresql 8.1.5 on 10 permanent connectons tested with reallife hight load MT traffic stable so far, but there is a need to set watchdog process in a view of restart or no responding SQL server i use postgresql for ldr storage as well :) seik -Original Message- From: users@kannel.org [EMAIL PROTECTED] Sent: 07 Íîåìâðè 2006 ã. To: Ivan Stoykov Subject:Sqlbox: my experience Julien Buratto Really great! Julien Buratto Downloaded from the http://www.kannel.org/~mconte/sqlbox/ Julien Buratto Unpacked, launched bootstrap program, installed a few required Julien Buratto components with yum (automake and libtool) and the compiled successfully. Julien Buratto Made some edits on the provided conf file under example and launched Julien Buratto sqlbox with the just edited conf file. Julien Buratto An INSERT in the db caused the sms to leave and get delivered to the phone. Julien Buratto My server is: Julien Buratto Fedora Core release 4 (Stentz) Julien Buratto Kannel bearerbox version `1.4.1' Julien Buratto MySQL 4.1.20 Julien Buratto The only things missing in the INSTALL file is the fact that sqlbox will Julien Buratto automagically create the two send_sms and sent_sms tables in the db Julien Buratto accordingly, however, really entusiast on it. Julien Buratto Will try to deploy on production use asap and let you know. Julien Buratto Cheers Julien Buratto Julien
Re: sqlbox issue
Cavit is absolutely right. Just two things: 1) Take a look to the example file configuration located in example directory. 2) To compile sqlbox in another directory: ./configure --prefix=/DIRECTORY M On 10/30/06, Cavit Dolgun [EMAIL PROTECTED] wrote: As far as I know the patch will not work with kannel 1.4.1, it doesn't even work with the latest cvs version of kannel since there have been some changes in the source code of kannel. The sqlbox standalone is a separate application so you can not define directives for it in the kannel configuration. It is normal for kannel to give error messages since it is not expecting that directive in the kannel configuration file. If you use the patch (which will not work and I don't know which version of kannel it works with to be exact) then since kannel will be modified to read that directive from the config file, it will work fine. You can install bearerbox and sqlbox in different or the same locations. It should not make any difference. If you dig the archives you can see a recent post about sqlbox standalone and some information about it. Regards, Cavit Dolgun From: Eyram Schwinger [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 14:46 To: kannel Subject: sqlbox issue I read an faq for sqlbox patch with the cvs version of kannel. I am using kannel 1.4.1 and I want to know if the standalone version of sqlbox also works with this faq. I realizedc that when I build sqlbox it is installed into /usr/local/bin while the bearerbox is installed into /usr/local/bin. So my first question is should that be the case? Also after building both when I insert the configuration bearerbox-is-sqlbox in the smsbox group and run kannel with that configuration file it gives me an error that bearerbox-is-sqlbox is not supposed to be there so then I wonder if that only works for the patch and if so whether the patch works for 1.4.1 as well. That is the patch here http://www.chimit.nl/kannel/sqlbox_patch-20041012.tar hope to get a reply soon Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: SQLBOX and Kannel 1.4.1
try sqlbox standalone module and share your experience! M On 10/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, Is SQLBOX is still compatible with the new version of Kannel ? Is it any new patch to run it ? Does someone has a procedure to install it ? I would like to still have the table sent_sms when I send/receive SMS through kannel. Thanks for answer
Re: Kannel cannot access to SMSC SMPP
Actually i'm pretty sure that your problem is the system-type parameter. Ask for it to the carrier/SMSC owner. M. On 10/21/06, Sergey Dudnakov [EMAIL PROTECTED] wrote: Hi My Kannel cannot access to the SMSC using SMPP 3.4. i have this error: SMSC rejected login to transmit 2006-10-20 18:24:40 [12704] [7] ERROR: SMPP[XXX]: SMSC rejected login to receive, code 0x000e (Invalid Password). 2006-10-20 18:24:40 [12704] [7] ERROR: SMPP[XXX]: I/O error or other error. Re-connecting. 2006-10-20 18:24:46 [12704] [6] ERROR: SMPP[XXX]: SMSC rejected login to transmit, code 0x000e (Invalid Password). 2006-10-20 The username and password are valid. We can access to SMSC using another soft. Try (for test) start Kannel without this group: group = sendsms-user username = tester password = foobar
Re: Kannel cannot access to SMSC SMPP
If you are not sure what is going wrong, take a look to the bind PDU (log-level=0) in your logs. Check what are you sending as user/pass/systemtype if those parameters are ok so you need to speak to your carrier. M On 10/21/06, Mirza Aamir Raza Khan [EMAIL PROTECTED] wrote: I am facing same problem and I am using System-type VMA which is given by my carrier, any body please help us? - Original Message - From: Mi Reflejo [EMAIL PROTECTED] To: Sergey Dudnakov [EMAIL PROTECTED] Cc: users@kannel.org Sent: Saturday, October 21, 2006 11:25 AM Subject: Re: Kannel cannot access to SMSC SMPP Actually i'm pretty sure that your problem is the system-type parameter. Ask for it to the carrier/SMSC owner. M. On 10/21/06, Sergey Dudnakov [EMAIL PROTECTED] wrote: Hi My Kannel cannot access to the SMSC using SMPP 3.4. i have this error: SMSC rejected login to transmit 2006-10-20 18:24:40 [12704] [7] ERROR: SMPP[XXX]: SMSC rejected login to receive, code 0x000e (Invalid Password). 2006-10-20 18:24:40 [12704] [7] ERROR: SMPP[XXX]: I/O error or other error. Re-connecting. 2006-10-20 18:24:46 [12704] [6] ERROR: SMPP[XXX]: SMSC rejected login to transmit, code 0x000e (Invalid Password). 2006-10-20 The username and password are valid. We can access to SMSC using another soft. Try (for test) start Kannel without this group: group = sendsms-user username = tester password = foobar
Re: ERROR: gethostbyname failed (load problem)
BTW why we are not using getipnodebyname() ? M On 9/27/06, Stuart Beck [EMAIL PROTECTED] wrote: Hi, Giulio and I found that the default throughput setting in the patch (1024) was still too high for our systems it was suggested that the default be put down to 512 but I'm not sure if that made it into CVS Stuart. [EMAIL PROTECTED] wrote: I have done more tests, and apparently the gethostbyname() error was produced only when using a hostname on the url (of the send-url setting) instead of an IP address. But also, the rest of the errors I was getting still appeared, until I started using the throughput setting for the SMSC from which I was getting errors, after that everything's been working fine. I was wondering, what's the default value for the throughput setting? And what's a common value used? Answers from everybody would be much appreciated and very informative to me as well. Thanks. Nicolas Brenner Quoting Stipe Tolj [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Thanks Stipe, I'm using Centos 4.2 with a 2.6.9-42.0.2.ELsmp kernel (yup, it's smp), which derives from Redhat sources, so I guess the glibc-2.3.4 on the system might be the same from Fedora 4, and upgrading should do the trick, although the server is borrowed and I'm not sure if I'll be allowed to do so. Anyway, thank you very much for pointing out the source of the problem. the funny thing about the thing was... the gethostbyname() error occured only for Kannel daemons, apache did not have any problems. Which remains strange :/ Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org --- This message was sent using IMP, the Internet Messaging Program. -- Stuart Beck Systems Administrator m.Net Corporation Level 13, 99 Gawler Place Adelaide SA 5000, Australia Tel: +61 8 8210 2029 Fax: +61 8 8211 9620 Mobile: 0433 422 400
Re: How to get CLI as sms parameter
You are trying to get the msisdn from a MO?. If that is what you want, yes, you can do it. Please take a look to: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN3207 %pthe phone number of the sender of the SMS message %P the phone number of the receiver of the SMS message Regards, Martin Conte. On 8/23/06, Alvaro Cornejo [EMAIL PROTECTED] wrote: Hi Is there a way to have kannel get the cli / called ID as a parameter for an sms-service? I´ll like to get that info for making a lookup into a DB and get that user information Regards Alvaro
Re: SQLBOX Standalone Mysql Problem
I'v tried sqlbox with your config file and it is working. Check if you'v compiled kannel and sqlbox with mysql support. Regards, M On 8/5/06, Cavit Dolgun [EMAIL PROTECTED] wrote: Hi all, Since the patch for sqlbox was not working for me I downloaded and installed sqlbox-standalone. After installation when I try to run sqlbox conffile I get the following error message: 2006-08-05 16:25:56 [29668] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2006-08-05 16:25:56 [29668] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2006-08-05 16:25:56 [29668] [0] PANIC: No proper SQL server defined. 2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox(gw_panic+0xd1) [0x8066b89] 2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox(main+0x4f9) [0x805066d] 2006-08-05 16:25:56 [29668] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xc6) [0xb81de6] 2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox [0x804f39d] This is my config file: group = sqlbox id = sqlbox-db smsbox-id = smsbox #global-sender = bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 #white-list = #black-list = #white-list-regex = #ssl-client-certkey-file = #ssl-server-cert-file = #ssl-server-key-file = #ssl-trusted-ca-file = group = mysql-connection id = sqlbox-db host = localhost username = myuser password = mypass database = delivery max-connections = 10 The username and the password for the db are ok I can login using mysql to the database delivery using that username and password. Any ideas what I am doing wrong? Thanks
Re: sqlbox.patch not working
There is no big change, so yes it's safe. Please give me feedback about your experience with that module. Martin. On 7/17/06, Willy [EMAIL PROTECTED] wrote: Hi Mi, Thanks for the reply, I want to use sqlbox on production env. Is it safe? Thanks. Regards Willy - Original Message - From: Mi Reflejo [EMAIL PROTECTED] To: Willy [EMAIL PROTECTED] Cc: users@kannel.org Sent: Monday, July 17, 2006 11:41 AM Subject: Re: sqlbox.patch not working Patch is not working because cfg.def has been changed. If you are in a test env. Please try standalone-module. http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz # ./bootstrap # ./configure # make you must to set bearerbox-port in kannel.conf and run sqlbox with another config file (Take a look into example directory) M On 7/17/06, Willy [EMAIL PROTECTED] wrote: Hi, I just download latest kannel snapshot and sqlbox using cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs co sqlbox. Command make patch return this: [EMAIL PROTECTED] ~/sqlbox$ make patch patch -p0 -d ../kannel-snapshot sqlbox.patch patching file Makefile.in patching file configure patching file configure.in patching file gw/smsbox.c Hunk #2 succeeded at 3364 with fuzz 2 (offset -1 lines). patching file gwlib/cfg.def Hunk #1 FAILED at 243. Hunk #2 succeeded at 601 with fuzz 1 (offset 44 lines). 1 out of 2 hunks FAILED -- saving rejects to file gwlib/cfg.def.rej make: *** [patch] Error 1 I also have tried Mi Reflejo sqlbox.patch and it returns the same error. Thanks again. Regards Willy
Re: sqlbox.patch not working
Patch is not working because cfg.def has been changed. If you are in a test env. Please try standalone-module. http://www.kannel.org/~mconte/sqlbox/sqlbox-standalone.tar.gz # ./bootstrap # ./configure # make you must to set bearerbox-port in kannel.conf and run sqlbox with another config file (Take a look into example directory) M On 7/17/06, Willy [EMAIL PROTECTED] wrote: Hi, I just download latest kannel snapshot and sqlbox using cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs co sqlbox. Command make patch return this: [EMAIL PROTECTED] ~/sqlbox$ make patch patch -p0 -d ../kannel-snapshot sqlbox.patch patching file Makefile.in patching file configure patching file configure.in patching file gw/smsbox.c Hunk #2 succeeded at 3364 with fuzz 2 (offset -1 lines). patching file gwlib/cfg.def Hunk #1 FAILED at 243. Hunk #2 succeeded at 601 with fuzz 1 (offset 44 lines). 1 out of 2 hunks FAILED -- saving rejects to file gwlib/cfg.def.rej make: *** [patch] Error 1 I also have tried Mi Reflejo sqlbox.patch and it returns the same error. Thanks again. Regards Willy
Re: trouble with platform
Hi sarwat, It seems like you need to read more into the manual :). I suggest you take a good, long hard look at INSTALL file. Basic steps are: # ./configure (Maybe you should look ./configure --help for your needs.) # make # make install (Without # of course) M. On 6/13/06, sarwat jabeen [EMAIL PROTECTED] wrote: hello everyone I ve been tryin 2 compile kannel. ./compile command runs fine bt the ./make command gives n error. cd there b a prob with the platform?im using redhat 9.if im switching 2 some other distribution wht is the best option? The error is : [EMAIL PROTECTED] gateway-1.4.0]# ./make bash: ./make: No such file or directory [EMAIL PROTECTED] gateway-1.4.0]# ./makefile ./makefile: line 10: SHELL: command not found ./makefile: line 12: srcdir: command not found ./makefile: line 13: top_srcdir: command not found ./makefile: line 14: prefix: command not found ./makefile: line 15: exec_prefix: command not found ./makefile: line 17: bindir: command not found ./makefile: line 18: sbindir: command not found ./makefile: line 19: libexecdir: command not found ./makefile: line 20: datadir: command not found ./makefile: line 21: sysconfdir: command not found ./makefile: line 22: sharedstatedir: command not found ./makefile: line 23: localstatedir: command not found ./makefile: line 24: libdir: command not found ./makefile: line 25: infodir: command not found ./makefile: line 26: mandir: command not found ./makefile: line 27: includedir: command not found ./makefile: line 28: oldincludedir: command not found ./makefile: line 30: docdir: command not found ./makefile: line 32: DESTDIR: command not found ./makefile: line 1: datadir: command not found ./makefile: line 34: pkgdatadir: command not found ./makefile: line 1: libdir: command not found ./makefile: line 35: pkglibdir: command not found ./makefile: line 1: includedir: command not found ./makefile: line 36: pkgincludedir: command not found ./makefile: line 38: top_builddir: command not found ./makefile: line 40: ACLOCAL: command not found ./makefile: line 41: AUTOCONF: command not found ./makefile: line 42: AUTOHEADER: command not found ./makefile: line 44: INSTALL: command not found ./makefile: line 1: AM_INSTALL_PROGRAM_FLAGS: command not found ./makefile: line 45: INSTALL_PROGRAM: command not found ./makefile: line 46: INSTALL_DATA: command not found ./makefile: line 47: INSTALL_SCRIPT: command not found ./makefile: line 48: transform: command not found ./makefile: line 50: NORMAL_INSTALL: command not found ./makefile: line 51: PRE_INSTALL: command not found ./makefile: line 52: POST_INSTALL: command not found ./makefile: line 53: NORMAL_UNINSTALL: command not found ./makefile: line 54: PRE_UNINSTALL: command not found ./makefile: line 55: POST_UNINSTALL: command not found ./makefile: line 56: CC: command not found ./makefile: line 57: MAKEINFO: command not found ./makefile: line 58: PACKAGE: command not found ./makefile: line 59: RANLIB: command not found ./makefile: line 60: SHELL: command not found ./makefile: line 61: VERSION: command not found ./makefile: line 62: SUFFIX: command not found ./makefile: line 63: LEX: command not found ./makefile: line 64: PERL: command not found ./makefile: line 65: YACC: command not found ./makefile: line 68: YFLAGS: command not found ./makefile: line 1: SHELL: command not found ./makefile: line 1: top_srcdir: command not found ./makefile: line 71: mkinstalldirs: command not found ./makefile: line 72: CONFIG_HEADER: command not found ./makefile: line 73: CONFIG_CLEAN_FILES: command not found ./makefile: line 1: LIBOBJS:.o=.c: command not found ./makefile: line 79: -lrt: command not found ./makefile: line 80: -I.: command not found ./makefile: line 81: -rdynamic: command not found ./makefile: line 1: CFLAGS: command not found ./makefile: line 1: CC: command not found ./makefile: line 83: -MM: command not found ./makefile: line 1: SUFFIX: command not found ./makefile: line 97: suffix: command not found ./makefile: line 106: binsrcs: command not found ./makefile: line 1: STARTSTOPDAEMONSRC: command not found ./makefile: line 111: sbinsrcs: command not found ./makefile: line 1: binsrcs: command not found ./makefile: line 1: sbinsrcs: command not found ./makefile: line 117: progsrcs: command not found ./makefile: line 1: progsrcs:.c=.o: command not found ./makefile: line 118: progobjs: command not found ./makefile: line 1: progsrcs:.c=: command not found ./makefile: line 119: progs: command not found ./makefile: line 1: binsrcs:.c=: command not found ./makefile: line 120: binprogs: command not found ./makefile: line 1: sbinsrcs:.c=: command not found ./makefile: line 121: sbinprogs: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 123: gwsrcs: command not found ./makefile: line 1: gwsrcs:.c=.o: command not found ./makefile: line 124: gwobjs: command not found ./makefile: line 1: wildcard: command not found ./makefile: line 1:
Re: sqlbox make patch
There is a new configure file on gateway module. We need to do a new sqlbox.patch for it. Hold on. I'll do it. Martin. On 6/13/06, Hofferek Attila [EMAIL PROTECTED] wrote: Hi all! I've got newly checkouted gateway and sqlbox source trees, and I get these errors when I try to patch the gateway source with the sqlbox patch (make patch) machine:~/kannel/sqlbox# make patch patch -p0 -d ../gateway sqlbox.patch patching file Makefile.in patching file configure Hunk #1 FAILED at 85. Hunk #2 FAILED at 4619. Hunk #3 FAILED at 4666. Hunk #4 succeeded at 12888 (offset 7154 lines). 3 out of 4 hunks FAILED -- saving rejects to file configure.rej patching file configure.in Hunk #1 succeeded at 936 (offset 23 lines). Hunk #2 succeeded at 1193 (offset 23 lines). patching file gw/smsbox.c patching file gwlib/cfg.def make: *** [patch] Error 1 Could you help me, where is the problem? Thanks in advance -- Hofferek Attila
Re: sqlbox make patch
put this file into sqlbox/ directory and try make patch again. Please tell me if it's working for you. M. On 6/13/06, Hofferek Attila [EMAIL PROTECTED] wrote: Hi all! I've got newly checkouted gateway and sqlbox source trees, and I get these errors when I try to patch the gateway source with the sqlbox patch (make patch) machine:~/kannel/sqlbox# make patch patch -p0 -d ../gateway sqlbox.patch patching file Makefile.in patching file configure Hunk #1 FAILED at 85. Hunk #2 FAILED at 4619. Hunk #3 FAILED at 4666. Hunk #4 succeeded at 12888 (offset 7154 lines). 3 out of 4 hunks FAILED -- saving rejects to file configure.rej patching file configure.in Hunk #1 succeeded at 936 (offset 23 lines). Hunk #2 succeeded at 1193 (offset 23 lines). patching file gw/smsbox.c patching file gwlib/cfg.def make: *** [patch] Error 1 Could you help me, where is the problem? Thanks in advance -- Hofferek Attila sqlbox.patch Description: Binary data
Re: make error
I don't know if this is your case, but i have been seen in some redhat machines that kerberos include file is in /usr/kerberos/include. so. 1. Make sure you have the krb5-devel and krb5-libs rpms installed. and do: # ln -s /usr/kerberos/include/com_err.h /usr/include/ # ln -s /usr/kerberos/include/profile.h /usr/include/ # ln -s /usr/kerberos/include/krb5.h /usr/include/ Regards, Martin On 6/13/06, Stipe Tolj [EMAIL PROTECTED] wrote: sarwat jabeen wrote: the following error occurs with the make command : [EMAIL PROTECTED] gateway-1.4.0]# make gcc -D_REENTRANT=1 -I. -Igw -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c gw/bb_alog.c In file included from /usr/include/openssl/ssl.h:179, from gwlib/conn.h:274, from gwlib/gwlib.h:94, from gw/bb_alog.c:64: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory In file included from /usr/include/openssl/ssl.h:179, from gwlib/conn.h:274, from gwlib/gwlib.h:94, from gw/bb_alog.c:64: /usr/include/openssl/kssl.h:132: parse error before krb5_enctype if fact this is a broken openssl installation. The openssl package includes the kssl.h file (a header for kerberos 5 et al) and that one tries to include the core krb5.h header, which doesn't exist on your system. Which distro are you using? Try to upgrade openssl and/or install/re-install the kerberos package. It's not a Kannel issue... it's an issue with a messed up openssl (with kerberos support) thing. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Async parameter?
To get delivery reports you need to set the smpp field registered_delivery to 1. kannel will do it for you if you put dlr-mask parameter in sendsms interface. dlr-masknumber (bit mask)Optional. Request for delivery reports with the state of the sent message. The value is a bit mask composed of: 1: Delivered to phone, 2: Non-Delivered to Phone, 4: Queued on SMSC, 8: Delivered to SMSC, 16: Non-Delivered to SMSC. Must set dlr-url on sendsms-user group or use the dlr-url CGI variable. Hope it helps, M On 6/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have the problem that I don't receive always the delivery for the messages I sent. I use smpp 3.4. The company that sells me sms told me that I have to set the async parameter but I don't know if it exists on kannel. My question is, is it possible to sei it? Thank You! This message was sent using IMP, the Internet Messaging Program.
Re: SMPP 3.4 Optional params
There are no optional parameters in bind operations. (Maybe you are talking about system_type?) Kannel follows strictly SMPP specs. If you need to add any parameter which isn't in specs you should look to other way or take a look into sources by yourself :). Otherwise, if SimpleWire follows SMPP specs, kannel will help you. Regards, Martín Conte. On 6/5/06, Leonard [EMAIL PROTECTED] wrote: Hi All, I need to set optional params on a SMPP 3.4 Bind, specifically for a bind to SimpleWire. These optional params set carrier, billing and other requirements. Is there anyway to do this with Kannel, or will I have to use their XML interface? Regards Leonard
Re: SMPP 3.4 Optional params
If you look closer into Simplewire_SMPP_ShortCodes.pdf, optional parameters are included only in MT or MO messages (submit_sm and deliver_sm). You just need to take care sending interface_version v3.4 in bind operation. Nonetheless, kannel (as much as i know) doesn't handle optional parameters in deliver_sm/submit_sm. So, maybe you want to take a look into the sources and make some modifications for your needs. If you need some help with that, just tell me. Regards, Martín Conte. On 6/5/06, Leonard [EMAIL PROTECTED] wrote: Firstly, There are optional paramters to SMPP 3.4. - Please review the specification, or look here: http://www.alvento.com/productos/sms/smpp/smpp34.pdf section 5.3 Optional parameter are required to set carrier and billing info mation for messagin into the USA where the aggregator does not supply NP lookups. (or they cost extra). What needs to be achieved can be found here: http://www.simplewire.com/downloads/files/Simplewire_SMPP_ShortCodes.pdf - Original Message - From: Mi Reflejo [EMAIL PROTECTED] To: Leonard [EMAIL PROTECTED] Cc: users@kannel.org Sent: Monday, June 05, 2006 5:59 PM Subject: Re: SMPP 3.4 Optional params There are no optional parameters in bind operations. (Maybe you are talking about system_type?) Kannel follows strictly SMPP specs. If you need to add any parameter which isn't in specs you should look to other way or take a look into sources by yourself :). Otherwise, if SimpleWire follows SMPP specs, kannel will help you. Regards, Martín Conte. On 6/5/06, Leonard [EMAIL PROTECTED] wrote: Hi All, I need to set optional params on a SMPP 3.4 Bind, specifically for a bind to SimpleWire. These optional params set carrier, billing and other requirements. Is there anyway to do this with Kannel, or will I have to use their XML interface? Regards Leonard
Re: Message ID higher than 2147483647
Heh, resentful attitude. ;) M On 6/1/06, Rene Kluwen [EMAIL PROTECTED] wrote: Stipe, Are you maintaining a ChangeLog of the ChangeLog? ;) -- ME -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stipe Tolj Sent: vrijdag 2 juni 2006 1:15 To: Mi Reflejo Cc: users@kannel.org Subject: Re: Message ID higher than 2147483647 Mi Reflejo wrote: Well. Actually the patch was mine ;) wups... need to correct the credits in ChangeLog then.. :) Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Message ID higher than 2147483647
There is a patch :) http://bugs.kannel.org/view_bug_advanced_page.php?f_id=345 Regards, M On 6/1/06, Stipe Tolj [EMAIL PROTECTED] wrote: Vincent CHAVANIS wrote: joke buy a 64bit server :-) /joke now, joking is only allowed if afterwards code analysis follows! :p Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Message ID higher than 2147483647
Well. Actually the patch was mine ;) M. On 6/1/06, Stipe Tolj [EMAIL PROTECTED] wrote: Ady Wicaksono wrote: Dear all on 32 bit system, we have max int 2^31 - 1 = 2147483647 (look at /usr/include/stdint.h) :# define INT32_MAX(2147483647) I have the problem with this, some of SMSC use hex/decimal pair. submit_sm_resp is using hexadecimal 2006-05-18 15:30:18 [16274] [6] DEBUG: type_name: submit_sm_resp 2006-05-18 15:30:18 [16274] [6] DEBUG: command_id: 2147483652 = 0x8004 2006-05-18 15:30:18 [16274] [6] DEBUG: command_status: 0 = 0x 2006-05-18 15:30:18 [16274] [6] DEBUG: sequence_number: 13 = 0x000d 2006-05-18 15:30:18 [16274] [6] DEBUG: message_id: B88B2856 Message ID is 3096127574 in decimal which is bigger than max-int so 2006-05-18 15:30:18 [16274] [6] DEBUG: SMPP PDU dump ends. 2006-05-18 15:30:18 [16274] [6] DEBUG: DLR[mysql]: Adding DLR smsc=smpp, ts=2147483647, src=xxx, dst=x, mask=31, boxc= Kannel set ts to 2147483647 :(. It's bad since when i have deliver_sm as delivery report like this, they inform id 3096127574 state but our kannel can't find DLR entries 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 69 64 3a 33 30 39 36 31 32 37 35 37 34 20 73 75 id:3096127574 su 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 62 3a 30 30 30 20 64 6c 76 72 64 3a 30 30 30 20 b:000 dlvrd:000 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 73 75 62 6d 69 74 20 64 61 74 65 3a 30 36 30 35 submit date:0605 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 31 38 31 35 33 32 20 64 6f 6e 65 20 64 61 74 65 181532 done date 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 3a 30 36 30 35 31 38 31 35 33 32 20 73 74 61 74 :0605181532 stat 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 3a 44 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 20 74 65 78 74 3a 54 65 72 69 6d 61 20 4b 61 73text: 2006-05-18 15:30:36 [16274] [9] DEBUG:Octet string dump ends. 2006-05-18 15:30:36 [16274] [9] DEBUG: SMPP PDU dump ends. 2006-05-18 15:30:36 [16274] [9] DEBUG: SMPP[smpp] handle_pdu, got DLR 2006-05-18 15:30:36 [16274] [9] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp, ts=2147483647, dst=, type=1 2006-05-18 15:30:36 [16274] [9] DEBUG: no rows found 2006-05-18 15:30:36 [16274] [9] WARNING: DLR[mysql]: DLR for DSTxxx not found. 2006-05-18 15:30:36 [16274] [9] ERROR: SMPP[smpp]: got DLR but could not find message or was not interested in it id 2147483647 dstx, type1 Any issue on this limit? provided patch from Ady has been commited to cvs. Resolving bug #345. Please confirm. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Message ID higher than 2147483647
But all merits to Ady for show us the light ;) On 6/1/06, Mi Reflejo [EMAIL PROTECTED] wrote: Well. Actually the patch was mine ;) M. On 6/1/06, Stipe Tolj [EMAIL PROTECTED] wrote: Ady Wicaksono wrote: Dear all on 32 bit system, we have max int 2^31 - 1 = 2147483647 (look at /usr/include/stdint.h) :# define INT32_MAX(2147483647) I have the problem with this, some of SMSC use hex/decimal pair. submit_sm_resp is using hexadecimal 2006-05-18 15:30:18 [16274] [6] DEBUG: type_name: submit_sm_resp 2006-05-18 15:30:18 [16274] [6] DEBUG: command_id: 2147483652 = 0x8004 2006-05-18 15:30:18 [16274] [6] DEBUG: command_status: 0 = 0x 2006-05-18 15:30:18 [16274] [6] DEBUG: sequence_number: 13 = 0x000d 2006-05-18 15:30:18 [16274] [6] DEBUG: message_id: B88B2856 Message ID is 3096127574 in decimal which is bigger than max-int so 2006-05-18 15:30:18 [16274] [6] DEBUG: SMPP PDU dump ends. 2006-05-18 15:30:18 [16274] [6] DEBUG: DLR[mysql]: Adding DLR smsc=smpp, ts=2147483647, src=xxx, dst=x, mask=31, boxc= Kannel set ts to 2147483647 :(. It's bad since when i have deliver_sm as delivery report like this, they inform id 3096127574 state but our kannel can't find DLR entries 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 69 64 3a 33 30 39 36 31 32 37 35 37 34 20 73 75 id:3096127574 su 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 62 3a 30 30 30 20 64 6c 76 72 64 3a 30 30 30 20 b:000 dlvrd:000 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 73 75 62 6d 69 74 20 64 61 74 65 3a 30 36 30 35 submit date:0605 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 31 38 31 35 33 32 20 64 6f 6e 65 20 64 61 74 65 181532 done date 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 3a 30 36 30 35 31 38 31 35 33 32 20 73 74 61 74 :0605181532 stat 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 3a 44 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000 2006-05-18 15:30:36 [16274] [9] DEBUG: data: 20 74 65 78 74 3a 54 65 72 69 6d 61 20 4b 61 73text: 2006-05-18 15:30:36 [16274] [9] DEBUG:Octet string dump ends. 2006-05-18 15:30:36 [16274] [9] DEBUG: SMPP PDU dump ends. 2006-05-18 15:30:36 [16274] [9] DEBUG: SMPP[smpp] handle_pdu, got DLR 2006-05-18 15:30:36 [16274] [9] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp, ts=2147483647, dst=, type=1 2006-05-18 15:30:36 [16274] [9] DEBUG: no rows found 2006-05-18 15:30:36 [16274] [9] WARNING: DLR[mysql]: DLR for DSTxxx not found. 2006-05-18 15:30:36 [16274] [9] ERROR: SMPP[smpp]: got DLR but could not find message or was not interested in it id 2147483647 dstx, type1 Any issue on this limit? provided patch from Ady has been commited to cvs. Resolving bug #345. Please confirm. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: I don't receive all the DLR...
Delivery Reports comes with a status from the SMSC. For example, if the terminal is shutted down you couldn't receive any report until the timeout expires. You can look at core.log if dlr is received or not, there is not a limit in kannel. Martin Conte. On 5/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I receive dlr when using kannel, but not for all sent the sms. Is there a limit when receiving dlr to specify on the kannel.conf? Thank You! This message was sent using IMP, the Internet Messaging Program.
Re: ANALYSE access.log
In your CVS tree go to utils There is a script called: accesslog_parser.pl Regards, M On 5/31/06, Huber, Gottfried [EMAIL PROTECTED] wrote: Hello Is ist possible to analye kannel's access.log with any logfile-analyzer for statistics ? Does somebody know something or use a util for doing this ? THX Gottfried
Re: get kannel's aswers
What is the meaning of doesn't work? what are you getting?. Regards! M On 5/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everybody, I want to get kannel's answers when sending sms and save them on a database. But if I use file() function on the request url it doesn't work. Could anybody explain why? How you get those ansvers? Thank You! This message was sent using IMP, the Internet Messaging Program.
Re: KAnnel store sms
You should have an sms-service group in your kannel.conf like: group = sms-service keyword = default get-url = http://your-page/script.php?keyword=%ktext=%amsisdn=%p; Read about SMS-service configurations on the user guide (http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html). Hope it helps Martin On 5/24/06, Boardmain [EMAIL PROTECTED] wrote: What i want is easy send to a page.php te content of the sms (number,data, txt) but i don't know what i have to do
Re: dlr
I test your configuration file and you are right there is a problem with smsbox-port. Sqlbox is not reading smsbox-port. And smsbox-port is hardcoded to 13005. I was putting 13005 in my config file so i didn't realize that there was an error. I'm attaching the patch file. M. On 5/19/06, Roman Yeryomin [EMAIL PROTECTED] wrote: Yes, I know... Can you show your working config? On Thursday 18 May 2006 19:02, Mi Reflejo wrote:: You must to start the boxes in order. 1) bearerbox 2) sqlbox 3) smsbox smsbox makes the connection to sqlbox so sqlbox must be up before smsbox. M On 5/18/06, Roman Yeryomin [EMAIL PROTECTED] wrote: But then I see this error (if I change smsbox-port=13014): 2006-05-18 15:16:00 [9612] [0] ERROR: connect failed 2006-05-18 15:16:00 [9612] [0] ERROR: System error 111: Connection refused 2006-05-18 15:16:00 [9612] [0] ERROR: error connecting to server `localhost' at port `13014' 2006-05-18 15:16:00 [9612] [0] PANIC: Couldn't connect to the bearerbox. 2006-05-18 15:16:00 [9612] [0] PANIC: smsbox(gw_panic+0x175) [0x8087e0e] 2006-05-18 15:16:00 [9612] [0] PANIC: smsbox(connect_to_bearerbox+0x37) [0x8061e1d] 2006-05-18 15:16:00 [9612] [0] PANIC: smsbox(main+0x331) [0x805ce06] 2006-05-18 15:16:00 [9612] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xc6) [0xa02de6] 2006-05-18 15:16:00 [9612] [0] PANIC: smsbox [0x80521ed] On Wednesday 17 May 2006 19:21, Mi Reflejo wrote:: Your smsbox-port and sendsms-port don't should be the same number. On 5/17/06, Roman Yeryomin [EMAIL PROTECTED] wrote: Yes I get dlr -- I see it in sent_sms table what log do you mean? bearerbox? i don't see nothing special, no errors my conf in attachment On Wednesday 17 May 2006 18:50, Mi Reflejo wrote:: Attach your kannel.conf please. Did you got the delivery report from your SMSC?. what are the logs saying? M On 5/17/06, Roman Yeryomin [EMAIL PROTECTED] wrote: I'm using cvs head now, sqlbox works ok... I set up sms-service like you say... but dlr-url is not fetched anyway... could it be smpp problems? On Friday 12 May 2006 22:47, Mi Reflejo wrote:: If you'r using CVS HEAD and last sqlbox, dlr-url is used well. Even if the MT was sent by mysql insert. insert into send_sms (service,momt,sender,receiver,msgdata,smsc_id, dlr_mask,dlr_url) VALUES('kannel', 'MT','1234','1234','Delivery test','FakeSMSC',31,' http://localhost/mev/a.php?type=%d' http://localhost/mev/a.php?type=%25 d%27 ); and kannel-smsbox.log: 2006-05-06 22:42:51 [1030] [4] INFO: Starting delivery report kannel from 1234 () But take care of service column. If it's not, service is set to NULL, and delivery is not routed. Regards, Anselmo On 5/12/06, Roman Yeryomin [EMAIL PROTECTED] wrote: Hi all, but what about when sending from database with sqlbox (simply inserting in database)? dlr_url should also work, right? but it seems that kannel doesn't fetch my ulencoded dlr_url defined in database (mysql) i'm stuck... does anyone know where could be the problem? i'm using kannel 1.4 with mysql 4.1 Roman On Friday 12 May 2006 17:31, Heru Tjatur wrote:: Hi Wayne, I set it in dlr-url when sending messages vi cgi-bin/sendsms. So, each time I send message, I put dlr-url containing my custom ID. Something like this: dlr-url= http://127.0.0.1/smspapp/dlr.php?msgID=[mycustomID]dlrsta tus= http://127.0.0.1/smspapp/dlr.php?msgID=%5BmycustomID%5Ddlrstat us= % d[other parameter] Don't forget to url-encode your dlr-url when sending the mesaage via cgi-bin/sendsms? Hope it give you a hint ... --tjatur On Fri, 2006-05-12 at 13:40 +0800, Wayne Khan wrote: Hi Heru, How do you send the custom id to the smsc and get it back? I've tried the various kannel escape codes (%a, %b) but they don't seem to work. I'm doing some auditing function so there's a need to tie in the report with the sms... please help! Thanks! Heru Tjatur wrote: dear Issam, Here what I do to get the dlr in Kannel. Hope it could give you a light how to implement it for your needs. (1) I set up a url that will capture delivery status of the messages sent
Re: dlr
Your smsbox-port and sendsms-port don't should be the same number.On 5/17/06, Roman Yeryomin [EMAIL PROTECTED] wrote:Yes I get dlr -- I see it in sent_sms tablewhat log do you mean? bearerbox? i don't see nothing special, no errors my conf in attachmentOn Wednesday 17 May 2006 18:50, Mi Reflejo wrote:: Attach your kannel.conf please. Did you got the delivery report from your SMSC?.what are the logs saying? M On 5/17/06, Roman Yeryomin [EMAIL PROTECTED] wrote: I'm using cvs head now, sqlbox works ok... I set up sms-service like you say... but dlr-url is not fetched anyway... could it be smpp problems? On Friday 12 May 2006 22:47, Mi Reflejo wrote:: If you'r using CVS HEAD and last sqlbox, dlr-url is used well. Even if the MT was sent by mysql insert. insert into send_sms (service,momt,sender,receiver,msgdata,smsc_id, dlr_mask,dlr_url) VALUES('kannel', 'MT','1234','1234','Delivery test','FakeSMSC',31,' http://localhost/mev/a.php?type=%d'http://localhost/mev/a.php?type=%25 d%27 );and kannel-smsbox.log: 2006-05-06 22:42:51 [1030] [4] INFO: Starting delivery report kannel from 1234 () But take care of service column. If it's not, service is set to NULL, and delivery is not routed. Regards, Anselmo On 5/12/06, Roman Yeryomin [EMAIL PROTECTED] wrote:Hi all, but what about when sending from database with sqlbox (simply inserting in database)?dlr_url should also work, right? but it seems that kannel doesn't fetch my ulencoded dlr_url definedin database (mysql)i'm stuck...does anyone know where could be the problem? i'm using kannel 1.4 with mysql 4.1 Roman On Friday 12 May 2006 17:31, Heru Tjatur wrote:: Hi Wayne, I set it in dlr-url when sending messages vi cgi-bin/sendsms. So, each time I send message, I put dlr-url containing my custom ID. Something like this: dlr-url="" href="http://127.0.0.1/smspapp/dlr.php?msgID=[mycustomID]dlrsta">http://127.0.0.1/smspapp/dlr.php?msgID=[mycustomID]dlrsta tus=http://127.0.0.1/smspapp/dlr.php?msgID=%5BmycustomID%5Ddlrstatus= % d[other parameter] Don't forget to url-encode your dlr-url when sending the mesaage via cgi-bin/sendsms? Hope it give you a hint ... --tjatur On Fri, 2006-05-12 at 13:40 +0800, Wayne Khan wrote: Hi Heru, How do you send the custom id to the smsc and get it back? I've tried the various kannel escape codes (%a, %b) but they don't seem to work. I'm doing some auditing function so there's a need to tie in the report with the sms... please help! Thanks! Heru Tjatur wrote: dear Issam, Here what I do to get the dlr in Kannel. Hope it could give you alight how to implement it for your needs. (1) I set up a url that will capture delivery status of the messages sent by kannel, base on a custom ID for the message (I defined that ID for each message sent). (2) When sending the message to the user, through cgi-bin/sendsms?,a drl-url containing custom ID is added with proper dlr-mask value.(3) That way, each incomming dlr will bring custom ID that will used to update my table regarding the delivery status of the message. ( http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide .htm l#AE N3749) Hope this could help you... --tjatur On Thu, 2006-05-11 at 12:15 issam wrote: hello I use dlr-url parameter. when I send a message with kannel I attribute a unique ID to thismessage and Kannel give it another ID when he send it for delivery(----). I want to correspond in my base this ID and my ID to resend the message if he fail after validity period expiration. How can I do this big thanks for help - Original Message - From: Heru Tjatur [EMAIL PROTECTED] To: users@kannel.org Sent: Thursday, May 11, 2006 4:22 AM Subject: Re: dlr Dear issam, On Wed, 2006-05-10 at 13:47 +0100, issam wrote: Hello when I send a message with Kannel, he return a message like accepted for delivery but not the id used in dlr message. if I send 2 messages and I receive one dlr how can I know if this dlr is for first message or 2nd message. You could use set dlr-url parameter when sending the message. Each dlr message coming, it will its trigger dlr-url. So, you will know which message's dlr is comming. Hope it could help you.. --tjatur
Re: dlr
Attach your kannel.conf please.Did you got the delivery report from your SMSC?. what are the logs saying?M On 5/17/06, Roman Yeryomin [EMAIL PROTECTED] wrote: I'm using cvs head now, sqlbox works ok... I set up sms-service like you say...but dlr-url is not fetched anyway...could it be smpp problems?On Friday 12 May 2006 22:47, Mi Reflejo wrote:: If you'r using CVS HEAD and last sqlbox, dlr-url is used well. Even if the MT was sent by mysql insert. insert into send_sms (service,momt,sender,receiver,msgdata,smsc_id, dlr_mask,dlr_url) VALUES('kannel', 'MT','1234','1234','Delivery test','FakeSMSC',31,' http://localhost/mev/a.php?type=%d'); and kannel-smsbox.log: 2006-05-06 22:42:51 [1030] [4] INFO: Starting delivery report kannel from 1234 () But take care of service column. If it's not, service is set to NULL, and delivery is not routed. Regards, Anselmo On 5/12/06, Roman Yeryomin [EMAIL PROTECTED] wrote: Hi all, but what about when sending from database with sqlbox (simply inserting in database)? dlr_url should also work, right? but it seems that kannel doesn't fetch my ulencoded dlr_url defined in database (mysql) i'm stuck... does anyone know where could be the problem? i'm using kannel 1.4 with mysql 4.1 Roman On Friday 12 May 2006 17:31, Heru Tjatur wrote:: Hi Wayne, I set it in dlr-url when sending messages vi cgi-bin/sendsms. So, each time I send message, I put dlr-url containing my custom ID. Something like this: dlr-url="" href="http://127.0.0.1/smspapp/dlr.php?msgID=%5BmycustomID%5Ddlrstatus=" target="_blank" > http://127.0.0.1/smspapp/dlr.php?msgID=[mycustomID]dlrstatus= % d[other parameter] Don't forget to url-encode your dlr-url when sending the mesaage via cgi-bin/sendsms? Hope it give you a hint ... --tjatur On Fri, 2006-05-12 at 13:40 +0800, Wayne Khan wrote: Hi Heru,How do you send the custom id to the smsc and get it back? I've tried the various kannel escape codes (%a, %b) but they don't seem to work. I'm doing some auditing function so there's a need to tie in thereport with the sms... please help! Thanks! Heru Tjatur wrote: dear Issam, Here what I do to get the dlr in Kannel. Hope it could give you a light how to implement it for your needs. (1) I set up a url that will capture delivery status of the messages sent by kannel, base on a custom ID for the message (I defined that ID for each message sent). (2) When sending the message to the user, through cgi-bin/sendsms?, a drl-url containing custom ID is added with proper dlr-mask value. (3) That way, each incomming dlr will bring custom ID that will used to update my table regarding the delivery status of the message. ( http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AE N3749) Hope this could help you... --tjatur On Thu, 2006-05-11 at 12:15 issam wrote: hello I use dlr-url parameter. when I send a message with kannel I attribute a unique ID to this message and Kannel give it another ID when he send it for delivery (----). I want to correspond in my base this ID and my ID to resend the message if he fail after validity period expiration. How can I do this big thanks for help - Original Message - From: Heru Tjatur [EMAIL PROTECTED] To: users@kannel.org Sent: Thursday, May 11, 2006 4:22 AM Subject: Re: dlr Dear issam, On Wed, 2006-05-10 at 13:47 +0100, issam wrote: Hello when I send a message with Kannel, he return a message like accepted for delivery but not the id used in dlr message. if I send 2 messages and I receive one dlr how can I know if this dlr is for first message or 2nd message. You could use set dlr-url parameter when sending the message. Each dlr message coming, it will its trigger dlr-url. So, you will know which message's dlr is comming. Hope it could help you.. --tjatur
Re: Using PHP scripts
Update gateway and sqlbox to HEAD CVS. and try to make patch again. M. On 5/16/06, Julius David Bacolod [EMAIL PROTECTED] wrote: - Hide quoted text - Why? Which Problem do you have with sqlbox? You can do it. But why? This is exactly what sqlbox does! I mailed the users lists two weeks ago. Actually, this problem is about two months already. I really want to use sqlbox, but since i've stuck with this problem, I opt to find some other way. http://www.mail-archive.com/users@kannel.org/msg07403.html http://www.mail-archive.com/users@kannel.org/msg07404.html Commonly MO messages are routed to some script (which are defined for you). If you decide to go without sqlbox then that script must to log the traffic. The question how means can i have some sample code snippets that i can analyze and play with? or some pseudo-code if you don't have any code?. So, what variables will I use, how will I manipulate the script, how can I log to the traffic, etc, using PHP. In connecting MySQL to PHP, I use this script $connection = mysql_connect($dbhost, $dbuser, $dbpasswd); If I am to log into the traffic as you say, what particular functions will I need to use. Thanks if you have any idea. Yes, If you want to do it by a php script add some code in sensdms.php for insert into mysql databases and use it. In sending messages, we used cURL in our application in packaging the URL for http interface (http://localhost:port/cgi-bin/sendsms...), how will I invoke sendsms if we would use the sendsms.php? In which folder will I put sendsms.php after I edit it? Delivery Reports contains status of certain transactions. Such as submit_sm. These delivery reports comes from the SMSC and is routed by bearerbox to dlr-url. I may add DLR for insertion into the database aside from messages themselves. Julius Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Re: Binary SMS problems
This UDH is incomplete and is terminated by %. What are you trying to send?. and you must to put coding=1 to send binary content Please show me your smpp log to see exactly what are you sending. M On 5/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello. I am trying to send a binary SMS and after scouring this list and google for a while in futility, i need some help. I read that to send binary SMS, you have to specify the UDH parameter and this defaults the coding to 1 which is what is needed to send binary SMS. So i specify a UDH parameter on my sendsms parameter. I encode this UDH as well as the message by placing a % character before every two characters in both the UDH and text parameters so that the parameters become like the following: udh=%0B%05%04%15%8A%00%00%00%03%01%03%01% text=%30%00%00%00%02%01%00%00%48%1c%01%00%00%42%00%00%00%84%00%00%00%00%c3%81%c7%03%86%00%00%00%01%81%c3%ef%87%03%00%00%00%03%9f%e3%ff%8f%f3%80%00%00%03%bf%e3%ff%8f%fb%80%00%00%03%ff%63%ff%8d%ff%80%00%00%03%fb%21%ff%09%bf%80%00%00%01%f9%60%fe%0d%3f%00%00%00%00%fb%20%7c%09%be%00%00%00%00%79%f0%38%1f%3c%00%00%00%00%7f%d1%11%17%fc%00%00%00%00%7f%f2%44%9d%fc%00%00%00%00%3e%e2%82%8f%78%00%00 Now when i send this message, it shows up as the characters in the message instead of the object that it is supposed to render to on the phone. I have sent this message to Motorola, Nokia and Sony Ericsson phones. My questions are this: 1. What is required to send binary SMS? Apparently the above is not all that it will takke to send binary SMSs successfully? 2. Do i need to make use of the coding parameter? According to the Kannel documentation, setting a UDH is enough. 3. Can someone kindly provide me with details of a successful binary SMS that they have sent?n I'm especially interested in the parameters that you used as well as your kannel configuration file and the phone model that you sent it to. Thanks Nii Amon
Re: sqlbox patch error with 1.4.0
Update your kannel and sqlbox version to CVS HEADMOn 5/17/06, Willy [EMAIL PROTECTED] wrote: Hi, Below is the error message return when I try to patch sqlbox: -bash-2.05b$ cd sqlbox make patchpatch -p0 -d ../gateway sqlbox.patchpatching file Makefile.inpatching file configureHunk #1 succeeded at 81 (offset -4 lines).Hunk #2 FAILED at 4656.Hunk #3 FAILED at 4703.Hunk #4 succeeded at 5466 (offset -309 lines).2 out of 4 hunks FAILED -- saving rejects to file configure.rejpatching file configure.inHunk #1 FAILED at 913.Hunk #2 succeeded at 1081 (offset -89 lines).1 out of 2 hunks FAILED -- saving rejects to file configure.in.rejpatching file gw/smsbox.cHunk #1 succeeded at 3165 with fuzz 2 (offset -137 lines).Hunk #2 succeeded at 3346 (offset -2 lines).patching file gwlib/cfg.defHunk #1 succeeded at 238 (offset -5 lines).Hunk #2 succeeded at 550 (offset -5 lines).make: *** [patch] Error 1 is that normal? Or any missed step here? Thanks for comments. Regards Willy
Re: Using PHP scripts
Hi On 5/16/06, Julius David Bacolod [EMAIL PROTECTED] wrote: I'm resigned using the SQLBox patch since I do not have a way to know the problem. Why? Which Problem do you have with sqlbox? Basically, what I need to do is Task#1: Mobile Terminated (MT) messages be automatically inserted in MySQL database. Task#2: Mobile Originated (MO) messages be automatically inserted in MySQL database. I've heard someone who used PHP to do insertion to database. What I plan to do is this (as from my understanding of kannel): Use PHP script to act as an intermediary between Kannel and MySQL. You can do it. But why? This is exactly what sqlbox does! Question#1: In ~/gateway-1.4.0/contribs/php-admin folder, there is a script named sendsms.php. Is it the script that runs http interface sendsms interface? No it isn't. The HTTP interface to send sms messages is in smsbox. To know how to use it, take a look to: Using the HTTP interface to send SMS messages: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN4180 sendsms.php use this interface to send sms with a pretty html form. Assumption#1: ~/gateway-1.4.0/contribs/php-admin/sendsms.php is the script that the gateway runs when using the http interface in sending sms (Mobile Terminated, MT). No it isn't. Question#2: If Assumption#1 holds, I have an idea of inserting codes in it that connects to a MySQL database and would automatically insert MT messages. Is it feasible? Is my idea alright? Question#3 But this will only solve Task#1. How about Task#2? How will I use PHP to track incoming messages? What part of Kannel can PHP communicate so as to sense Mobile Originated (MO) messages? Commonly MO messages are routed to some script (which are defined for you). If you decide to go without sqlbox then that script must to log the traffic. Assumption#2: ~/gateway-1.4.0/contribs/php-admin/sendsms.php is NOT the script or program that the gateway executes when using the http interface in sending SMS. It some other programs or gatewat mechanism which I am do not know. yes, look at my first answer Question#4: If Assumption#2 holds, how will I use PHP to track outgoing (MT) messages? Question#3 is also repeated. How will I use PHP to sense incoming (MO) messages. Yes, If you want to do it by a php script add some code in sensms.php for insert into mysql databases and use it. Question#5: As from my understanding of Kannel, it is the bearerbox that sends and receives messages. Is there some way that PHP can communicate with the bearerbox? Yes bearerbox sends and receives mesages ***from the SMSC or modem**, but smsbox implements the rest of the SMS gateway functionality receving SMS messages from the bearerbox, and interprets them as service request. Question#6: Since I would be using PHP as an intermediary between Kannel and MySQL, will it be necessary to use ./configure --with-mysql in compiling the gateway? er.. No. --with-mysql flag is used for store DLR information into a MySQL database. Question#7: Will I still need to configure DLR group in conf? What role will DLR play in my setup, assuming it is correct? (I can hardly understand DLR until now, because I cannot compile well). Delivery Reports contains status of certain transactions. Such as submit_sm. These delivery reports comes from the SMSC and is routed by bearerbox to dlr-url. Pardon for silly questions. Thanks for those who can bear with them and answer them. Suffer the little children... Mark 10:13 Julius Nobody is born knowing. Anyway, take a look to user-guida and kannel architecture http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html Regards, Martín On 5/16/06, Julius David Bacolod [EMAIL PROTECTED] wrote: I'm resigned using the SQLBox patch since I do not have a way to know the problem. Basically, what I need to do is Task#1: Mobile Terminated (MT) messages be automatically inserted in MySQL database. Task#2: Mobile Originated (MO) messages be automatically inserted in MySQL database. I've heard someone who used PHP to do insertion to database. What I plan to do is this (as from my understanding of kannel): Use PHP script to act as an intermediary between Kannel and MySQL. Question#1: In ~/gateway-1.4.0/contribs/php-admin folder, there is a script named sendsms.php. Is it the script that runs http interface sendsms interface? Assumption#1: ~/gateway-1.4.0/contribs/php-admin/sendsms.php is the script that the gateway runs when using the http interface in sending sms (Mobile Terminated, MT). Question#2: If Assumption#1 holds, I have an idea of inserting codes in it that connects to a MySQL database and would automatically insert MT messages. Is it feasible? Is my idea alright?
Re: ringtone : a simple tutorial
Hey Fourat, The scheme for polyphonic ringtone is: Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserver WAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handset automatically gives the user the option to access the WAP content on his handset. The WAP Push directs the end-user to a WAP address where content is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site. For wap pushes, kannel uses a Push Proxy Gateway. To know how configure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG Regards On 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks
Re: send animated text
I may be wrong but i think that you are talking about send MMS. For that you need a MMS Gateway. If it is your case you can start reading: http://www.mbuni.org/userguide.shtml Regards, Martín Conte On 5/14/06, issam [EMAIL PROTECTED] wrote: Hello How can I send animated text with kannel please help
Re: dlr
If you'r using CVS HEAD and last sqlbox, dlr-url is used well. Even if the MT was sent by mysql insert. insert into send_sms (service,momt,sender,receiver,msgdata,smsc_id, dlr_mask,dlr_url) VALUES('kannel', 'MT','1234','1234','Delivery test','FakeSMSC',31,'http://localhost/mev/a.php?type=%d'); and kannel-smsbox.log: 2006-05-06 22:42:51 [1030] [4] INFO: Starting delivery report kannel from 1234 () But take care of service column. If it's not, service is set to NULL, and delivery is not routed. Regards, Anselmo On 5/12/06, Roman Yeryomin [EMAIL PROTECTED] wrote: Hi all, but what about when sending from database with sqlbox (simply inserting in database)? dlr_url should also work, right? but it seems that kannel doesn't fetch my ulencoded dlr_url defined in database (mysql) i'm stuck... does anyone know where could be the problem? i'm using kannel 1.4 with mysql 4.1 Roman On Friday 12 May 2006 17:31, Heru Tjatur wrote:: Hi Wayne, I set it in dlr-url when sending messages vi cgi-bin/sendsms. So, each time I send message, I put dlr-url containing my custom ID. Something like this: dlr-url=http://127.0.0.1/smspapp/dlr.php?msgID=[mycustomID]dlrstatus=% d[other parameter] Don't forget to url-encode your dlr-url when sending the mesaage via cgi-bin/sendsms? Hope it give you a hint ... --tjatur On Fri, 2006-05-12 at 13:40 +0800, Wayne Khan wrote: Hi Heru, How do you send the custom id to the smsc and get it back? I've tried the various kannel escape codes (%a, %b) but they don't seem to work. I'm doing some auditing function so there's a need to tie in the report with the sms... please help! Thanks! Heru Tjatur wrote: dear Issam, Here what I do to get the dlr in Kannel. Hope it could give you a light how to implement it for your needs. (1) I set up a url that will capture delivery status of the messages sent by kannel, base on a custom ID for the message (I defined that ID for each message sent). (2) When sending the message to the user, through cgi-bin/sendsms?, a drl-url containing custom ID is added with proper dlr-mask value. (3) That way, each incomming dlr will bring custom ID that will used to update my table regarding the delivery status of the message. (http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AE N3749) Hope this could help you... --tjatur On Thu, 2006-05-11 at 12:15 issam wrote: hello I use dlr-url parameter. when I send a message with kannel I attribute a unique ID to this message and Kannel give it another ID when he send it for delivery (----). I want to correspond in my base this ID and my ID to resend the message if he fail after validity period expiration. How can I do this big thanks for help - Original Message - From: Heru Tjatur [EMAIL PROTECTED] To: users@kannel.org Sent: Thursday, May 11, 2006 4:22 AM Subject: Re: dlr Dear issam, On Wed, 2006-05-10 at 13:47 +0100, issam wrote: Hello when I send a message with Kannel, he return a message like accepted for delivery but not the id used in dlr message. if I send 2 messages and I receive one dlr how can I know if this dlr is for first message or 2nd message. You could use set dlr-url parameter when sending the message. Each dlr message coming, it will its trigger dlr-url. So, you will know which message's dlr is comming. Hope it could help you.. --tjatur
Re: Can kannel be made to listen SMS-Mobile originated
The second part can be done too. Kannel act as a receiver and transmitter. I sugest you start off by reading kannel Architecture and Design and the user-guide: http://www.kannel.org/download/1.2.1/arch-1.2.1/arch.html http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html Regards, Anselmo On 5/12/06, abhishek jain [EMAIL PROTECTED] wrote: Dear Friends, I wanted to create an application where i want to send the mobile terminated SMS and receive mobile originated SMS. The first part i know can be done but can the second part be done. Thanks, Abhishek Jain
Re: sqlbox, smsbox-route and dlr rerouting help!
I'm reopening that issue. I dont know if you got the mail that i send you on 5/7. Hi Alex, i was doing a couple of tests. At First, every time that the smsbox got a delivery report the logs said INFO: Starting to service ACK/. (it means that smsbox is trying to route the dlr as an MO). And sent_sms table had something like : | 147| MO | 1010 | 1157494777 | | ACK/ | () i did a checkout and then everything was fine. Please try a checkout, if it doesn't work please send me more debug logs and what are you doing exactly (The INSERT statment, for example) and i'll try to reproduce your error. Regards, Anselmo On 5/7/06, Mi Reflejo [EMAIL PROTECTED] wrote: Hi Alex, i was doing a couple of tests. At First, every time that the smsbox got a delivery report the logs said INFO: Starting to service ACK/. (it means that smsbox is trying to route the dlr as an MO). And sent_sms table had something like : | 147| MO | 1010 | 1157494777 | | ACK/ | () i did a checkout and then everything was fine. Please try a checkout, if it doesn't work please send me more debug logs and what are you doing exactly (The INSERT statment, for example) and i'll try to reproduce your error. Regards, Anselmo