Kannel 1.1.6 and CVS init problems

2002-06-30 Thread GeeK.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,
After trying kannel at 6 different machines, I've found out that kannel is 
quite messy with initializing a serial port.
[modem TC-35 Siemens].
Under Solaris this is quite a tricky to achieve, and under linux it is little 
bit easier (minicom trick).
Another strange thing is that 1.1.6 is not working with at2 smsc, but with 
old at it is working
If I use old at under Solaris, then it works, but receiving messages is not 
possible.
I think this is problem with init strings...
For TC-35 it needs to be first:
AT+CSMS=1 , and then this one will work...
AT+CNMI=3,2,0,0,1
otherwise I get error with AT+CNMI command, since without CSMS=1 , TC-35 does 
not accept anthying else than AT+CNMI=1,2,0,0,1 (not 100%, this is from head).
Anyway, after making kannel work after couple of inits and shutdowns, 
problem with initializing is occuring again after rebooting machine...
Does anybody know solution for this?
I've tried even setting up a port with stty, but this is still not 100% 
reliable.

Second issue is unified-prefix...
I've tested kannel 1.1.6 with 4 different cards (german) and when sending 
messages i need to enter diffferent numbers to be able to send SMS.
For some it is ok to write 491742x, but for some of them I need to write 
00491742
my unified-prefix look's like: unified-prefix = +491,00491;+,00
so...what I'm missing here? :-)

Thanks in advance



- -- 
==
Sinisa Dukaric known as: G e e K.
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj0e4k8ACgkQncWfe460j7s3qwCdFE0diPJiNEtmSh4XYKFQ7Ae9
+lkAn29BTI2UqB2OBjRSA7N8PLSzepPk
=EN2a
-END PGP SIGNATURE-




Re: Kannel 1.1.6 and CVS init problems

2002-06-30 Thread Oded Arbel

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 30 June 2002 13:49, GeeK. wrote:
 Hi list,
 After trying kannel at 6 different machines, I've found out that kannel is
 quite messy with initializing a serial port.
 [modem TC-35 Siemens].
 Under Solaris this is quite a tricky to achieve, and under linux it is
 little bit easier (minicom trick).

This is a known problem with the AT2 driver, and a work-around is documented 
in the STATUS file of the latest CVS, as well as the 1.2 release when it 
comes.

 Another strange thing is that 1.1.6 is not working with at2 smsc, but
 with old at it is working

I had that impression two, that the AT code opens the drivers somewhat 
differently and so works around several of the AT2 problems. all the same, 
the AT2 code is much more mature and stable in other aspects and contains 
many improvments.

 If I use old at under Solaris, then it works, but receiving messages is
 not possible.
 I think this is problem with init strings...
 For TC-35 it needs to be first:
 AT+CSMS=1 , and then this one will work...
 AT+CNMI=3,2,0,0,1
 otherwise I get error with AT+CNMI command, since without CSMS=1 , TC-35
 does not accept anthying else than AT+CNMI=1,2,0,0,1 (not 100%, this is
 from head). Anyway, after making kannel work after couple of inits and
 shutdowns, problem with initializing is occuring again after rebooting
 machine... Does anybody know solution for this?
 I've tried even setting up a port with stty, but this is still not 100%
 reliable.

It is 100% reliable for me. if its not for you, the I suggest you find out why 
and fix it (or tell us and we'll try to fix it :-).

Changing the modem init lines is not possible in AT w/o recompiling the code, 
but it is possible in AT2 by changing modems.conf


 Second issue is unified-prefix...
 I've tested kannel 1.1.6 with 4 different cards (german) and when sending
 messages i need to enter diffferent numbers to be able to send SMS.
 For some it is ok to write 491742x, but for some of them I need to
 write 00491742
 my unified-prefix look's like: unified-prefix = +491,00491;+,00
 so...what I'm missing here? :-)

the translation is done from right to left, so writing 00941* will be 
converted to +491* while writing 491* will not get translate to anything.

- -- 
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711
+972-67-340014

::..
Griffin :I was just thinking what an interesting concept it is to eliminate 
the
writer from the artistic process. If we could just get rid of these actors
and directors, maybe we've got something here.
-- from The Player
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9HxhcR2fhD3+UKoQRAjIYAJ4ykGyqI4Tyq0gybPWkKc0v4Z4TqwCgigTr
8UWGBygFSow4+8UznbAnIpU=
=hk+f
-END PGP SIGNATURE-