Hi fu 1st try to enable verbose responses from modem. I have this kind of error from time to time, but in almost all the cases was a modem hung. I finetune the modem init string and fixed somehow the modem hung. However I still get the modem hung.
btw, I use enfora 1218 modems Regards Alvaro On Thu, 2008-09-11 at 16:43 +0800, fu maoyu wrote: > Hi, All > > I use Kannel connect with a GSM Modem to send and receive SMS. They > are working fine. > But sometimes, the Kannel doesn't work fine, it can't send and receive > SMS. If I met this problem. If I reset the Kannel, it can work most of > time; but sometime it still can't work although I reset it several > times. Like now... > Does anybody also meet this problem? > > Below is the error when it's disable: > > 2008-09-11 16:36:06 [2226] [8] DEBUG: boxc_receiver: sms received > 2008-09-11 16:36:06 [2226] [8] DEBUG: send_msg: sending msg to box: > <127.0.0.1> > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: > TP-Validity-Period: 24.0 hours > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> AT > +CMGS=19^M > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: 1 > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000B813129201170F30000A705F4F29C0E00 > 2008-09-11 16:36:08 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: -1 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> AT > +CMGS=19^M > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: 1 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000B813129201170F30000A705F4F29C0E00 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT+CMGS=19 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2008-09-11 16:36:29 [2226] [6] ERROR: AT2[/dev/ttyS0]: Generic error: > ERROR > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: -1 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> AT > +CMGS=19^M > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > 0011000B813129201170F30000A705F4F29C0E00> > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: 1 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000B813129201170F30000A705F4F29C0E00 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2008-09-11 16:36:29 [2226] [6] ERROR: AT2[/dev/ttyS0]: Generic error: > ERROR > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: -1 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT+CMGS=19 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2008-09-11 16:36:29 [2226] [6] ERROR: AT2[/dev/ttyS0]: Generic error: > ERROR > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- > 0011000B813129201170F30000A705F4F29C0E00 > 2008-09-11 16:36:29 [2226] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2008-09-11 16:36:29 [2226] [6] ERROR: AT2[/dev/ttyS0]: Generic error: > ERROR > > Thanks > Aaron >
