RE: ERROR: System error 24: Too many open files
This is not a very common problem, AFAIK, but Linux does have a limit on the maximum number of files that can be opened at the same time. Are you able to reproduce that problem ? did it occure while the computer was heavily loaded ? My suggestion would be to use a recent Linux distribution, sporting a 2.4 kernel (being that RH62 is almost 4 years old, I wouldn't suggest installing it to anyone for any reason, anyway). -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. obviously those people needed a union or something -- [EMAIL PROTECTED] about the harkonnen's employees' heart-plugs in the DUNE movie -Original Message- From: Cipher Strength [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:08 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: ERROR: System error 24: Too many open files NO Reply Yet. :( From: Cipher Strength [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ERROR: System error 24: Too many open files Date: Sat, 27 Apr 2002 21:28:44 +0500 MIME-Version: 1.0 X-Originating-IP: [202.125.144.96] Received: from hotmail.com ([65.54.236.20]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 27 Apr 2002 09:33:21 -0700 Received: from geodude.3glab.org ([62.254.217.163]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 27 Apr 2002 09:32:14 -0700 Received: from localhost.localdomain ([127.0.0.1] helo=geodude.3glab.org)by geodude.3glab.org with esmtp (Exim 3.22 #1)id 171V5I-0003bZ-00; Sat, 27 Apr 2002 17:30:04 +0100 Received: from f244.law12.hotmail.com ([64.4.19.244] helo=hotmail.com)by geodude.3glab.org with esmtp (Exim 3.22 #1)id 171V4c-0003b9-00for [EMAIL PROTECTED]; Sat, 27 Apr 2002 17:29:22 +0100 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 27 Apr 2002 09:28:44 -0700 Received: from 202.125.144.96 by lw12fd.law12.hotmail.msn.com with HTTP;Sat, 27 Apr 2002 16:28:44 GMT Message-ID: [EMAIL PROTECTED] X-OriginalArrivalTime: 27 Apr 2002 16:28:44.0671 (UTC) FILETIME=[9991E8F0:01C1EE08] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: mailto:[EMAIL PROTECTED]?subject=help List-Post: mailto:[EMAIL PROTECTED] List-Subscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:deve [EMAIL PROTECTED]?subject=subscribe List-Id: Development mailing list devel.kannel.3glab.org List-Unsubscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:deve [EMAIL PROTECTED]?subject=unsubscribe List-Archive: http://kannel.3glab.org/mailman/private/devel/ X-Original-Date: Sat, 27 Apr 2002 21:28:44 +0500 Return-Path: [EMAIL PROTECTED] Hi ALL, I am using Kannel Development Release version 1.1.6 on Redhat 6.2 compiled using native malloc ,after running few hours smsbox crashed when i checked smsbox.log follwing are the errors. Is it related to increasing Inodes etc. OR ??? 2002-04-28 02:09:15 [2] ERROR: HTTP: Error accepting a client. 2002-04-28 02:09:15 [2] ERROR: System error 24: Too many open files 2002-04-28 02:09:15 [5] WARNING: Tried to set MClass field, denied. 2002-04-28 02:09:15 [5] INFO: No reply sent, denied. 2002-04-28 02:09:15 [1] PANIC: gwlib/http.c:1535: port_put_request: Assertion `p != NULL' failed. Hope to listen from somebody soon CIPHER _ Chat with friends online, try MSN Messenger: http://messenger.msn.com _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
How to determine the name by which Kannel requests content?
Hi all, I am posting this question here because developers of Kannel, conversant with its internal architecture might be in a better position to help me out. I have the XML engine Cocoon 1.8.2 configured to run with the Web server Apache 1.3.19 If a request for an XML file, that is being sent to the Apache content server is coming from either a Nokia, UPSDK or a Ericsson R380 device then cocoon recognizes it as a WAP request and returns the appropriate WAP content. To make Cocoon recognize requests coming from these WAP devices I have to add these phone names in the cocoon.properties file: browser.1 = wap=Nokia browser.2 = wap=UP browser.3 = wap=R380 FOR WAP | NOKIA|__ REQUESTS __ | UPSDK| REQUEST FOR| APACHE |WAP CONTENT | COCOON | | ERICSSON R380|__\\| HTTP |__//| XML | | .| //| SERVER | \\| ENGINE | | .| XML FILE || FOR HTTP || |__|| REQUESTS | HTML CONTENT | | REQUEST FOR | XML FILE /|\ /|\ | | | |__ | HTTP| | BROWSER | | NETSCAPE| | OR| | IE| |_| The dots below Ericsson r380 are for other phone models which may have been added in the cocoon.properties file for which cocoon is to return WAP content. For requests coming from HTTP agents such as Netscape or IE cocoon throws HTML content. It is very irritating to add each and every phone model in the cocoon.properties and then restart Apache each time. So I decided to install Kannel which is supposedly a WAP gateway. My plan is to write one line in the cocoon.properties file browser.1 = wap=kannel and then tell all my clients to connect to my site using the Kannel gateway. | CLIENT's | | NOKIA| | UPSDK| | ERICSSON R380| | .| | .| |__| | | REQUEST FOR \|/ XML FILE \|/ | |_FOR WAP | KANNEL |__ REQUESTS __ | WAP | REQUEST FOR| APACHE |WAP CONTENT | COCOON | | GATEWAY|__\\| HTTP |__//| XML | || //| SERVER | \\| ENGINE | XML FILE || FOR HTTP || | REQUESTS | HTML CONTENT | | REQUEST FOR | XML FILE /|\ /|\ | | | |__ | HTTP| | BROWSER | | NETSCAPE| | OR| | IE| |_| But what is the name by which kannel makes its WAP request? Is it the bearerbox- hostname (as in bearerbox-host variable in kannel.conf) or what? What should I write in the cocoon.properties to make cocoon recognize Kannel as a WAP agent? Sorry for the long-winded story here. Eagerly awaiting a reply. Thanks in advance. SNODX
Re: Issue with CO Push
Hi, Michael Mulcahy wrote: To support connection oriented push, Kannel appears to require the Push Initiator to specify the application identifier as push.sia. I think this is incorrect, I think Kannel should be able to accept any application identifier for connection oriented push. In connection oriented push, if there is no session established then the server, Kannel, should send a Pom-SessionRequest to the client. The SIA Content field of Pom-SessionRequest contains a list of Application Ids required for push sessions. Kannel should put the Application Id received from the Push Initiator into this list. It is just for the Pom-SessionRequest that the Push headers should have the a content type for sia and an application id for sia. Yes, you are right. Thanks. Aarno
RE: Better modem than Wavecom
I did encounter the anoying behaviour where Kannel does not finish the initialization of the modem, as the AT2 thread get stuck (freezes). I've isolated that to the tcdrain() command in at2_write_line(). I noticed it happens most times on the first AT command issued to the modem, and rarely on the AT+CSMS command. Did anyone seen this behaviour in wavecom or other modems ? -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. capsule on reentry flickering match doused -Original Message- From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:29 AM To: Oded Arbel Subject: RE: Better modem than Wavecom If I send just send a lot of messages it works fine. It's only as soon as I start replying to those messages right away. Also if I only receive a lot of messages it works perfectly. It's simply the combination. Thanks for your help. Best regards, Jacob Vennervald -Original Message- From: Oded Arbel [mailto:[EMAIL PROTECTED]] Sent: 29. april 2002 11:19 To: Jacob Vennervald Madsen Subject: RE: Better modem than Wavecom Hi. I failed to reproduce the problem you describe, but I'm sure it can be fixed in Kannel (maybe by forcing a delay after a send ?) I did notice a very rare behaviour, with only some networks, where the modem would report a failure when sending the SM (Kannel would try to send 3 times and get an error every time), but the message will be sent. this is weird and I'm still loath to blame it on the modem itself, as it only happens with two GSM networks (both Vodafone subsidaries). -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. Odd objects attract fire never lurk behind one -- Murphy's Military Laws n°67 -Original Message- From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:01 AM To: Oded Arbel Subject: RE: Better modem than Wavecom Hi Oded I've tried what you suggest but if I send a lot of SMSes and reply to those SMSes right away some of the SMSes stil gets sent twice and some doesn't get sent at all. Jacob -Original Message- From: Oded Arbel [mailto:[EMAIL PROTECTED]] Sent: 28. april 2002 12:32 To: Jacob Vennervald Madsen Subject: RE: Better modem than Wavecom I found the wavecom modem to be very stable. there is the problem when sending and receiving at the same time that the received SMS get dropped to memory instead of forwarded to Kannel. I don't think that this problem is specific to Wavecom (I encountered it on the Siemens M20n too), and it is taken care of by enabling sim-buffering on a recent CVS snapshot of Kannel. -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. Words are cheap and vitriol flows like water down the crumbling, mossy mountainsides of prose. Megabytes of gibberish grind forth like glaciers from the keyboards of the thirty million guinea pigs participating in the largest clinical trial ever: the testing of a new reality completely devoid of common sense. -- Charlie Stross, commenting on the Usenet -Original Message- From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 4:56 PM To: Kannel lists (E-mail) Subject: Better modem than Wavecom Hi All Does anybody know of a more stable modem than Wavecom? As I wrote earlier I'm having huge problems when handling both incomming and outgoing through same modems. Jacob
Fw: Fw: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Dear All, I am trying to build Kannel 1.1.5 on Solaris 8 and had the following problems: /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:123: undefined reference to `ws_create' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:182: undefined reference to `ws_compile_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:194: undefined reference to `ws_free_byte_code' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:197: undefined reference to `ws_compile_file' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:206: undefined reference to `ws_result_to_string' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:213: undefined reference to `ws_destroy' wmlscript/wmlsc.o: In function `pragma_meta': /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:244: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:245: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:246: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:259: undefined reference to `ws_utf8_free_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:260: undefined reference to `ws_utf8_free_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:261: undefined reference to `ws_utf8_free_data' collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 here is the configure log: +++ bash-2.03# ./configure loading cache ./config.cache checking host system type... sparc-sun-solaris2.8 checking for gcc... (cached) gcc checking whether the C compiler (gcc -DSunOS=1 ) works... yes checking whether the C compiler (gcc -DSunOS=1 ) 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... ./install-sh -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) yes checking for perl... (cached) /usr/bin/perl checking for log in -lm... (cached) yes checking for accept in -lsocket... (cached) yes 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/local/bin/xml2-config checking libxml version... 2.4.10 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) no 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) no checking for getopt... (cached) yes checking for socklen_t in sys/socket.h... (cached) yes checking for getopt in stdio.h... (cached) yes checking for getopt in unistd.h... (cached) no 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 Attempting to compile with SSL support. checking for SSL_library_init in -lssl... (cached) no creating ./config.status creating Makefile creating config.h config.h is unchanged ++ Any help is greatly appreciated. Thx in adv. James Wang
RE: ERROR: System error 24: Too many open files
Hi, i forget to tell that this MYSQL Perl Scripts are runnning on my machines. I have increase the open file limit. Since than its running STABLE Thanks for reply Regards Aaqib From: Oded Arbel [EMAIL PROTECTED] To: Cipher Strength [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: ERROR: System error 24: Too many open files Date: Mon, 29 Apr 2002 09:49:02 +0200 MIME-Version: 1.0 Received: from hotmail.com ([65.54.237.124]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Apr 2002 00:51:59 -0700 Received: from geodude.3glab.org ([62.254.217.163]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Apr 2002 00:51:41 -0700 Received: from localhost.localdomain ([127.0.0.1] helo=geodude.3glab.org)by geodude.3glab.org with esmtp (Exim 3.22 #1)id 1725vA-0004dX-00; Mon, 29 Apr 2002 08:50:04 +0100 Received: from mail.m-wise.co.il ([212.150.137.114])by geodude.3glab.org with esmtp (Exim 3.22 #1)id 1725uD-0004d9-00for [EMAIL PROTECTED]; Mon, 29 Apr 2002 08:49:05 +0100 Received: from exchange.m-wise.com ([212.150.137.120])by mail.m-wise.co.il (8.10.1/8.8.7) with ESMTP id g3T7n3B22582;Mon, 29 Apr 2002 10:49:03 +0300 content-class: urn:content-classes:message x-mimeole: Produced By Microsoft Exchange V6.0.4712.0 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ERROR: System error 24: Too many open files Thread-Index: AcHvPGbPix6aLQkMStWd0Yhgzdtt5gAFaMiA Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: mailto:[EMAIL PROTECTED]?subject=help List-Post: mailto:[EMAIL PROTECTED] List-Subscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:[EMAIL PROTECTED]?subject=subscribe List-Id: Development mailing list devel.kannel.3glab.org List-Unsubscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:[EMAIL PROTECTED]?subject=unsubscribe List-Archive: http://kannel.3glab.org/mailman/private/devel/ X-Original-Date: Mon, 29 Apr 2002 09:49:02 +0200 Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 29 Apr 2002 07:51:41.0766 (UTC) FILETIME=[B34DC660:01C1EF52] This is not a very common problem, AFAIK, but Linux does have a limit on the maximum number of files that can be opened at the same time. Are you able to reproduce that problem ? did it occure while the computer was heavily loaded ? My suggestion would be to use a recent Linux distribution, sporting a 2.4 kernel (being that RH62 is almost 4 years old, I wouldn't suggest installing it to anyone for any reason, anyway). -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. obviously those people needed a union or something -- [EMAIL PROTECTED] about the harkonnen's employees' heart-plugs in the DUNE movie -Original Message- From: Cipher Strength [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 7:08 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: ERROR: System error 24: Too many open files NO Reply Yet. :( From: Cipher Strength [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ERROR: System error 24: Too many open files Date: Sat, 27 Apr 2002 21:28:44 +0500 MIME-Version: 1.0 X-Originating-IP: [202.125.144.96] Received: from hotmail.com ([65.54.236.20]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 27 Apr 2002 09:33:21 -0700 Received: from geodude.3glab.org ([62.254.217.163]) by hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 27 Apr 2002 09:32:14 -0700 Received: from localhost.localdomain ([127.0.0.1] helo=geodude.3glab.org)by geodude.3glab.org with esmtp (Exim 3.22 #1)id 171V5I-0003bZ-00; Sat, 27 Apr 2002 17:30:04 +0100 Received: from f244.law12.hotmail.com ([64.4.19.244] helo=hotmail.com)by geodude.3glab.org with esmtp (Exim 3.22 #1)id 171V4c-0003b9-00for [EMAIL PROTECTED]; Sat, 27 Apr 2002 17:29:22 +0100 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 27 Apr 2002 09:28:44 -0700 Received: from 202.125.144.96 by lw12fd.law12.hotmail.msn.com with HTTP;Sat, 27 Apr 2002 16:28:44 GMT Message-ID: [EMAIL PROTECTED] X-OriginalArrivalTime: 27 Apr 2002 16:28:44.0671 (UTC) FILETIME=[9991E8F0:01C1EE08] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: mailto:[EMAIL PROTECTED]?subject=help List-Post: mailto:[EMAIL PROTECTED] List-Subscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:deve [EMAIL PROTECTED]?subject=subscribe List-Id: Development mailing list devel.kannel.3glab.org List-Unsubscribe: http://kannel.3glab.org/mailman/listinfo/devel,mailto:deve [EMAIL PROTECTED]?subject=unsubscribe List-Archive: http://kannel.3glab.org/mailman/private/devel/ X-Original-Date: Sat, 27 Apr 2002 21:28:44 +0500 Return-Path: [EMAIL PROTECTED] Hi ALL, I am using Kannel
Re: xml2-config error in makefile
On Sat, 2002-04-27 at 17:37, Anarchy wrote: i think the source is wrong... the include statements where libxml is concerned should be something like #include libxml/xxx.h instead of just #include xxx.h It's now fixed on cvs = -- [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com
Re: Fw: Fw: Fw: Kannel version 1.1.5-1 fault tolerance and memoryleaks
- Original Message - From: Bruno David Simões Rodrigues [EMAIL PROTECTED] To: James Wang [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, April 29, 2002 2:09 PM Subject: Re: Fw: Fw: Fw: Kannel version 1.1.5-1 fault tolerance and memoryleaks On Mon, 2002-04-29 at 12:13, James Wang wrote: Dear All, I am trying to build Kannel 1.1.5 on Solaris 8 and had the following problems: It should compile, but please try 1.1.6 and tell us how it goes Dear All, It works now. It has turned out that the make program on my box is NOT GNU make. Sorry to disturb you. Cheers James Wang
Re: xml2-config error in makefile
Bruno David Simões Rodrigues wrote: xml2-config --cflags in some architectures (mandrake, probably redhat and suse) is returning only: -I/usr/include/libxml2 In debian, I have in changelogs: libxml2 (2.4.19-2) unstable; urgency=low * (...) * xml2-config --cflags will return same paths as previous versions (closes: #142229) And xml2-config returns correctly: -I/usr/include/libxml2/libxml -I/usr/include/libxml2 Shouldn't we be aware of that in configure and detect if it needs to add libxml ? Hmm, I don't think we should deal with bugs inside depending packages?! Stipe [EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de --- wapme.net - wherever you are
Re: Kannel - SMS - USA
Ashish Popli wrote: Hello, Is anyone using a CELLULAR PHONE, where Phone and Service has been purchased in USA, to send and Recieve SMS Messages via Kannel. I am not sure which service provider(ATT, Verizon etc) in USA will give out a Cellular Phone (like Nokia) that can be used with Kannel for Sending SMS. Any help will be greatly appreciated. Siemens has GSM modems which a tri-band capable and hence should be working even in US based GSM networks. We're about to setup such a pool in Florida. Stipe [EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de --- wapme.net - wherever you are
RE: xml2-config error in makefile
-Original Message- From: Stipe Tolj [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 8:10 PM To: Bruno David Sim?es Rodrigues Cc: [EMAIL PROTECTED] Subject: Re: xml2-config error in makefile Bruno David Simões Rodrigues wrote: xml2-config --cflags in some architectures (mandrake, probably redhat and suse) is returning only: -I/usr/include/libxml2 In debian, I have in changelogs: libxml2 (2.4.19-2) unstable; urgency=low * (...) * xml2-config --cflags will return same paths as previous versions (closes: #142229) And xml2-config returns correctly: -I/usr/include/libxml2/libxml -I/usr/include/libxml2 Shouldn't we be aware of that in configure and detect if it needs to add libxml ? Hmm, I don't think we should deal with bugs inside depending packages?! it's not a bug, it's a feature ! ;-) -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. Engineering is the art of the practical and depends more on the total state of the art than it does on the individual engineer. When railroading time comes you can railroad -- but not before. -- Robert A. Heinlein ('The Door into Summer')
Multiple DLR types at the same time - possible BUG ?
Hi people. Looking at the SMPP implementation we came onto this curios peice of code : dlrmsg = dlr_find(octstr_get_cstr(smpp-conn-id), octstr_get_cstr(tmp), /* smsc message id */ octstr_get_cstr(msg-sms.receiver), /* destination */ (DLR_SMSC_SUCCESS|((msg-sms.dlr_mask (DLR_SUCCESS|DLR_FAIL))?DLR_BUFFERED:0))); I think there is some logical problem here, but ignoring that, it safe to assume that on some conditions dlr_find will be called with two types of DLRs - which is OK by itself (I see no reason not to send two or mote types at the same time). The problems starts to present itself when we look at the code in dlr.c which creates the dlr msg to be sent : if ((typ dlr_mask)) { /* its an entry we are interested in */ msg = msg_create(sms); msg-sms.service = octstr_duplicate(dlr_service); msg-sms.dlr_mask = typ; we see here that if typ contains more then one DLR type, then even if not all DLR types are required (set in dlr_mask for the sendsms), all DLR types set in typ will be sent out. this is not correct IMO - it should be something like : msg-sms.dlr_mask = typ dlr_mask; Would like to hear your opinions , please.. -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. Let us so live that when we come to die even the undertaker will be sorry. -- Mark Twain
Re: xml2-config error in makefile
On Mon, 2002-04-29 at 19:10, Stipe Tolj wrote: Bruno David Simões Rodrigues wrote: xml2-config --cflags in some architectures (mandrake, probably redhat and suse) is returning only: -I/usr/include/libxml2 In debian, I have in changelogs: libxml2 (2.4.19-2) unstable; urgency=low * (...) * xml2-config --cflags will return same paths as previous versions (closes: #142229) And xml2-config returns correctly: -I/usr/include/libxml2/libxml -I/usr/include/libxml2 Shouldn't we be aware of that in configure and detect if it needs to add libxml ? Hmm, I don't think we should deal with bugs inside depending packages?! I've been read the changelog for libxml2 for debian and it looks that the right way to do it is to include libxml/file.h. debian have patched xml2-config to maintain compatibility to last patch. (I mean, they've once patched to be like that, and now they have to have xml2-config to behave like that) But please everybody test it and say if it's still buggy. (I know that it fixes redhat and mandrake, debian is ok any way) Stipe [EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de --- wapme.net - wherever you are
Kannel - SMS - USA
Hello, Is anyone using a CELLULAR PHONE, where Phone and Service has been purchased in USA, to send and Recieve SMS Messages via Kannel. I am not sure which service provider(ATT, Verizon etc) in USA will give out a Cellular Phone (like Nokia) that can be used with Kannel for Sending SMS. Any help will be greatly appreciated. -Ashish Popli- - Original Message - From: Alex Judd [EMAIL PROTECTED] To: Steffen Lindemann [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 6:47 AM Subject: Re: SMPP error code (0x0069) 69 Decimal is 45 Hex which according to the SMPP 3.3 specification is Submit SM/Multi failed. the Mobile (ESM) doesnot have the SMS service activated There is a really good error message summary in a document I got from the Geeks Co site for their smartSMPP product which has them all summarised in Appendix B. I can probably dig it up if you can't find it. Alex On Tue, 23 Apr 2002, Steffen Lindemann wrote: Hi, Does somebody have the list of error codes from a logical smsc. When I send it gives me a error code 69 and the message: Warning: smpp: pdu nul terminated string has no nul and error: smpp: smsc returned error code 0x0069 in response to submit_sm any idea? Steffen -- Alex Judd http://www.skywire.co.uk
SMSC in USA
Hello, Does anyone know of an SMSC that one can subscribe to in USA and use Kannel to connect to it (the standard way) for Sending and Recieving SMS messages. -Ashish Popli-
Compilation Warnings
bruno@laptop:~/work/gateway$ make -s wap/wsp_session.c:437: warning: `REFERER' redefined wap/wsp.h:47: warning: this is the location of the previous definition wap/wsp_session.c:490: warning: `REFERER' redefined wap/wsp_session.c:437: warning: this is the location of the previous definition bruno@laptop:~/work/gateway/wap$ grep OCTSTR wsp.h wsp_session.c wsp.h: #define OCTSTR(name) Octstr *name; wsp_session.c: #define OCTSTR(name) p-name = NULL; wsp_session.c: #define OCTSTR(name) octstr_destroy(p-name); bruno@laptop:~/work/gateway/wap$ grep REFERER wsp.h wsp_session.c wsp.h: #define REFERER(name) Octstr *name; wsp_session.c: #define REFERER(name) p-name = NULL; wsp_session.c: #define REFERER(name) octstr_destroy(p-name); I really don't understand what tha hell is this warning. OCTSTR macro (and others nearby) is defined just like REFERER and gives no warning. Could someone fix this and elucidate us what is this warning ?