RE: SAR

2002-11-13 Thread Igor Ivoilov
Title: RE: SAR Hi Denzel, Nack reaction was not implemented in early version of sar.patch. But version that's come to cvs has this feature. Did you experience nack problems with this version? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: Can't talk HTTP to cygwin build

2002-11-13 Thread Schaich, Peter
Are you really sure you using the 1.2.1 version? I have built and run the 1.2.1 version on Windows 2000 without any problems and it works. But my log output looks totally different than yours, for example (anonymized): 2002-11-12 14:24:02 [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0

RE: kannel 1.2.1 crashes then dlr in use

2002-11-13 Thread GAksenov
Hello! It's fantastic! then i set dlrmsg-sms.msgdata = octstr_create(); without any checkin (i think emimsg-fields[E50_AMSG] not defined in 51 type ACK/NAK messages) all work now. admittedly, emimsg-fields[E50_AMSG] not initialize previously and may point to incorrect place. not NULL but

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Stipe Tolj
the problem here is that the number now became suddendly a national number by removing the 00 and 41 (country code) and replace it with a national long distance prefix 0. to fix this is easy. We re-internationalize the number again. However, some users might not want to have it this way. So

Re: Can't talk HTTP to cygwin build

2002-11-13 Thread Ben Blaukopf
- Original Message - From: Schaich, Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 8:25 AM Subject: RE: Can't talk HTTP to cygwin build Are you really sure you using the 1.2.1 version? Yes. I have built and run the 1.2.1 version on Windows 2000

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Andreas Fink
On Mittwoch, November 13, 2002, at 10:08 Uhr, Stipe Tolj wrote: the problem here is that the number now became suddendly a national number by removing the 00 and 41 (country code) and replace it with a national long distance prefix 0. to fix this is easy. We re-internationalize the number

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Stipe Tolj
That would not be good enough in most cases. why? I think a primary key consisting of 8 digits of the receiver number and the timestamp is a pretty unique thing in the DLR table?! Ok, if you push several messages in the same second to the same number, then you clash up again to the same

Re: Can't talk HTTP to cygwin build

2002-11-13 Thread Ben Blaukopf
- Original Message - From: Schaich, Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 9:46 AM Subject: RE: Can't talk HTTP to cygwin build Hi, how did your URL to connect exactly look like? My canonical test is: http://localhost:13013/ Which ought to

Re: Kannel blocking connect again.

2002-11-13 Thread Stipe Tolj
patch applied, thanks! Stipe [EMAIL PROTECTED] --- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de

[FYI] non-blocking connect() patch applied

2002-11-13 Thread Stipe Tolj
Hi list, I just commited Vjacheslav's non-blocking patch to cvs HEAD. The patch works for me. Please do try this out in test environments and report problems to the list. BTW, I'd like to add the smsbox-routing patch too today and make a development branch release. Should be scale the version

incoming originator on SMPP

2002-11-13 Thread Andreas Fink
scenario: you have global-sender = "123" so all your outgoing SMS which dont have from=... set will be from 123 you got one SMPP link. no "my-number" stuff defined. you get an incoming SMS from that SMPP link and it will be always "to 123" even the sender might have used another short ID. The

Re: Problems with large wap-push?

2002-11-13 Thread Aarno Syvänen
Notifications worked for me, too, until I send one having only a few letters in its second segment. This did not work. Aarno On Monday, November 11, 2002, at 08:28 PM, Stipe Tolj wrote: Yes, there is indeed is a bug in wapbox (ppg) sms splitting. You should remove gw/wapbox.c, line max_msgs

Kannel CDMP

2002-11-13 Thread igor
What about CDMP (Cellular Digital Messaging Protocol by Motorola) support in Kannel ? Somebody know projects like Kannel with CDMP implementation ?

mailing list downtime

2002-11-13 Thread David Holland
Hi, just a heads-up: I'll be upgrading the software (Mailman) on the list server later today. There'll be a short period when messages don't immediately get sent out to the list; they'll get queued and sent later. Cheers, Dave -- :: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900

Re: Can't talk HTTP to cygwin build

2002-11-13 Thread Stipe Tolj
I have similiar effect with even more recent Cygwin builds. I suppose Cygwin's socket things are somehow broken. If you guys have the time and interest to test this: 1. pick kannel's test/test_http_server as http server 2. use cygwin 1.3.10 and do a wget to the http server 2. use cygwin 1.3.12,

DLRs

2002-11-13 Thread Martin Quevedo
Hi all ! Is this line, pdu-u.submit_sm.registered_delivery = 1; enough to request SMSC to send back a DLR ? or is there any other thing to set up ? Thanks Martin

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Stipe Tolj
Well we would to have to use it the other way around. and it would have to be SMSC specific. Imagine you have one EMI link to germany and one to switzerland and you get country specific numbers on each of them. I have commited (long time ago, in a galaxy far far away :)) the smsc specific

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Stipe Tolj
The point is that in some areas 8 digits would interfear already on the areacode level. Its better than doing nothing though but its still not really unique. What happens if you deliver to a short ID which is 3-4 digits only? yep, that's through, messing things up. Well the world is not

Re: wapbox crashes

2002-11-13 Thread Stipe Tolj
Why is the wapbox crashing when the host requested is not reachable??! See log below: (After this the wapbox just dies) /Peter Lofman 2002-11-13 09:29:00 [0] INFO: Added logfile `/var/log/kannel/wapbox-wap.log' with level `1'. 2002-11-13 09:29:00 [0] INFO: Starting to log to file

RE: Can't talk HTTP to cygwin build

2002-11-13 Thread Schaich, Peter
Hello, hm, for me, Cygwin 1.3.12 works fine (also with wget) Regards, Peter -Original Message- From: Stipe Tolj [mailto:tolj;wapme-systems.de] Sent: Mittwoch, 13. November 2002 13:07 To: Ben Blaukopf Cc: Schaich, Peter; [EMAIL PROTECTED] Subject: Re: Can't talk HTTP to cygwin build

Re: DLRs

2002-11-13 Thread Martin Quevedo
The thing is I am writing a perl script that connects to the smsbox-port to deliver sm though the kannel. I am setting the dlr_mask =1 and the dlr_ulr to a local script. However I only get the submit_sm_resp DLR. But the DLR that comes as a deliver_sm never arrives. Any ideas? I could send

Re: wapbox crashes

2002-11-13 Thread Peter Löfman
Attached is a more detailed (debug) printout from wapbox. /Peter Lofman From: Stipe Tolj [EMAIL PROTECTED] To: Peter Löfman [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: wapbox crashes Date: Wed, 13 Nov 2002 13:15:27 +0100 Why is the wapbox crashing when the host requested is not

Kannel crashes when dlrmask = 8 requested (EMI2 protocol) patch

2002-11-13 Thread GAksenov
Hello! In function emi2_handle_smscreq we have dlrmsg-sms.msgdata = octstr_duplicate(emimsg-fields[E50_AMSG]); what may be incoreect because in OT == 51 reply message dosn't contain E50_AMSG field and emimsg = get_fields(str, privdata-name); (called before) dosn't initialize this field to any

Re: Kannel crashes when dlrmask = 8 requested (EMI2 protocol) patch

2002-11-13 Thread GAksenov
Hello! I can't see where is memory leak. :( if we change octstr_duplicate(emimsg-fields[E50_AMSG]) to octstr_create ()? or then we initialize all fields to NULL in get_fields(...), before use, like for (fieldno = 0; fieldno SZ50; fieldno++) { result-fields[fieldno] = NULL; }

Re: Kannel crashes when dlrmask = 8 requested (EMI2 protocol) patch

2002-11-13 Thread GAksenov
Hello! I look into the code and it's looks as not good idea. emimsg = get_fields(str, privdata-name); create emimsg with size where E50_AMSG point to beyond the bounds emimsg structure (for 51 type of reply message, emimsg_create_reply_s(ot, trn, 1, whoami) function in get_fields ) and set it

Re: mailing list downtime

2002-11-13 Thread David Holland
I wrote: just a heads-up: I'll be upgrading the software (Mailman) on the list server later today. If this message makes it out to the list, then the upgrade went OK. :-) Dave -- :: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900 ::

SAR patch and segfaults

2002-11-13 Thread Matias Lahti
Hi - the SAR patch applied to CVS works nice with smaller files, but with bigger files it segfaults. Here's the log of wapbox before it dies: --- 2002-11-13 19:21:21 [1] DEBUG: User-Agent: Nokia7650/1.0 SymbianOS/6.1 Series60/0.9 2002-11-13 19:21:21 [1] DEBUG: WSP: End of decoded headers.

Re: wapbox crashes

2002-11-13 Thread Stipe Tolj
ups, ok this may be caused by some code I put in for adding the referer HTTP header. Please check what happens before calling the get_referer_url() when the http lookup fails. The asserion should prevent that empty referer strings are added. Maybe I'm not handling non-possible http lookup

Re: Kannel CDMP

2002-11-13 Thread Stipe Tolj
What about CDMP (Cellular Digital Messaging Protocol by Motorola) support in Kannel ? Somebody know projects like Kannel with CDMP implementation ? If you have the specification or know where we can download one, we'd like to invite you to write an Kannel module for it and we'll add it to

Re: DLRs

2002-11-13 Thread Stipe Tolj
Martin Quevedo wrote: The thing is I am writing a perl script that connects to the smsbox-port to deliver sm though the kannel. I am setting the dlr_mask =1 and the dlr_ulr to a local script. However I only get the submit_sm_resp DLR. But the DLR that comes as a deliver_sm never arrives.

Re: incoming originator on SMPP

2002-11-13 Thread Nisan Bloch
Hi surely just not setting my-number in the config will sort that out. Nisan At 11:46 AM 11/13/02 +0100, Andreas Fink wrote: scenario: you have global-sender = 123 so all your outgoing SMS which dont have from=... set will be from 123 you got one SMPP link. no my-number stuff defined. you

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Nisan Bloch
Hi snips from all the postings At 07:59 AM 11/13/02 +0100, Andreas Fink wrote: We have a work around, which is a bit hacky but works for us. We use the 8 right most digits of the number to match the DLR in the db/store. That would not be good enough in most cases. why? given that there is

Re: incoming originator on SMPP

2002-11-13 Thread Andreas Fink
On Mittwoch, November 13, 2002, at 08:27 Uhr, Nisan Bloch wrote: Hi surely just not setting my-number in the config will sort that out. thats just the point. I have NOT set it. The only thing set was "global-sender" and that has to be there for outgoing messages without from...

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Nisan Bloch
At 08:38 PM 11/13/02 +0100, Andreas Fink wrote: On Mittwoch, November 13, 2002, at 08:25 Uhr, Nisan Bloch wrote: Hi snips from all the postings At 07:59 AM 11/13/02 +0100, Andreas Fink wrote: We have a work around, which is a bit hacky but works for us. We use the 8 right most digits of

Re: incoming originator on SMPP

2002-11-13 Thread Nisan Bloch
At 08:38 PM 11/13/02 +0100, Andreas Fink wrote: On Mittwoch, November 13, 2002, at 08:27 Uhr, Nisan Bloch wrote: Hi surely just not setting my-number in the config will sort that out. thats just the point. I have NOT set it. The only thing set was global-sender and that has to be there for

Re: delivery reports and EMI [known bug issue]

2002-11-13 Thread Stipe Tolj
Ok. lets at least add the last 8 digits of the phone number to the timestamp to make it unique. I think thats a good compromize which solves 99.9% of the problems. Stipe, got your patch ready or shall I upgrade cvs? go for it. I'm working on other Kannel brackets currently, including the

Re: wapbox crashes

2002-11-13 Thread Stipe Tolj
same for Linux here: ... 2002-11-14 02:26:54 [2] DEBUG: User-Agent: Nokia7210/1.0 (2.01) Profile/MIDP-1.0 Configuration/CLDC-1.0 2002-11-14 02:26:54 [2] DEBUG: X-WAP.TOD: ? 2002-11-14 02:26:54 [2] DEBUG: WSP: End of decoded headers. 2002-11-14 02:26:55 [10] ERROR: gethostbyname failed 2002-11-14

[FYI] smsbox routing patch commited

2002-11-13 Thread Stipe Tolj
Hi list, I commited now Wapme's smsbox routing patch to Kannel's cvs HEAD tree. The basic idea behind the smsbox routing is that we can now route inbound messages to specific smsbox instances. bearerbox may be connected to several smsboxes, mainly for load-balancing purposes. Now as smsboxes do