RE: [PATCH] AT2 rewrites (one last time, I hope :-)

"Yves Le Jan" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello !

Using the same smsbox config with my 7110 running v1.2.0, I still have a problem:

==> /var/log/kannel/smsbox.log <==
2002-08-19 12:47:50 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <xxx.xxx.xxx.xxx>
2002-08-19 12:47:50 [3] INFO: sendsms used by <kannel>
2002-08-19 12:47:50 [3] INFO: sendsms sender:<kannel:+33xxxxxxxxx> (xxx.xxx.xxx.xxx) to:<xxxxxxxxxx> msg:<Hello world>
2002-08-19 12:47:50 [3] DEBUG: message length 11, sending 1 messages
2002-08-19 12:47:50 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-08-19 12:47:50 [3] DEBUG: HTTP: Resetting HTTPClient for `xxx.xxx.xxx.xxx'.
2002-08-19 12:48:51 [1] ERROR: Error reading from fd 22:
2002-08-19 12:48:51 [1] ERROR: System error 104: Connection reset by peer
2002-08-19 12:48:51 [1] DEBUG: HTTP: Destroying HTTPClient area 0x80a8a20.
2002-08-19 12:48:51 [1] DEBUG: HTTP: Destroying HTTPClient for `xxx.xxx.xxx.xxx'.

==> /var/log/kannel/kannel.log <==
2002-08-19 12:44:38 [6] INFO: AT2[nokia]: speed set to 19200
2002-08-19 12:44:38 [6] DEBUG: AT2[nokia]: --> AT^M
2002-08-19 12:45:36 [9] DEBUG: Started thread 13 (gw/bb_boxc.c:function)
2002-08-19 12:45:36 [13] INFO: Client connected from <127.0.0.1>
2002-08-19 12:45:36 [13] DEBUG: setting up systems for new wapbox
2002-08-19 12:45:36 [13] DEBUG: Started thread 14 (gw/bb_boxc.c:boxc_sender)
2002-08-19 12:47:50 [11] DEBUG: boxc_receiver: sms received
2002-08-19 12:47:50 [7] DEBUG: sms_router: time to sleep
2002-08-19 12:57:50 [7] DEBUG: sms_router: list_len = 1
2002-08-19 12:57:50 [7] DEBUG: sms_router: time to sleep

And here is the status I have:
   Kannel bearerbox version `1.2.0'. System Linux, release 2.4.17,
   version #1 Fri Mar 1 21:47:59 CET 2002, machine i586. Hostname
   xxx.xxx.tld, IP xxx.xxx.xxx.xxx. Libxml version 20422. Using OpenSSL
   0.9.6d 9 May 2002. Using MySQL 3.23.50. Using native malloc.

   Status: running, uptime 0d 0h 21m 41s

   WDP: received 0 (0 queued), sent 0 (0 queued)

   SMS: received 0 (0 queued), sent 0 (1 queued), store size 1

   SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

   DLR: 0 queued, using internal storage

   Box connections:
       wapbox, IP 127.0.0.1 (on-line 0d 0h 20m 42s)
       smsbox, IP 127.0.0.1 (on-line 0d 0h 21m 41s)

   SMSC connections:
       nokia    AT2[nokia] (connecting, rcvd 0, sent 0, failed 0, queued
   0 msgs)

any hints or do I have to switch to CVS?


Regards,
Yves
 
 -----Message d'origine-----
De : [email protected] [mailto:[email protected]]De la part de Andrea Viscovich
Envoyé : lundi 19 août 2002 12:59
À : Kannel-devel (E-mail)
Objet : Re: [PATCH] AT2 rewrites (one last time, I hope :-)


Ok, now it works for me, 
I will try without setting the sim-buffering=true which
is not compulsory I think.
Tried only with successfull sms, will try for unsuccess.
Thanks very much
Andrea
----- Original Message ----- 
From: Oded Arbel 
To: Kannel-devel (E-mail) 
Sent: Sunday, August 18, 2002 10:17 PM
Subject: [PATCH] AT2 rewrites (one last time, I hope :-)


Hi list. 

sorry for all that trouble - please dump the previous AT2 patches, here's the latest, with almost all bugs fixed ;-)
This patch consititutes a minor rewrite against current CVS, and features the following changes :
- full DLR support for all 5 DLR types. if you use a non-default +CNMI setting, please read the userguide.xml patch.
- EAGAIN handling in writing to modem.
- rewrite PDU creation to be more Octstr oriented.
- rewrite 7bit uncompressed string packing to be "cleaner" (hopefully - faster)
- correct truncation of long message data (not that it should happpen - smsbox should cut it).
- proper destruction of private data members on exit
- removed redundant at2_octstr_destroy and replaced with octstr_destroy_item.

Andrea - thanks for all the testing. I would really appreciate it if you could test this patch too.

--
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711 (116)
+972-67-340014

::..
Definitions of "AI":
Military definition: Anything Invincible
Marketing definition: Anything Improved
Academic definition: Anything Impossible
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.