Re: [Fwd: kannel gateway problem]

2002-01-17 Thread GAksenov
Hello! No. This patch already in kannel. The problem have have occured only if stop-and-wait and ACK lost. The kannel dosn't send any future messages and waiting for ACK until I manualy restart them. with best wishes German Aksenov phone: (095)258-7258 ext. 7836

kannel ACK wait

2002-01-29 Thread GAksenov
Hello! Today kannel stops sending any messages to smsc. In the log file i saw: 2002-01-29 13:32:09 [7] INFO: emi2: closing idle connection. 2002-01-29 14:37:39 [9] DEBUG: boxc_receiver: sms received 2002-01-29 14:37:39 [7] DEBUG: clear_sent called 2002-01-29 14:38:39 [7] DEBUG: emi2 sending pack

kannel fakesmsc problem

2002-02-20 Thread GAksenov
Hello! I have just compiled current cvs snapshot. And try to test it via fakesmsc. all look fine but if i start it as, i have got (and it's ok) $./fakesmsc -H localhost -p 1 -i 10 -m 10 "89021733068 206 text nop" 2002-02-20 18:06:35 [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2002

EMI2 stop-and-wait bug again

2002-04-18 Thread GAksenov
Hello! bug in emi2 still exist :( then stop-and-wait in use and acknolegement message (/R/51/) lost. (does not received in some time). kannel wait forever and does not send any message to smsc (until restart). is it possible to fix it? Thanks a lot. with best wishes German Aksenov phone: (095)

kannel AT2 smsc problem

2002-06-26 Thread GAksenov
Hello! Just I have got the following records in my log file. The message doesn't sent to smsc (problem with network provider), but message discarded and lost. May be it must retry later (then provider resolve the problem)? Thank You very much. 2002-06-26 16:44:09 [10] DEBUG: boxc_receiver: sms

EMI2 Panic

2002-06-26 Thread GAksenov
"127.0.0.1" # SERVICES group = sms-service keyword = test text = "test passed" group = sms-service keyword = default accept-x-kannel-headers = true get-url = "http://127.0.0.1/cgi-bin/sms2mail?to=gaksenov&from=%p&text=%a"; max-messages = 1 concatenation = true with best wishes German Aksenov phone: (095)258-7258 ext. 7836

Re: EMI2 Panic

2002-06-27 Thread GAksenov
"/var/log/kannel/smsbox.log" #log-level = 0 access-log = "/var/log/kannel/smsbox_access.log" black-list = "http://127.0.0.1/html/black-list.txt"; # SEND-SMS USERS group = sendsms-user username = local password = imbank concatenation = true max-messages = 4 user-deny-ip

Re: EMI2 Panic

2002-06-27 Thread GAksenov
Hello! If I comment EMI2 smsc section and put into kannel.conf at2 type smsc all works. It seems like an error in emi2 group = smsc smsc = at2 smsc-id = MTSPH speed = 19200 modemtype = siemens_me45 pin = 6391 device = /dev/ttyS0 my-number = +79021733067 validityperiod = 167 retry = true keepal

Re: EMI2 Panic

2002-06-27 Thread GAksenov
Hello! Just I have applied yours patch from list. and now kannel still crashed with the following PANIC error. but only with this eror independet of set username and password in conf. 2002-06-27 17:28:29 [0] INFO: MAIN: Start-up done, entering mainloop 2002-06-27 17:28:29 [0] PANIC: gwlib/octs

Re: EMI2 Panic

2002-06-27 Thread GAksenov
Hello! Yes. The emi2 group for now looks group = smsc smsc = emi2 smsc-id = MTS port = 5006 host = 212.44.xxx.xxx connect-allow-ip = "212.44.xxx.xxx" receive-port = 5006 smsc-username = qqq smsc-password = qqq flow-control = 1 idle-timeout = 120 throughput = 10 with best wishes German Akseno

EMI2 Panic

2002-06-30 Thread GAksenov
Hello! What about to fix the serious problem with emi2? The latest snapshot still have PANIC situation and die. :( 2002-07-01 10:01:33 [0] DEBUG: Started thread 8 (gw/smsc_emi2.c:emi2_listener) 2002-07-01 10:01:33 [0] DEBUG: Started thread 9 (gw/smsc_emi2.c:emi2_sender) 2002-07-01 10:01:33 [0]

EMI2 Panic

2002-07-01 Thread GAksenov
Hello! I have just inestigates the problem with - 2002-06-27 17:28:29 [0] PANIC: gwlib/octstr.c:2108: seems_valid_real: Assertion `ostr->len == 0' failed. (Call ed from gw/smsc_emi2.c:1438:start_cb.) - and found that this happened then denied-prefix not set in emi2 section. I think this

DLR in emi2

2002-07-02 Thread GAksenov
Hello! Today i try to use dlr in emi2 i push request to kannel like this http://192.168.1.1:13013/cgi-bin/sendsms?username=test&password=test&to =%2B79021733068&dlrmask=31&dlrurl=http://127.0.0.1/cgi-bin/test%3Fid%3D2234567%26dlr%3D%25d&text=test+message i have a http server on the smsgateway a

Re: DLR in emi2

2002-07-02 Thread GAksenov
Hello! what about dlr? may be kannel must send dlr with some code? with best wishes German Aksenov phone: (095)258-7258 ext. 7836 Stipe Tolj

Re: EMI2 Panic

2002-07-02 Thread GAksenov
Hello! now I have and all works fine: group = smsc smsc = emi2 smsc-id = MTS port = 5006 host = 212.44.140.33 connect-allow-ip = "212.44.140.33" receive-port = 5006 denied-prefix = "462" #smsc-username = qqq #smsc-password = qqq flow-control = 1 idle-timeout = 120 throughput = 10 but then i

ALT-HOST

2002-07-03 Thread GAksenov
Hello! then alt-host in use, smsc always show primary host name in log 2002-07-03 17:48:08 [9] ERROR: EMI2[MTS]: opening TCP connection to xxx.xxx.xxx.xxx failed with best wishes German Aksenov phone: (095)258-7258 ext. 7836

problem with unicode?

2002-07-17 Thread GAksenov
17:42:56 SMS HTTP-request sender:+79021733070 request: 'mail gaksenov Sent' url: 'http://127.0.0.1/ cgi-bin/sms2mail?to=gaksenov&from=%2B79021733070&text =%04%1F%04%40%048%042%045%04B' reply: 200 '<< successful >>' [web server log] 127.0.0.1 - -

RE: interanl dlr kill kannel

2002-09-17 Thread GAksenov
Hello! the last records in kannel changelog (which i try to install) dated 2002-09-09. Early (now) downloaded version dosn't have differences. That additional information can i provide? kannel died without any error in logs no core generated and it's happen only then dlr requested. with best wi

todays kannelcvs still broken

2002-10-16 Thread GAksenov
Hello! current cvs version of kannel still go down with the following words in log file. (internal dlr storage in use) 2002-10-16 18:42:55 [10] DEBUG: EMI2[MTS]: Got packet from the main socket 2002-10-16 18:42:55 [10] DEBUG: EMI2[MTS]: emi2 parsing packet: <00/00109/O/52/462/89021733068

kannel 1.2.1 crashes then dlr in use

2002-11-06 Thread GAksenov
enation = true omit-empty = true max-messages = 1 # group = sms-service keyword = balance get-url = "http://127.0.0.1/cgi-bin/balance?text=%s&from =%p&action=balance&coding=%c&charset=%C" max-messages = 0 # there should be default always group = sms-service keyword = default accept-x-kannel-headers = true get-url = "http://127.0.0.1/cgi-bin/sms2mail?to=gaksenov&from=%p&text =%a&coding=%c&charset=%C" max-messages = 0 system: Linux kernel 2.2.20 IMB xSeries 330 PIII-800 with best wishes German Aksenov phone: (095)258-7258 ext. 7836

RE: kannel 1.2.1 crashes then dlr in use

2002-11-09 Thread GAksenov
Hello! I use internal DLR storage everywhere. And I think we must change if ((typ & DLR_BUFFERED) && ((dlr_mask & DLR_SUCCESS) || (dlr_mask & DLR_FAIL))) { to if ((typ & (DLR_BUFFERED || DLR_SMSC_SUCCESS)) && ((dlr_mask & DLR_SUCCESS) || (dlr_mask & DLR_FAIL))) { because

RE: kannel 1.2.1 crashes then dlr in use

2002-11-09 Thread GAksenov
Hello! Today i set up some check code into smsc_emi2.c: --- smsc_emi2.orig Wed Sep 4 21:08:52 2002 +++ smsc_emi2.c Sun Nov 10 10:00:12 2002 @@ -976,7 +976,11 @@ static int emi2_handle_smscreq (SMSCConn * Recode the msg structure with the given msgdata. *

RE: kannel 1.2.1 crashes then dlr in use

2002-11-09 Thread GAksenov
Hello! It was only sample code. I don know the right value for dlrmsg->sms.msgdata (may be it must be other then "") and loging was turned on for debuging to mark PANIC. with best wishes German Aksenov phone: (095)258-7258 ext. 7836

RE: kannel 1.2.1 crashes then dlr in use

2002-11-10 Thread GAksenov
Hello! the PANIC resolved. but on the next message sent out, kannel died without any error in log. :( need to be investigated more... with best wishes German Aksenov phone: (095)258-7258 ext. 7836

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 und

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! that about patch? how avoid condition then used variable which not was initialized? with best wishes German Aksenov phone: (095)258-7258 ext. 7836

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: kannel 1.2.1 crashes then dlr in use

2002-11-15 Thread GAksenov
Hello! the problem is: then dlrmask=8 and emi2 protocol in use kannel crashes. because we got ack EMI message (for example 2002-11-15 15:49:42 [10] DEBUG: EMI2[MTS]: emi2 parsing packet: <29/00046/R/51/A//0070951044112:151102154939/DC> ) and try to use E50_AMSG field from this message, which dosn

Re: EMI Driver Bug

2003-02-03 Thread GAksenov
Hello! this patch helps me: --- smsc_emi2.c.origWed Nov 13 15:06:39 2002 +++ smsc_emi2.c Wed Nov 13 15:08:25 2002 @@ -976,7 +976,7 @@ static int emi2_handle_smscreq (SMSCConn * Recode the msg structure with the given msgdata. * Note: the DLR URL is delivere