Hi,
Thanks for replying, here's my config file:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/var/log/kannel/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
access-log = "/var/log/kannel/kaccess.log"
store-file = "/var/log/kannel/kannel.store"
# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = GSMModem
modemtype = iTegno
device = /dev/ttyUSB0
speed = 115200
sim-buffering = true
#my-number = 91903038
sms-center = +6596845999
validityperiod = 168
#keepalive = 300
# Modem Definitions
group = modems
id = iTegno
detect-string = "WAVECOM"
detect-string2 = "MODEM"
speed = 115200
need-sleep = true
message-storage = "SM"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +6596845999
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/saccess.log"
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
#dlr-url = http://localhost/action.php?type=%d&id=$id
# this sender is for Kannel relay testing (http_smsc)
group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
# SERVICES
group = sms-service
keyword = eric
text = "Your off day in Jan: 1,5,7,13,15,19,22,27,29"
group = sms-service
keyword = azmi
text = "Your off day in Jan: 2,5,6,14,16,19,20,26,28"
group = sms-service
keyword = teo
text = "Your off day in Jan: 1,6,8,12,13,20,22,27,30"
group = sms-service
keyword = yassir
text = "Your off day in Jan: 7,8,12,16,19,20,26,29"
# this service is for Kannel relay testing, when this Kannel
# works as relay gateway
group = sms-service
keyword = join
get-url = "http://localhost/intodb.php?opt=%k&sender=%p&text=%r"
max-messages = 0
# remove user from list
group = sms-service
keyword = remove
get-url = "http://localhost/intodb.php?opt=%k&sender=%p&text=%k"
max-messages = 0
# there should be default always
group = sms-service
keyword = default
get-url = "http://localhost/intodb.php?opt=none&sender=%p&text=%a"
max-messages = 0
>
> 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