Os: debian
Kannel 1.2.1
/dev/ttyS0 permissions set rwx for all users
modem seimens tc35 rev 4.0 firmware

I am very new to kannel and have had a few problems getting it going. I have
looked in the archives without success, so apologies if it is a normal
problem.
I have found some behavour which is odd and may be at the root of my
troubles. The bottom line is that depending on how I start kannel one or the
other modem drivers gives a problem, and the problems seem similar.

problem:

If I start kannel via command line ~  /usr/sbin/bearerbox
/etc/kannel/kannel.conf - then the at2 (siemens_tc35) driver opens the port
and successfully starts the smsc. Send sms is fine, however incoming sms are
not processed, but they get stored (this last bit may be a config problem
caused by me). The old at  (siemems-tc35) driver gets an error when prepping
the modem via at+cnmi commands and doesn't start the smsc.

now the very odd bit:  if I start kannel as a daemon, the old at driver
produces no "errors" and can send OK, but it will not receive at all (I
guess kannel is not seeing the modems new sms available indication arrive at
the buffer).
Attempting to use at2 driver instead  the port speed is never detected.
After each "at carriage return" sent out by kannel it sees nothing. Checking
physically by vampiring off the port the modem is sending back "OK" every
time, but kannel wont "see" it even with the response delay set to several
seconds. (you can see via the vampire that the modem's response is immediate
anyway)
Strangely kannel seems to echo "OK" back to the modem as though the content
of the incoming buffer was redirected to the outgoing.

I have set the port to be available to all via chmod ugo+rw

Any thoughts? work around? seen it before?








Reply via email to