Re: devel Digest, Vol 71, Issue 11

2012-07-26 Thread Paul Keogh
The stack trace doesn't show enough information. I'd suggest rebuilding with debugging enabled and stepping through the PPG http_read_thread function with a debugger. On 26 July 2012 11:00, wrote: > Send devel mailing list submissions to > devel@kannel.org > > To subscribe or unsubscrib

RE: WTLS

2007-03-08 Thread Paul Keogh
Title: RE: WTLS so, this means there is general interest in getting WTLS finished? or not? I dont think so. WTLS never really became mandatory even when WAP 1.x was dominant.

RE: WTLS

2007-03-07 Thread Paul Keogh
Title: RE: WTLS >the WTLS stack is "partly" implemented in Kannel itself. The fine people at >ANAM, Ireland started this some years ago. Unfortunatly they never finished it. >So it's not usable. Actually, it was the fine people from some company in Singapore who are no longer around. As

RE: Last bogus commit from Stipe

2007-01-22 Thread Paul Keogh
Title: RE: Last bogus commit from Stipe IMHO, this feels bad. If the programmatic logic is correct, then the freed memory cannot be accessed after it is free. -Original Message- From: Alexander Malysh [mailto:[EMAIL PROTECTED]] Sent: Mon 22/01/2007 11:12 To: devel@kannel.org Subje

RE: Sending SMS via ISDN/Modem

2006-09-21 Thread Paul Keogh
Title: RE: Sending SMS via ISDN/Modem Take a look at Asterisk (http://www.asterisk.org). It has support for something like this. -Original Message- From: Niels Przybilla [mailto:[EMAIL PROTECTED]] Sent: Wed 20/09/2006 22:14 To: devel@kannel.org Subject: Sending SMS via ISDN/Modem

RE: [PATCH] Re: XML Post results in

2006-09-05 Thread Paul Keogh
Title: RE: [PATCH] Re: XML Post results in +1 for this. This patch fixes the OA handling in the XML POST. It also fixes the double free of the POST body but incorrectly identifies the second free. The body should not be freed in get_x_kannel_from_xml () because it is freed in the outer s

Livelock bug in conn_pool_get()/http.c

2006-03-29 Thread Paul Keogh
Hi, I've experienced a livelock (ie. CPU bound) bug in the conn_pool_get() function in http.c. I'm sending lots of HTTP requests to a server that closes the connection after every request. After 5/6/7 requests the conn_pool_get() function gets stuck in an infinite look and never returns; >From l

RE: [PATCH] allow non blocking http_receive_result

2006-02-22 Thread Paul Keogh
> > attached patch allows http_receive_result to be non blocking > if requested. It allow us to start only one thread for http > client side. > > any objections? > No objections but whats the use case here ? Is it simply to save the overhead of creating a thread to receive results ?

RE: bearerbox doing mysterious things in gwthreadsleep

2005-10-25 Thread Paul Keogh
Title: RE: bearerbox doing mysterious things in gwthreadsleep I've atached to it with gdb to find out, that it starts consuming memory and cpu while it is Sleeping! That does'nt sound right - are you sure you're looking at the right thread ? Sometimes I think gdb gets confused around thre

RE: Receiving and processing MMS messages

2005-09-12 Thread Paul Keogh
Title: RE: Receiving and processing MMS messages > Kannel can capture the MMS notification SMS(es) and route them > to an application via the SMS Box sms service interface. * Is there any info anywhere about how the message is handed from smsbox off to the application? Yes. Look at the S

RE: WAP Push Message format, CR/LF required?

2005-08-15 Thread Paul Keogh
> I have an application that generates WAP Push messages in > Unix file format (i. e. no carriage returns, just line > feeds). The Kannel parsing functions in wap_push_pap_mime.c > seem to insist on hard-coded carriage returns. > > Is there some standard supporting this insistence, or is t

RE: [RFC] Re-entrancy in http module

2005-03-21 Thread Paul Keogh
> > What about 'client_threads_are_running'? also switch this to 0 in > gwlib/http.c:client_shutdown() ? > Yes, for the same reasons.

RE: Kannel is suffering [Really idea for dealing with SMPP TLV andEMI TTLLDD)]

2005-02-16 Thread Paul Keogh
> > - SMPP and EMI both have extra parameters or options that can >be passed back and forth between the SMSC Servers and the >SMSC clients. > - The extra parameters are proprietary to the SMPP or EMI >specifications and cannot be abstracted to be used by other >SMSC client implem

[RFC] Re-entrancy in http module

2005-02-04 Thread Paul Keogh
Hi, I'm using the HTTP server module from gwlib in another application. I stop and start the server module several times during operations using http_init() and http_shutdown (). I've had to make some patches to get this to work. The function gwthread_join_every(server_thread); is invoked fr

Re: MMS question

2005-01-31 Thread Paul Keogh
On Mon, 2005-01-31 at 17:37, "Pommnitz, JÃrg" wrote: > Let me explain: The m-notification.ind contains the URL that can be > used to access the contents of the MM. This URL can (in theory, that's > why the "somewhat hypothetical" part in the first sentence) point > anywhere. After the download of

RE: FW: Validity Period wrong calculation in SMPP code

2004-11-17 Thread Paul Keogh
> > Btw. I don't know, why we calculate local <-> utc diff and > for what it should be good? Patch just set timestamps in utc... > Hmm, but does'nt the 3.4 spec say that the time stamp includes local time value in quarter hours offset +/- from UTC. (section 7.1.1) Your patch just sets the qua

RE: Reliable message queue?

2004-10-19 Thread Paul Keogh
> > > > As far as I can understand, Kannel's current implementation of > > outgoing and incoming SMS queue is internal and implemented > using the > > List structure of gwlib. > > > > This is not good, we can't safely restart processes this > way because > > it would lose any data in the que

Re: Unknown TLV -- How to extract?

2004-09-28 Thread Paul Keogh
> SMPP: Unknown TLV(0x1402,0x0004,22312200) for PDU type (deliver_sm) > received! > > Great! There it is, just waiting for me. The question is, on an > sms-service get-url, how do I pass this information to my PHP script? You'll need to write code to; 1. Capture the TLV value in the SMPP driver

RE: MMS indication on siemens cx65

2004-08-25 Thread Paul Keogh
> > Did someone successfully send mms indication to Siemens CX65? > I mean with 1.3.2 version. Because I can send only if change > default encoding version for push messages from 1.3 to 1.2 in > wsp_unit.c. Is there the way to make this to work without > changing the sources? > I've had exper

Handling CIMD negative submit responses ?

2004-08-12 Thread Paul Keogh
The CIMD driver src and the Nokia spec. all suggest that the CIMD sequence number is incremented in the case of a negative submission response from the SMSC. However, I'm testing with an operator where a negative submission response (prepay credit failure) does not appear to increment the sequen

RE: RADIUS ACCT info used in WAP Push

2004-08-11 Thread Paul Keogh
> > a) PI sends push msg to PPG > b) PPG tries to resolve MSISDN into IP (from RADIUS acct mapping) > c) if MSISDN is online at this time, PPG is able to address the push > message via IP > d) if it's not online, utilize SMS bearer to push the message > (this is > the current default behavior f

RE: open source sms gateway written in java?

2004-08-09 Thread Paul Keogh
> > Does anyone aware of such thing? Well, nothing against > kannel. But it's > written in C. I want to learn/code more and languages that i know are > java/perl/python. So, i am looking for some gateway written > in java that > i can explore. > I think there's various bits and pieces but

RE: Samsung Z105 and VFML-Content

2004-06-15 Thread Paul Keogh
Just a guess but VFML == VodaFone Markup language. Maybe you need to be a dev partner of Vodafone live to get the spec. ? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pommnitz, Jörg > Sent: 15 June 2004 11:44 > To: Kannel-Devel (E-Mail) > Subje

RE: [PATCH] More DLR_FAIL codes in cimd2

2004-03-11 Thread Paul Keogh
> onsdag 10. mars 2004, 14:01, skrev Arne K. Haaje: > > I have attached a small patch that adds a few more codes > that should > > return DLR_FAIL for the CIMD2 protocol. > +1

RE: Using kannel's WAP-stack

2004-03-08 Thread Paul Keogh
> > Since WSP does not seem to be too easy, I am wondering if I > can use the WSP-stack in kannel that, or if there are other > Free WAP-stacks around. > Take a look at fakewap.c in the Kannel src tree. It's a good place to start for a WAP client. It lacks certain features (SAR, WTLS) but its

RE: [PATCH] CIMD2 service description bug

2004-03-05 Thread Paul Keogh
> > Name ID Max Type Values Description > Length > > Service065 2 Integer 0 - 99 Defines the service > description > Description of the message, > which can be used >for billing

RE: Bug in smpp_pdu.c ?

2004-02-20 Thread Paul Keogh
> you're right it's a bug and this is known one. > for example see Thread with subject: > [Delivery reports not working in latest CVS using SMPP 3.4 to > logica SMSC] > Thanks, I had a look at this. But there's 2 separate problems. * The SMPP driver should look for the SMPP_receipted_message_id

Bug in smpp_pdu.c ?

2004-02-20 Thread Paul Keogh
I think there is a bug in the smpp_pdu_pack() function when packing optional parameters. The tag_id and opt_len are not converted from host to network byte ordering as they should be for a byte oriented wire encoding. The corresponding unpack function works fine.

RE: Bug in wsp_server_method_states.def

2004-02-19 Thread Paul Keogh
> > hmm, did you use a specific handset for this where it corrupts?! > I don't believe it is handset specific. > This thing works for me with various devices and does not > corrupt MMS messages. > Can you explain a bit more in details, please?! Sure. The MM1 M-Send.req is carried by a WSP PO

Bug in wsp_server_method_states.def

2004-02-18 Thread Paul Keogh
I think this code is wrong. /* * The Siemens S35 adds an extra NUL character to the end * of the request body which may not work with certain cgi * scripts. It is removed here by truncating the length. */

RE: Things I learned about MMS clients (so far)

2004-02-04 Thread Paul Keogh
> The final mystery is solved. My MMS client works with > Vodafone D2 in Germany. It turned out, that the WAP gateway > did not know about the binary encoding for > "application/vnd.wap.mms-message". > This is an WSP version issue, right ? Binary encoding for application/vnd.wap.mms-message is

RE: A plea for help to the MMS experts

2004-01-29 Thread Paul Keogh
> I'm trying to get a MMS client to work. Unfortunately > with only minor success so far. > Attached is a tcpdump of the communication between the > MMS WAP gateway (from the German network operator E-Plus) > and my MMS client. You can view it with ethereal (both, under > Linux and Windows). > Any

RE: [CFP] WAP 2.0 roadmap meeting

2004-01-23 Thread Paul Keogh
2.30pm GMT or 2.30pm CET or ??? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Stipe Tolj > Sent: 21 January 2004 16:05 > To: Kannel Devel > Subject: [CFP] WAP 2.0 roadmap meeting > > > Hello list, > > this is a call for participation on a virt

RE: MySQL 4.0 license change - should be 4.1

2004-01-21 Thread Paul Keogh
> > it's not true... Kannel is a open source project, so GPL just > say: when > linking against GPL library then source code for this > application _must_ be > available and this is the case with Kannel. It's not allowed > to link closed > source applications against GPLed libraries. But av

RE: MySQL 4.0 license change - should be 4.1

2004-01-21 Thread Paul Keogh
Sorry, thats 4.1 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Keogh > Sent: 21 January 2004 10:13 > To: Kannel Development List (E-mail) (Kannel Development List > (E-mail)) > Subject: MySQL 4.0 license change >

MySQL 4.0 license change

2004-01-21 Thread Paul Keogh
The license for the MySQL 4.0 client API has changed from LGPL to GPL. See http://www.infoworld.com/article/04/01/16/03OPstrategic_1.html?developme nt for full details. I guess this affects Kannel - my understanding is that linking GPL libraries under the current Kannel license is not possible

RE: UCP 50

2004-01-14 Thread Paul Keogh
> > > > which means you have to pass the UCP string via HTTP GET/POST over > > HTTPS to them? ... what kind of perversion is this?! > > > > I guess they use HTTPS for getting the security purpose "done"?! Seems > > they never heard of stunnel (for SSL-enabling TCP server-client > > applications) or

SE T610 MMS notifications - FYI

2004-01-14 Thread Paul Keogh
Somebody had a problem recently about sending MMS notifications to the SE T610. I've just found an item on the SE developer site that says WAP pushes (ie. MMS notifications) are limited to 120 bytes for this and other SE devices. I've tested it and its true :-(. See http://www.sonyericsson.com/d

Bug in mime_decompiler.c ?

2004-01-13 Thread Paul Keogh
The function int mime_decompile(Octstr *binary_mime, Octstr **mime) decompiles from a WSP encoding into a MIME encoding. However, I notice that it uses "\n" as line terminators instead of the canonical "\r\n" required by the MIME RFCs. I assume canonical encodings is what's required here ???

RE: DCS bug ?

2003-12-05 Thread Paul Keogh
> > hmmm, sounds like our smppbox you are talking about?! ... you didn't > steal it from us Paul, did you? ;)) > No, but it might've worked better if I did... > Ok getting back serious. So this is a SMPP server (or at least) SMPP > proxy, right? Yes. > ok, that's an argument that can hold. If

RE: DCS bug ?

2003-12-05 Thread Paul Keogh
> but it's simple: > alt_dcs flag is used to define either 0xFX coding (alt_dcs=1) > or 0x0X coding > (alt_dcs=0). alt_dcs may be SMS_PARAM_UNDEF==-1 only if > message was generated > on the extern interface (e.g. sendsms in smsbox) and user has > not supplied > any dcs values. Inverse to th

DCS bug ?

2003-12-03 Thread Paul Keogh
In sms.c, int dcs_to_fields(Msg **msg, int dcs) There are 2 instances of (*msg)->sms.alt_dcs = 0; I think this is wrong and should be (*msg)->sms.alt_dcs = SMS_PARAM_UNDEFINED; as 0 is no longer used to indicate that the service is not required. Paul Keogh ANAM Wireless In

RE: ambiguous POST data truncation.

2003-11-28 Thread Paul Keogh
> > > > /* > > * The Siemens S35 adds an extra NUL > character to the end > > * of the request body which may not work > with certain cgi > > * scripts. It is removed here by > truncating the length. > > */

RE: SMSC testing tools / emulators

2003-11-27 Thread Paul Keogh
> > I'm on the look out for tools/emulators with which to test the SMSC > connections. What do people use? What do the Kannel > developers use? I'm > talking about the SMPP, CIMD, UCP/EMI, OIS, SM/ASI etc. > The best one I've used is CMGs MMT which has support for SMPP, UCP/EMI and OIS. Its no

RE: [PATCH] conn ssl cleanup and speedup

2003-11-26 Thread Paul Keogh
> attached you can find patch that does following: > 1) removes ssl_mutex > 2) correct SSL_[read|write] operations > 3) removes SSL_connect and SSL_accept because these > handled by openssl > library trasparent while SSL_[read|write] operations. > Did you address this issue ?

Bug in wap_push_ppg.c

2003-11-12 Thread Paul Keogh
happens, then octstr_destroy(content.type); octstr_destroy(content.charset); will be invoked on an uninitialised instance of content. The result will be unpredictable. Paul Keogh ANAM Wireless Internet Solutions http://www.anam.com +353 1 284 7555 (wired) +353

RE: wapbox -- support for external filters

2003-10-31 Thread Paul Keogh
> I'm +1 for this idea but I'm still not available to look at the code. > > Also think "image/png" -> "image/gif" = "convert %s %s" to > convert png's > to gifs if content is png and device doesn't accept it (SE-T610 for > example). I think this is more within the UAProf space than a generic ext

RE: [FYI] billing identifier/information proxying

2003-10-17 Thread Paul Keogh
Hi Stipe, In the smsbox/static Octstr *smsbox_req_handle() function, the binfo argument is passed in but I can't see any assignment of it into the Msg sms struct - did you miss this in the CVS update ?

RE: [FYI] billing identifier/information proxying

2003-10-16 Thread Paul Keogh
> In EMI2 we forward the XSer 0c field and in SMPP we forward the > service_type from the deliver_sm. > The EMI-UCP specification suggests that this field is reserved for future use. What syntax are you using for this field and is it operator specific ?

RE: MMS question

2003-10-15 Thread Paul Keogh
> working on a MMS client implemenation I found something perplexing. > When I send a MMS to the phone number of the client I get a plain-text > SMS message that instructs me how to download the MMS body. > That's nice, > but what I really want is the M-Notification.ind. > Does anybody know how to

RE: [RFC] get rid of inconsistent -1 values

2003-09-17 Thread Paul Keogh
> (if we start to _hack_ the code in such order, then we doesn't need > And now to these '-1' values. At first it's inconsistent to > have -1 values > only for sms values. If we want to have '-1' == UNDEF then > _all_ message > types should use it and not only sms and I do not see any > goal

[RFC] Resouce leak/Denial of service in bb_boxc.c

2003-08-25 Thread Paul Keogh
mutex_unlock(conn->boxc_id_mutex); break; } so if the boxc_id is NULL, no cmd_identity message has been received and the corresponding boxc_sender() thread is still blocked on the conn->boxc_id_mutex mutex. Paul Keogh ANAM Wireless Internet Solutions http://www.anam.com +353

RE: [RFC] Number portability hooks

2003-08-14 Thread Paul Keogh
> now, in Germany we have an access to an "centralized" database which > holds all ported numbers. So actually if you want to route messages to > Operator SMSCs, you must resolve the MSISDN at that database to know > if it has been ported to an other operator and hence route it to the > "new" one i

RE: [RFC] Number portability hooks

2003-08-14 Thread Paul Keogh
> > Ideally this would look like the SMSCConn abstraction layer itself for > the resolving of the network. > > A first scratch may be an simple HTTP lookup to an "resolving server" > which then answers with a given smsc-id we simply inject to the Msg > struct and then route via this smsc-id. > > An

RE: Anam and Kannel

2003-08-14 Thread Paul Keogh
> > > does anyone know what version of Kannel the Anam > WirelessWindow gateway is > > > built off? > > > >how about asking Paul directly?! ;) > > Mostly the current CVS, +/- a few features.

RE: [FYI] RADIOUS accounting proxy commited

2003-06-20 Thread Paul Keogh
> > hmmm, ok, that would be an issue. > > But in the log David provided there was no client IP, even not under > different attribute name. > Then you must ask the NAS administrator to turn it on. You won't necessarily get it by default, and without it the WAP box cannot do anything as its the only

RE: [FYI] RADIOUS accounting proxy commited

2003-06-20 Thread Paul Keogh
> > the problem is that your NAS does not deliver an 'Framed-IP-Address' > attribute within the acct packet, hence the folllowing inside > radius/radius_acct.c:update_tables(): > My experience is that the RADIUS attribute that contains the information that the WAP gateway needs (ie. MSISDN) varies

RE: [REQ] UAProf suppport

2003-06-20 Thread Paul Keogh
> > now basically they complain that Kannel does not check the UAProf > profile of a device and hence does not recognize that certain > mime-types can or can't be accepted by the device. But can the list of acceptable MIME types not be checked against the Accept: MIME headers ? I don't see this a

RE: [REQ] UAProf suppport

2003-06-18 Thread Paul Keogh
> > our REFPOOL tests are doing well. Handset manufacturers > claim the lack > > of UAProf support within Kannel. Is there any more details about these "claims" - ie. what exactly are they claiming is missing ? > > > > Can someone please check if UAProf is a mandatory feature for WAP > > 1.2.1 (j

BUG+FIX - panic in octstr.c

2003-06-12 Thread Paul Keogh
le Octstr instance to the octstr_url_encode() function. Change the octstr_imm() to octstr_create(). Paul Keogh ANAM Wireless Internet Solutions http://www.anam.com +353 1 284 7555 (wired) +353 86 234 6047 (wireless) Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland

RE: [Changing Kannel MIME parsing] (was: Re: Wappush Problems)

2003-04-03 Thread Paul Keogh
> Hi Paul, > > Paul Keogh wrote: > > > -1. > > > > IMHO, this badly breaks MIME handling. If you have to override > > the MIME separator, it should at least be configurable. > > can you point this out a bit more, please? > My understanding is th

RE: [Changing Kannel MIME parsing] (was: Re: Wappush Problems)

2003-04-03 Thread Paul Keogh
I changed mime parsing to that Kannel would accept lf as a separator. This should help Ritesh, and lots of use lf as a separator anyway. Will commit this, if there is interest. Crlf separator still works, of course. -1. IMHO, this badly breaks MIME handling. If you have to override the MIME se

[BUG] gw/wap_push_ppg.c/read_ppg_config()

2003-03-21 Thread Paul Keogh
= NULL) is replaced with if (cfg == NULL || cfg_get_single_group(cfg, octstr_imm("ppg")) == NULL) { (evaluation is left to right I think :-)) Paul Keogh ANAM Wireless Internet Solutions http://www.anam.com +353 1 284 7555 (wired) +353 86 234 6047 (wireless) Castle Yard

RE: [REQ] anyone interested on working on WTLS support?!

2003-03-20 Thread Paul Keogh
> Paul from Anam has done a lot of work for supporting WTLS inside > Kannel. Unfortunatly it's yet not finished. Actually, it was Nick and Yann from 3Glab...

RE: [FYI] fixed major charset encoding BUG#6 in wapbox

2003-03-19 Thread Paul Keogh
> > This should work now smoothly. Please test on your own and report if > something has been broken by the changes. > I've integrated and tested this in our tree. * Works fine on the Nokia SDK (7210 sim.) for UTF-8/ISO 8859-1 * Works fine on the Openwave 6.2 SDK for ISO-8859-1 and UTF-8. You

RE: [Fwd: [Kannel 0000005]: sms-service HTTP Basic Authentication no longer working [1.3.1]]

2003-03-07 Thread Paul Keogh
> > Funny thing is that I can't find what piece of Kannel is calling > handle_transaction. I have a suspicion it's never called/used, may be > it's an historic left-over? > handle_transaction() is a callback function passed to the Conn layer. It is referenced through a pointer which is why it'