Ahmad, As Christos, mentioned this seems to be a timing problem between the smsbox and your modem. Have a look in smsc_at.c and check the serial settings match those of your modem. Also, might be worth doing some testing in minicom, try to emulate the AT commands Kannel is sending and see what happens. If you haven't already, try sending all this to the the devel list. They might be able to help.
-Chris B Ahmad Munif wrote: > > i'm using redhat 7.1 and Siemens M35 as virtual smsc. > i'm using nokiaphone for modemtype (i can't run kannel using simens type). > > (after receive 1 message, kannel can't respone another message/there is no respone >until restarting kannel, then just 1 message receive) > > following are barerbox response: > 2001-09-26 08:04:22 [4] INFO: Starting to service <test> from <628128118963> to ><1234> > 2001-09-26 08:04:22 [4] DEBUG: formatted text answer: <No service spesified> > 2001-09-26 08:06:15 [0] INFO: Connection closed by the bearerbox > 2001-09-26 08:06:15 [0] INFO: Received (and handled?) 1 requests in 113 seconds >(0.01 per second) > 2001-09-26 08:06:15 [0] INFO: Kannel smsbox terminating. > 2001-09-26 08:06:15 [6] DEBUG: Thread 6 (gw/heartbeat.c:heartbeat_thread) terminates. > 2001-09-26 08:06:15 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to >terminate > 2001-09-26 08:06:15 [3] DEBUG: HTTP: No clients with requests, quitting. > 2001-09-26 08:06:15 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates. > > here are my configuration : > > group = core > admin-port = 13000 > admin-password = bar > smsbox-port = 13003 > log-file = "/tmp/kannel.log" > log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1" > unified-prefix = "00358,0" > access-log = "access.log" > > group = smsc > smsc = at > modemtype = nokiaphone > device = /dev/ttyS0 > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > global-sender = 08128118963 > sendsms-chars = "0123456789 +-" > log-file = "/tmp/smsbox.log" > log-level = 0 > access-log = "access.log" > > group = sms-service > keyword = nop > get-url = "http://localhost/response.php?sender=%p&text=%r" > > group = sms-service > keyword = default > text = "No service spesified" > > group = sendsms-user > username = tester > password = foobar > user-deny-ip = "*.*.*.*" > user-allow-ip = "127.0.0.1" > > > > > Can you supply a bit more information. The log output from the bearbox, what >version and platform > > your running, and sms center or modem. > > > > Then we should be able to help out.. > > > > -Chris B > > > > Ahmad Munif wrote: > > > > > > Hi, i'm really confused tha i can't receive message after receive > > > my first message. > > > after shutdown kannel and running kannel, i just can receive 1 message. > > > > > > what's wrong, and how to fix it ( to receive all incomming messages) ?