Replying to Stipe Tolj:
understand... now, the normal Kannel could add this feature by hocking the
mapping data into a mysql db or even a sqlite3 database on a shared file
system
among the nodes. At this point the normal Kannel doesn't do that, my Kannel-CG
version does.
You forgot to
Hi guys,
I've updated my masterpiece to latest kannel cvs. It is available at
http://stingr.net/git/?p=kannel;a=summary
(and cloneable from http://stingr.net/git/kannel)
Patches are available here:
http://stingr.net/l/kannel/20060726/
This is quick'n'dirty update, it was compile-tested with
Replying to Jarrod Hermer:
I am using ver 2.5.11 of libxml2.
The configuration step completed without any errors. Any assistance would be
appreciated.
2.5.11: Sep 9 2003
[EMAIL PROTECTED] ~]$ LANG=C date
Thu Sep 8 16:00:06 MSD 2005
Do not expect current software to run with 2 year old
Replying to steve kirby:
Hi Jorg,
Greatly appreciate your response here. Are you referring to
something like a firewall or simply a need to open up permissions
for additional IP(s)? The wap server is a RH Enterprise system.
Yay! Great.
Just do a iptables -F.
Would you happen to know
Replying to steve kirby:
Is there a way to test kannel's readiness before I try to connect
via my cell phone? The user's guide starts to talk about using the
fake WAP sender in Appendix B. but it isn't fleshed out...
There will be fakewap binary after you do make somewhere in the
Replying to Alex Antropoff:
Hello, patch works well, but i see one thing, charset from server's
content-type header used even if encoding of wml is set in xml header.
For example,
Content-Type: text/vnd.wap.wml;charset=koi8-r (php use default charset from
php.ini)
?xml version=1.0
Replying to Alexander Malysh:
Hi Paul,
sorry for delay. Would you please post the latest version of your patch
so I can commit it?
Which patch?
1st with just normalize_charset, or next with removal of
ISO8859-1 from http.c and guess-source-charset code?
1st is unchanged wrt you seen it.
Getting tired of this crap I implemented the following trick:
http://anna/viewmtn/headofbranch.psp?branch=net.stingr.kannel.generic
See last couple of changes
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my
Replying to Pommnitz, Jorg:
http://anna.stingr.net/viewmtn/headofbranch.psp?branch=net.stingr.kannel.gen
eric
Yep. Stupid mistake. That's because I'm TIRED OF CHARSET [censored].
:)
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official
Replying to Alexander Malysh:
Hi Paul,
only one objection from my side: please fix indentation. Please use 4
spaces instead of 2 as indent.
When no objections from others and you fix indents I will happily commit
this patch.
done
(also take a look at
Replying to Benjamin Lee:
Paul, hi, how's it going?
I am interested in working with you against your code base... because
I like the autotools*, curl*, etc. functionality...
Nice to see this.
I understand that the autotools* branch was started a little while
back against the official
There is stil one place I am not sure but I wrote code one should
uncomment if any problems arise, so why don't you commit it?
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.D1/gw/wap-appl.c
Replying to Jonathan Houser:
I just went through it and it looks very nice indeed. You
centralized a lot of code that got called over and over before, and made
the 'compiling' a lot more straightforward. I'm going to give it a shot
(unless you're not ready for that yet) and see if it
Replying to Jonathan Houser:
Well, I did something. It survives only basic testing, and of course
not complete yet, but I'll post it here - maybe someone will say
something.
P.S. add octstr_destroy(charset) at the end of normalize manually :)
--
Paul P 'Stingray' Komkoff Jr //
Replying to Edward C.A. Tromp:
Hi Paul,
I'm Paul too, so I'll respond
I tried it with Motorola ones without luck
the messages arrived and the phone but when i try to enter the pin it give
incorrect pin number but i enter the right one.
I do not use kannel or mbuni for OTA configuration
Replying to Edward C.A. Tromp:
Paul,
After making the file you send it as a normal SMS?
sendWithUDH splits message in 119-byte chunks, adds UDH with
fragmentation and sport/dport fields, then sends it as a normal SMS
with UDH.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my
Replying to Jonathan Houser:
So is the idea then to convert everything to UTF-8 within wap-appl
and then only serve UTF-8 to the phones (as they are required to support
at least UTF-8 if nothing else)? This would also mean stripping the
encoding= section if it exists as UTF-8 is
Replying to Douglas Jurcovichi:
Hi,
I did te procedure as below, but I had problems with the library in my
O.S. Red Hat 9. It runs in this O.S., is the package right
(gateway.tar.gz)?
As you can see yourself from what you attached, you miss krb5-devel
package. You should install it.
Replying to Stipe Tolj:
Looks that you're one of a few people who actually using kannel as a
wap gateway, not as smsrouter.
Take a look at my patchset. It worth it. In particular, almost all of
charset problems are solved here.
Paul, I have commented already your patch, right? Can you
Replying to Jonathan Houser:
This is with a GSM handset so you may be able to test and get the same
results. I found the Character Set being sent via tcpdump and ethereal
as it's not listed in the debug output from Kannel.
Looks like it's the Character Set in the ?xml section (ie.
Replying to Stipe Tolj:
no, they should not. Actually it should build-out-of-the-box. I just don't
undersstand why the autoconf variable substitution didn't work on solaris
10.
*sigh* automake ... *sigh* :(
I guess we will revert again to the VAR=`cmd` way for this.
P.S. MY colleague
Due to lack of new phones in this antique shop for now I just taken a
pcap of the case
We are trying to download 180K game from content-provider, and while
sending fragments phone sends abort. I don't know how this should look
because I don't have access to any other gateway, but I think this
Replying to Stipe Tolj:
looking on this via ethereal, the first thing that glances my eyes is the
fact that the WTP UDP packets from Kannel towards device carry incorrect
checksum, accoring to etherreal?!
Hmm, is it? :()
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
Replying to Yury.Mikhienko:
fix that after rollback the
http://www.kannel.org/cgi-bin/viewcvs.cgi/gateway/gwlib/http.c.diff?r1=1.225r2=1.226sortby=date
patch
now log is:
2005-03-09 17:55:04 [22126] [7] DEBUG: WML compiler: Charset is
2005-03-09 17:55:04 [22126] [7] DEBUG: WML compiler:
Replying to Stipe Tolj:
Paul P Komkoff Jr wrote:
When I'll get tired of this ...
ok, Alex did the quick shoot and commited. Paul can you please point out
the semantical logic change you did here?! I don't get the point from your
previous quote:
What do you tink will happen
When I'll get tired of this ...
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.C5/gw/wap-appl.c
===
---
Replying to Jonathan Houser:
Paul,
You can avoid OpenSSL errors by using curl as http library. IIRC I've
had same problem when accessing https over http proxy, that' was my
primary motivation to write libcurl patch.
I checked the ./configure --help and didn't see an option
Replying to Paul P Komkoff Jr:
Damn it's obvious - that's the reason kannel says
Device doesn't support charset windows-1251 neither UTF-8
while device supports utf-8
Unnoticed yet?
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official
Replying to Stipe Tolj:
on the HAVE_TO_REVIEW list... this evening, hopefully. Alex is also busy
I hope your's HAVE_TO_REVIEW list implementation isn't broken ...
;)
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices
Damn it's obvious - that's the reason kannel says
Device doesn't support charset windows-1251 neither UTF-8
while device supports utf-8
P.S. I think device_headers needs to be dwlist_destroyed, no?
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents
Replying to Paul P Komkoff Jr:
+gwlist_destroy(device_headers);
http_destroy_headers here ;)
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Look what I have now.
I added strip_preamble to avoid double-decoding bug where preamble
actually contains encoding=.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.C5/configure.in
Replying to Wilfried Goesgens:
I've used the kannel source you provided on your website, i didn't find
the patch mentioned on the ml last September.
I admit that current situation with patchset is a complete mess. You
can look at latest patchset I've uploaded yesterday. File automake
from it
Replying to Wilfried Goesgens:
The automake version complaints about files in subdirs.
Automake isn't specified as make to build files in Subdirs,
but to recurse into them.
My first aproach was just to copy the Structure from the gwlib
dir, but this resulted in the smsc's being built as
Replying to Rune Saetre:
I think this patch should be applied before 1.4.1 is released.
I have submitted this before, but without the [PATCH] tag in the subject
line. And here it is again, since I cannot see it has been applied to the
CVS.
This patches the gateway-1.4.0/gwlib/http.c file
Replying to Stipe Tolj:
ok, reading this, it means from the point of logic:
If there has not been an Accept-Charset header with utf-8, you add it
directly. But, when I look into how List *charset is filled, I see in
gw/xml_shared.c:77 that UTF-8 is added anyway in the rest of the #else
Replying to Stipe Tolj:
the behaviour of libcurl and gwlib's http.c?
Yes. curl doesn't mangle headers in any way.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Replying to Stipe Tolj:
now, first of all. This policy, if I'm free to proclaim it in that way,
is not invented by people maintaining Kannel. It's invented by various
other open source projects where not only software engeneering aspects come
in play, but also politics, in some sence and
Replying to Stipe Tolj:
And for the record. From my experience.
Politics and efficiency are orthogonal in best case. In worst case
politics is counterproductive.
Real life lies between that two, and, as you can see, there isn't any
gains in being err, umm, political.
--
Paul P 'Stingray'
Replying to Stipe Tolj:
I agree. In that extend that ugly pachtes are getting in if the
demanding market is really that big.
Ok, some may say now: you say a) and then b) again, which is contrairy.
No! What I mean is that the group is not a group of puristic people (ok,
let's don't count
attached
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.A9/acinclude.m4
===
--- gateway.A9.orig/acinclude.m42004-11-06
attached
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.A9/configure.in
===
--- gateway.A9.orig/configure.in2004-11-06
attached
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my head
Index: gateway.A9/gw/wap-appl.c
===
--- gateway.A9.orig/gw/wap-appl.c 2004-11-06
Replying to Stipe Tolj:
Paul P Komkoff Jr wrote:
attached
please drop some shade on what this patch does. In order to make code
review easier and voting speed-up.
Later today, I'm overwhelmed right now. Basically, it avoids sending
any accept-charset headers learnt from phone
Replying to Alexander Malysh:
why NEW_CHARSET? would it be possible to name this as help message (e.g.
UTF8_CHARSET) because it's just confusing at least me?
ok I will
+charset=octstr_duplicate(content.charset);
possible memleak
why ?
Replying to Stipe Tolj:
As far as I understand, this means, libcurl support is optional via
configure switch --enable-curl, right?
Yes, that is for those people who want gwlib's http for some reason.
My testing shows that curl is more reliable, though ... ;(
Some points I'd like to see
Replying to Stipe Tolj:
now, agree'ing on the dependency issue fully. It's a philosophy and we're
not about to change it.
I think it is nesessary to change this. Or there will not be any
progress.
Systems we are working with becaming complex, and it is not very wise
to reinvent the wheel every
Replying to Paul Bagyenda:
Hello All,
As well as putting the Mbuni MMS Gateway out, I have updated the
patches,
previously posted here, to enable Kannel send OTA settings using OMA
formats. Please see
mbuni.org for details.
I'm just impressed by code quality.
Will definitely give
Replying to Stipe Tolj:
ok, agreeing for the 'Accept-value = Constrained-media |
_Accept-general-form_' value. _BUT_ what about _Constrained-media_?
If comes up to Extension-media where the reference BNF is used. IMO the
Accept encoded byte 0x80 followed by a 0*TEXT (hence nothing),
Replying to Stipe Tolj:
hmm, trying to understand this really.
The Siemens device sends 0x80 0x00 within the WSP headers, which means 0x80
is the coded value for 'Accept' and 0x00 is end?
Yes, you got the point :)
Can you drop us the wapbox.log in debug log-level for this? I'd like to
Replying to Stipe Tolj:
Hi Paul,
instead of pocking arround in the wsp_field_value() prototype like in your
patch, I'd suggest the following patch, that should work IMO for any
generic header type that is 0x00'ed for the value.
Can you test with SX1 and confirm? It would be more cleaner
Ok well, yes I know I was offline fot _too_ _long_. I can't promise I
will not do the same again :)
Now, to the kannel. Guess what Siemens SX1 latest firmware sends in
request headers? It sends an \0x80 \0x00! Of course kannel is unable
to do anything useful, because Accept for
Replying to Michael Bildner:
I'm currently using Kannel to connect to an SMSC via
SMPP 3.4. I've been perusing the log files created for
the SMSC connections and it seems that the
enquire_link PDU is sent twice. The first enquire_link
PDU is sent, then a response comes back and a second
My first 2 patches was busted. I somehow managed to mess with latest
cvs commit, and that in part reverts it.
I fixed it.
http://stingr.net/l/merge/kannel-automake-cvt-02.patch.gz
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of
Replying to Vjacheslav Chekushin:
Hi, Paul.
I send OMA bootstrap configuration aside from kannel.
I didn't test samsung, but I have different OMA for nokia, siemens and
motorola.
First of all, do you use authentication (pin or imsi)?
As I remember it is mandatory for some manufacters.
Hello developers!
Have you (anyone :)) made any progress in sending browser settings to
OMA-compliant devices?
I was trying to do so here by 2 hours. Maybe I've picked wrong phone.
I just ensured that all works with nokia phone and nokia OTA, then
replaced all from WSP (including WSP header) to
Replying to Stipe Tolj:
ok, I'd be happy to have you boarded to the developers in order to let
you code for the official upstream too. And I guess, as long as
adding dependecy libs is an optional feature (like the curl thing),
this would be at least +0-+1 for me.
When doing automake
After a long period of inactivity due to personal occupation, I
updated my patchset to upstream cvs.
All information posted to http://stingr.net/kannel/
Enjoy.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my
Replying to Norbert Naveen:
Is this the implementation of WAP 2.0 or is it extension of WAP 1.2.1 ???
AFAIK WAP 2.0 is basically http so you can use apache with mod_proxy
and mod_(appropriate compression) to achieve your goal.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp
I am apologizind for inconvenience. Long delay was caused by emergency
conditions here.
Now, I've done merging of my changes with upstream cvs, but it is
untested yet. I plan to test it in one-two weeks.
But you can grab it now, from ftp://anna.sgu.ru
kannel-stingr-3.tar.bz2 or patchfile, which
Replying to David Chkhartishvili:
Paul,
I can test it...
Do you keep you patches up-to-date against current cvs?
not very often, but I'll rediff it tomorrow morning.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the
Replying to Alexander Malysh:
Hi Paul,
I have done similar work in my tree, but never posted it :(
The problem with such changes that we need to move/rename files and won't lose
file history, this is not possible with CVS (or at least remote). So the
question here is: should we move to
Replying to David Chkhartishvili:
I also would like mention, that current radius implementetion not always
working properly. Sometimes we get incorrect mappings and as a result clients
get other clients MSISDN's. That situation is fatal when services are
dependent on MSIDN, for example MMS.
Replying to Oded Arbel:
Please tell me what am I missing
Have you tried putting same old version to machine which isn't working
now?
For those symptoms that you're described (and no more) I will suggest
2 things which can cause such problems:
1. machine (e.g. network) config
2. libraries you're
Replying to Oded Arbel:
Yes - that indeed was the problem. the bearerbox was configured to bind the
WDP listener to all interfaces, which included an interface with a few
virtual IPs (aliases). the packets from the phone where received on one of
these aliases, but the response was sent from
OK, next step
http://stingr.net/l/kannel-stingr-20040506.tar.bz2
and
http://sting.net/l/stingr-20040506.patch.gz (patch to current cvs)
So what's up?
Here I tried to remove serious limitation. It is a proof-of-concept
hack, maybe the direction is totally wrong, but it works.
* Preamble
Many of
Replying to Stipe Tolj:
have you posted the patch to the devel@ list?! If no, please do, so we
can review and commit to cvs.
Stipe!
For a long time I'm only posting and posting patches to devel list,
and noone paying attention to it.
attached split-up of bb_udp only change, which should do
Replying to Paul P Komkoff Jr:
For a long time I'm only posting and posting patches to devel list,
and noone paying attention to it.
So another patch with the same result.
It seems that no one will ever accept anything I am doing here. And it
will be silly to think that anyone WANT it.
Except
Replying to Guillaume Cottenceau:
It seems obvious to me, even if I'm very new on this list, that
they don't have much time for reviewing/merging/accepting
patches. Only Alexander seems to do it from time to time, but
only to small patches, as far as I can see. And he can't be
specialist of
Ok, after a long silence.
This huge piece of stuff was born as part of exercise named learn
automake.
:)
http://stingr.net/l/stingr.patch.gz
For now, I converted only basic stuff. Currently, it can build three
boxes and run_kannel_box executable. It builds couple of shared libs
(using libtool)
Replying to Dziugas Baltrunas:
Hi Paul,
diedas:~ wget http://stingr.net/l/stingr.patch.gz
--20:44:31-- http://stingr.net/l/stingr.patch.gz
= `stingr.patch.gz'
Resolving stingr.net... 212.193.32.15
Connecting to stingr.net[212.193.32.15]:80... connected.
HTTP request sent,
Replying to Yury Mikhienko:
Hi again!
What about my question?
Any suggestions?
I need help :(((
can you instead of yelling and screaming provide us backtrace of yours
situation?
if it dumps core when crashes load it into gdb and do a bt full
?
--
Paul P 'Stingray' Komkoff Jr //
Replying to Phuah Yee Keat:
What are think about the add following code into octstr.c/octstr_compare?
[snip]
+if ((ostr1 == NULL) (ostr2 == NULL))
+ return 0;
[snip]
returning 0 in this case will means the strings are equal, when they are
not. I guess that the return value
Replying to Yury Mikhienko:
I need more stable code of kannel.
You are trying to find keys not where you're lost it but where light
is.
Please try get backtrace of crash.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the
I have new autoconf and it says that correct place to define ac
functions is acinclude.m4, which cn be used (along with others) to
make aclocal.m4 with aclocal.
--
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key
This message represents the official view of the voices in my
After having it ran here for about two weeks - here is another round
of curl patch.
This is very work in progress but it really works, and I feel that it
works better than gwlib client.
Now curl-specific portions isolated with ifdefs so to make it actually
work you need to make CURL_SUPPORT
I was jumping around like mad because some sites aren't working.
Some digging shows that it is because we got wrong charset body
without correct charset header.
More deeper digging involved Russian Apache default config (which says
that mobile User-Agents are braindead and all and any ;charset=
Replying to Stipe Tolj:
the 'our-port' defines the _server_ port of your side of the UCP
server itself is about to establish an TCP connection for MO
tranmissions ie. It is _not_ defining the client TCP port of the
connection towards the server. The OS is assigning this socket port
and you
Replying to Alex Kinch:
Guys,
Do you remember a while back that Verisign had a wonderful idea that they'd
put holding pages up for domains that were registered but didn't have www
entries? Maybe there's something similar with MX?
Just a thought.
The best thought I have now that somebody
Replying to Stipe Tolj:
Hi Paul,
same with this one. Please always attach rather then inline. Thanks.
Ok. Next time I'll follow the rules. Sorry for inconvenience, I just
thought linux-kernel way where only inlined patches getting reviewed
:)
As for curl support - I posted it here just for
This will add support for:
1. Specifying multiple IPs in wdp-interface-name
2. When doing so, wdp replies will be sent from correct source IP
(same that received original request) - this is really needed for some
phones
diff -urN kannel-snapshot/gw/bb_udp.c kannel-snapshot-stingr/gw/bb_udp.c
---
81 matches
Mail list logo