Hi Thom,

On Mon, 2004-02-02 at 17:40, [EMAIL PROTECTED] wrote:
> Hi,
>       This time I tried to send 5 messages. While sending the first message, I tried 
> to send a message from my mobile to the gsm modem. After reviewing the bearerbox log 
> file, I'm able to see the
>  <-- +CMT: ,21 line and that the incoming message is being processed and inserted 
> into the database. 
> 
So, you can receive SMS, and fetch into DB successfully.

>   However all of the 5 messages have error messages i.e  
> <-- ERROR
> 2004-02-02 18:11:03 [1028] [7] DEBUG: AT2[GSMModem]: send command status: -1
> 
According to Kannel source (smsc_at.c line 1870,1885).. the error coming
from at2_send_one_message(). So I assume there is no problem with
receiving SMS... Then it might be something wrong with your application
that send reply thru SMS-box service.
- Have you check SMS length of your reply?
- Any special flag (MWI, MClass, coding, alt-DCS) that you use?


I have look at your kannel-config.. seems OK.. Almost similar with my
one (I use iTegno as well)... So it should work, since my one works
well..
Anyway.. you could try to increase verbosity, to get idea what is the
problem.. log-level = 0 might help.

I found few case that SMS failed to be sent, becoz traffic jam from
cellphone provider.

> and could not be send out. Is there anything to do with the config file or the 
> initialization of my gsm modem?
> 
> 
>     
> > 
> > From: Yulianto Z <[EMAIL PROTECTED]>
> > Date: Sun 01/02/2004 11:9 AM GMT+08:00
> > To: [EMAIL PROTECTED]
> > Subject: Re: Sending and receiving sms simutlaneously
> > 
> > Hi Thom,
> > I think you should include your kannel config. It will help to analyze
> > the problem.
> > 
> > On Sat, 2004-01-31 at 13:13, [EMAIL PROTECTED] wrote:
> > > Hi Guys,
> > > 
> > >     Been testing kannel for few weeks. It has been a great s/w but i got 2 
> > > problems. I'm using a iTegno gsm modem as the smsc.
> > > 
> > >   1. During the process of sending mass sms messages, I tried to send a message 
> > > to the gsm modem from my mobile. But kannel did not receive it after checking 
> > > the log files. Is this a hardware or software limitation?
> > > 
> > If you use log-level 0 (which is default), you will see any SMS-in, eg.:
> > 2004-01-24 02:47:52 [7] DEBUG: AT2[GSMModem]: <-- +CMT: ,21
> > 2004-01-24 02:47:52 [7] DEBUG: AT2[GSMModem]: <--
> > 07912xxxxxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxxxxxxxxxxxxxxxxx3B
> > If you don't see these lines, then your cellphone SMSC does not send you
> > anything.
> > Kannel behaviour depend on config, so you might recheck your config.
> > Especially when you upgrade from one version to other version, it is
> > worth to reread kannel docs.
> > 
> > >   2. After no requests for about an hour, the smsbox terminates itself. The 
> > > smsbox log files shows this:
> > > 
> > > 2004-01-31 02:04:23 [1049] [8] DEBUG:   data: 0a 0a                              
> > >                ..
> > > 2004-01-31 02:04:23 [1049] [8] DEBUG: Octet string dump ends.
> > > 
> > > 
> > > 2004-01-31 03:31:43 [1037] [0] ERROR: Error reading from fd 23:
> > > 2004-01-31 03:31:43 [1037] [0] ERROR: System error 110: Connection timed out
> > > 2004-01-31 03:31:43 [1037] [0] ERROR: Connection to bearerbox broke.
> > > 2004-01-31 03:31:43 [1037] [0] INFO: Received (and handled?) 20 requests in 9299 
> > > seconds (0.00 per second)
> > > 2004-01-31 03:31:43 [1037] [0] INFO: Kannel smsbox terminating.
> > > 
> > >  what's happening here?
> > > 
> > Is bearerbox alive?
> > Any firewall (iptables/ipchains) problem?
> > 
> > > 3. The information of my server:
> > > 
> > > Kannel bearerbox version `cvs-20040127'.
> > > Build `Jan 30 2004 00:59:17', compiler `3.2 20020903 (Red Hat Linux 8.0 3.2-7)'.
> > > System Linux, release 2.4.24, version #6 SMP Fri Jan 30 09:18:02 SGT 2004, 
> > > machine i686.
> > > Hostname localhost.localdomain, IP 127.0.0.1.
> > > Libxml version 2.4.23.
> > > Using native malloc.
> > > 
> > > Thanks for reading.
> > > 
> > > 
> > > regards,
> > > Thomas Hoi 
> > > HP: 97680834
> > -- 
> > Regards,
> > [cogito ergo sum]
> > 
> > GPG fingerprint:
> >  E2BC 9029 F3FB 90C7 2FAB 9E42 421E F015 119E 0D5D
> > GPG Public key:
> >   http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x119E0D5D
> > 
> > 
> > 
> 
> regards,
> Thomas Hoi 
> HP: 97680834
-- 
Regards,
[cogito ergo sum]

GPG fingerprint:
 E2BC 9029 F3FB 90C7 2FAB 9E42 421E F015 119E 0D5D
GPG Public key:
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x119E0D5D

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to