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
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.
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
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
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
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
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
>
> 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 ?
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
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
> 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
>
> What about 'client_threads_are_running'? also switch this to 0 in
> gwlib/http.c:client_shutdown() ?
>
Yes, for the same reasons.
>
> - 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
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
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
>
> 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
> >
> > 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
> 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
>
> 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
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
>
> 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
>
> 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
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
> 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
>
> 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
>
> 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
> 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
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.
>
> 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
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.
*/
> 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
> 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
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
>
> 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
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
>
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
> >
> > 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
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
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 ???
>
> 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
> 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
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
> >
> > /*
> > * 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.
> > */
>
> 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
> 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 ?
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
> 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
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 ?
> 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 ?
> 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
> (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
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
> 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
>
> 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
> > > 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.
>
> 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
>
> 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
>
> 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
> > 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
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
> 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
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
= 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
> 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...
>
> 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
>
> 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'
66 matches
Mail list logo