About using Kannel for sending sms

2002-10-23 Thread vik_nuckchady
Hi!

i am interested in an application (which i am thinking of writing) that 
would probe my mailbox (or any other event) and send me an SMS to inform 
me about it's occurence.

If i understand correctly, i could setup Kannel as an sms box on my 
Linux machine and connect it to my service center. So whenever my 
application reads a new mail, i could use kannel in that respect to send 
an sms to my phone. Could you please correct me on my understanding? If 
anyone has done such a thing do you have any advices.

i am currently living in Finland and was wondering if anyone has tried 
this overhere. Is there any legal constraints of using the network 
provider (in this case Sonera) to send free (because i am not really 
sending anything from my phone but only receiving) sms.

Thanks for any help

regards Vik




Re: About using Kannel for sending sms

2002-10-23 Thread Navjot Singh
greetings,

ya, you are thinking in right direction. This won't be tough job to crack
and shouldn't take more than 2 days to write an app.
Whatsoever way you go with your service provider, you will charged up by the
service provider to send SMSes. Please check rentals in your country.

navjot

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 4:37 PM
Subject: About using Kannel for sending sms


| Hi!
|
| i am interested in an application (which i am thinking of writing) that
| would probe my mailbox (or any other event) and send me an SMS to inform
| me about it's occurence.
|
| If i understand correctly, i could setup Kannel as an sms box on my
| Linux machine and connect it to my service center. So whenever my
| application reads a new mail, i could use kannel in that respect to send
| an sms to my phone. Could you please correct me on my understanding? If
| anyone has done such a thing do you have any advices.
|
| i am currently living in Finland and was wondering if anyone has tried
| this overhere. Is there any legal constraints of using the network
| provider (in this case Sonera) to send free (because i am not really
| sending anything from my phone but only receiving) sms.
|
| Thanks for any help
|
| regards Vik
|
|
|





Re: strange kannel wapbox problem

2002-10-23 Thread Yury Mikhienko
Hi all!

I have some problem with wap again :((
And I don't understand how to solve that problem and what is a cause of the following 
messages:

(wapbox.log)

2002-10-23 14:17:44 [1] INFO: Returning to code page 1 (default).
2002-10-23 14:17:56 [7] INFO: WSP: Fetched http://wap.nvgsm.ru (text/html, 
charset='ISO-8859-5')
2002-10-23 14:17:56 [7] WARNING: WSP: Entity at http://wap.nvgsm.ru too large (size 
72348 B, limit 2800 B)
2002-10-23 14:17:57 [2] WARNING: WSP PDU with unknown type -1
2002-10-23 14:17:58 [5] INFO: WTP_TID: tid_new flag on
2002-10-23 14:17:58 [5] INFO: WTP_TID: tid_new flag on
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x202.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x201.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x203.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x206.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x204.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x205.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x209.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Unknown content type 0x20a.
2002-10-23 15:14:17 [1] WARNING: Skipping faulty header.
2002-10-23 15:14:17 [1] WARNING: Shift to unknown code page 16.
2002-10-23 15:14:17 [1] WARNING: Will try to skip headers until next known code page.
2002-10-23 15:14:17 [1] INFO: Returning to code page 1 (default).
2002-10-23 15:14:17 [1] WARNING: Shift to unknown code page 16.
2002-10-23 15:14:17 [1] WARNING: Will try to skip headers until next known code page.
2002-10-23 15:14:17 [1] WARNING: Shift to unknown code page 16.
2002-10-23 15:14:17 [1] WARNING: Will try to skip headers until next known code page.


and only after kannel reboot wapbox works properly again...

Is it a known problem? Please advise.

I use stable version of kannel (v1.2) on linux platform.

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO Mobicom-Kavkaz




Any idea about testing WCTP?

2002-10-23 Thread Chaitanya Malur
Hi ,

I wanted to know if anyone has any idea if I can use Kannel to test the
WCTP protocol. (Wireless Communication Transfer Protocol). If so then
please let me know how I should proceed?

Otherwise, please let me know if anyone has used WCTP for sending and
receiving SMS. I would like to know how to send Binary SMS messages like
ringtones, vCards etc using this protocol.

Thanks,
Chaitanya.





Re: About using Kannel for sending sms

2002-10-23 Thread Rene Kluwen / Chimit Software Solutions
A usual way to support email notification is to put a script in either your
.forward or your .procmailrc account that sends the SMS message.

-- Rene...


This email message has been automatically scanned for viri using Sophos
antivirus.

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 1:07 PM
Subject: About using Kannel for sending sms


 Hi!

 i am interested in an application (which i am thinking of writing) that
 would probe my mailbox (or any other event) and send me an SMS to inform
 me about it's occurence.

 If i understand correctly, i could setup Kannel as an sms box on my
 Linux machine and connect it to my service center. So whenever my
 application reads a new mail, i could use kannel in that respect to send
 an sms to my phone. Could you please correct me on my understanding? If
 anyone has done such a thing do you have any advices.

 i am currently living in Finland and was wondering if anyone has tried
 this overhere. Is there any legal constraints of using the network
 provider (in this case Sonera) to send free (because i am not really
 sending anything from my phone but only receiving) sms.

 Thanks for any help

 regards Vik







Operator Logo and Kannel

2002-10-23 Thread Sergio da Silva
Hi,

I am trying to figure out how to send operator logos with kannel. So far
I had no success. Can somebody point me to some URL documenting UDH and
the structure of the URL-encoded text to be sent.

As Phone-SMSC I am using a Nokia 6210.

Furthermore how do I go about and send *.nol files with kannel? Is it
possible?

Thank you in advance for your help. Any URL pointing to documentation is
welcome!

--
SdS




RE: WapKannel/openssl!urgent!

2002-10-23 Thread Ivone Uribe
Hi Mark!

Thanks! I set the LD_FLAGS and the kannel configuration recognize it!

I got this :)

Running system checks ...
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  -L/usr/local/ssl/lib) works... yes
checking whether the C compiler (gcc  -L/usr/local/ssl/lib) is a 
cross-compiler... no
checking whether we are using GNU C... yes
..
..
checking for convert... /usr/X11R6/bin/convert
checking for perl... /usr/bin/perl
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for pthread_exit in -lc_r... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for getopt... yes
checking for socklen_t in sys/socket.h... yes
checking for getopt in stdio.h... no
checking for getopt in unistd.h... yes
..
.
Checking POSIX threads support ...
checking for working pthreads... no

.
..

Configuring OpenSSL support ...
checking whether to compile with SSL support... trying /usr/local/ssl/lib 
/usr/local/ssl/include
checking for openssl... /usr/local/ssl/bin/openssl
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking whether the OpenSSL library is multithread-enabled... yes
checking whether to compile with SSL support... yes




Configuring WTLS support ...
checking for WTLS library... openssl
checking for RSA_new in -lcrypto... yes
checking for openssl/objects.h... yes
checking for openssl/rc5.h... yes

But when I did the touch .depend, make depend I got this warnings :(

[root@WAP_GATEWAY gateway-1.2.0]# make depend
for dir in gw gwlib test utils wmlscript checks wap; do \
   gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 
-I/usr/include/libxml -I/usr/include -I/usr/local/ssl/include -MM $dir/*.c | 
sed s:^[^ ]:$dir/:; done  .depend
In file included from gw/wapbox.c:28:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
In file included from gwlib/pki.c:20:

and in the make I got this warnings:

gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 
-I/usr/include -I/usr/local/ssl/include -o gw/wapbox.o -c gw/wapbox.c In 
file included from gw/wapbox.c:28:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 
-I/usr/include -I/usr/local/ssl/include -o gw/wap-error.o -c gw/wap-error.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 
-I/usr/include -I/usr/local/ssl/include -o gwlib/parse.o -c gwlib/parse.c
..
...
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 
-I/usr/include -I/usr/local/ssl/include -o gwlib/pki.o -c gwlib/pki.c In 
file included from gwlib/pki.c:20:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 
-I/usr/include -I/usr/local/ssl/include -o gwlib/protected.o -c 
gwlib/protected.c

Although this, I installed the kanneland apparently it is installed ok. 
My question is, why do I get this warnings? It could affect the kannel 
performace?







From: Pate Mark-marpate1 [EMAIL PROTECTED]
To: 'Ivone Uribe' [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: WapKannel/openssl!urgent!
Date: Wed, 23 Oct 2002 07:47:10 +0100

Hi Ivone,

Firstly, I would try :

You could also try going back to the openssl source directory and type :
make test

This will perform a series of tests on the compiled openssl and return any
problems. If the rc5 test passes, it would appear that your kannel
compilation is picking up openssl from a different source.

If openssl is OK, then you can try (exactly as shown) :

rm config.cache
make clean
export LD_FLAGS=-L/usr/local/ssl/lib
./configure --prefix=/usr/local/kannel_test --with-wtls=openssl
--enable-start-stop-daemon --disable-docs

Assuming all is OK above
make

Assuming all is OK above
make install

This is all that I can offer, as my experience of compiling from source is
still quite basic.

Hope this helps,
Mark



-Original Message-
From: Ivone Uribe [mailto:ivoneu;hotmail.com]
Sent: 22 October 2002 18:22
To: Mark Pate
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: WapKannel/openssl!urgent!


Hi Mark!

Thanks for your advice...

I removed the openssl0.9.6rpm and I just download openssl source code 
0.9.6g

and compile this to usr/local/ssl  I did the config, the make and the
make install 

Re: WapKannel/openssl!urgent!

2002-10-23 Thread Rene Kluwen / Chimit Software Solutions
Something tells me the warning are not something to really worry about.
It won't affect performance in any case.

-- Rene...


This email message has been automatically scanned for viri using Sophos
antivirus.

- Original Message -
From: Ivone Uribe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 7:25 PM
Subject: RE: WapKannel/openssl!urgent!


 Hi Mark!

 Thanks! I set the LD_FLAGS and the kannel configuration recognize it!

 I got this :)

 Running system checks ...
 checking host system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler (gcc  -L/usr/local/ssl/lib) works... yes
 checking whether the C compiler (gcc  -L/usr/local/ssl/lib) is a
 cross-compiler... no
 checking whether we are using GNU C... yes
 ..
 ..
 checking for convert... /usr/X11R6/bin/convert
 checking for perl... /usr/bin/perl
 checking for log in -lm... yes
 checking for accept in -lsocket... no
 checking for inet_ntoa in -lnsl... yes
 checking for inet_ntop in -lresolv... yes
 checking for inet_ntop in -lbind... no
 checking for pthread_exit in -lpthread... yes
 checking for pthread_exit in -lc_r... no
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for getopt... yes
 checking for socklen_t in sys/socket.h... yes
 checking for getopt in stdio.h... no
 checking for getopt in unistd.h... yes
 ..
 .
 Checking POSIX threads support ...
 checking for working pthreads... no

 .
 ..

 Configuring OpenSSL support ...
 checking whether to compile with SSL support... trying /usr/local/ssl/lib
 /usr/local/ssl/include
 checking for openssl... /usr/local/ssl/bin/openssl
 checking for CRYPTO_lock in -lcrypto... yes
 checking for SSL_library_init in -lssl... yes
 checking for SSL_connect in -lssl... yes
 checking for openssl/x509.h... yes
 checking for openssl/rsa.h... yes
 checking for openssl/crypto.h... yes
 checking for openssl/pem.h... yes
 checking for openssl/ssl.h... yes
 checking for openssl/err.h... yes
 checking whether the OpenSSL library is multithread-enabled... yes
 checking whether to compile with SSL support... yes

 
 

 Configuring WTLS support ...
 checking for WTLS library... openssl
 checking for RSA_new in -lcrypto... yes
 checking for openssl/objects.h... yes
 checking for openssl/rc5.h... yes

 But when I did the touch .depend, make depend I got this warnings :(

 [root@WAP_GATEWAY gateway-1.2.0]# make depend
 for dir in gw gwlib test utils wmlscript checks wap; do \
 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1
 -I/usr/include/libxml -I/usr/include -I/usr/local/ssl/include -MM $dir/*.c
|
 sed s:^[^ ]:$dir/:; done  .depend
 In file included from gw/wapbox.c:28:
 gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
 In file included from gwlib/pki.c:20:

 and in the make I got this warnings:

 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
 -I/usr/include -I/usr/local/ssl/include -o gw/wapbox.o -c gw/wapbox.c In
 file included from gw/wapbox.c:28:
 gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
 -I/usr/include -I/usr/local/ssl/include -o gw/wap-error.o -c
gw/wap-error.c
 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
 -I/usr/include -I/usr/local/ssl/include -o gwlib/parse.o -c gwlib/parse.c
 ..
 ...
 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
 -I/usr/include -I/usr/local/ssl/include -o gwlib/pki.o -c gwlib/pki.c In
 file included from gwlib/pki.c:20:
 gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
 gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
 -I/usr/include -I/usr/local/ssl/include -o gwlib/protected.o -c
 gwlib/protected.c

 Although this, I installed the kanneland apparently it is installed
ok.
 My question is, why do I get this warnings? It could affect the kannel
 performace?







 From: Pate Mark-marpate1 [EMAIL PROTECTED]
 To: 'Ivone Uribe' [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: RE: WapKannel/openssl!urgent!
 Date: Wed, 23 Oct 2002 07:47:10 +0100
 
 Hi Ivone,
 
 Firstly, I would try :
 
 You could also try going back to the openssl source directory and type :
 make test
 
 This will perform a series of tests on the compiled openssl and return
any
 problems. If the rc5 test passes, it would appear that your kannel
 compilation is picking up openssl from a different source.
 
 If openssl is OK, then you can try (exactly as shown) :
 
 rm config.cache
 make clean
 export LD_FLAGS=-L/usr/local/ssl/lib
 ./configure --prefix=/usr/local/kannel_test --with-wtls=openssl
 --enable-start-stop-daemon --disable-docs
 
 Assuming all is OK above
 make
 
 Assuming all is OK 

Kannel/WTLS, please!

2002-10-23 Thread Ivone Uribe
Hi!

Thanks all for your feedbacks.

I have another question now.
I just installed the kannel gateway 1.2.0 with the OPTIONS 
-with-wtls=openssl and --with-ssl.

But the kannel still open the port 9001 and 9002:
#netstat -nau
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
udp0  0 0.0.0.0:32768   0.0.0.0:*
udp0  0 0.0.0.0:836 0.0.0.0:*
udp0  0 0.0.0.0:111 0.0.0.0:*
udp0  0 0.0.0.0:92000.0.0.0:*
udp0  0 0.0.0.0:92010.0.0.0:*

Please could anybody explain me what else I have to do to open the port 
9003?
I'm writing this in the kannel configuration... Do I need to write somethin 
else?

group = core
admin-port = 13000
admin-password = bar
wapbox-port = 13002
wdp-interface-name = * (is it ok?)
#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

group = wapbox
bearerbox-host = localhost
log-file = /tmp/wapbox.log
log-level = 0
syslog-level = none

Regards,
Ivone


_
MSN Fotos: la forma más fácil de compartir e imprimir fotos. 
http://photos.msn.es/support/worldwide.aspx




Using a Nokia 7110 as SMSC under Solaris

2002-10-23 Thread Manuel Villalta Villalta


Hi all,

Currently,  I have Kannel running under Solaris 8 and it works very 
well, the problem is with the sms center, I'm using a nokia 7110 as gsm 
modem, the configuration  I have:

group = smsc
smsc = at2
smsc-id = 7110
modemtype = auto
speed = 9600
pin = 
# In Solaris the device name changes
device = /dev/ttyb
port = 10001
connect-allow-ip = *.*.*.*

when I start the bearer box , logs  are:

2002-10-22 16:42:16 [0] DEBUG: AT2[7110]: start called
2002-10-22 16:42:16 [7] DEBUG: sms_router: list_len = 0
2002-10-22 16:42:16 [6] DEBUG: AT2[7110]: device opened
2002-10-22 16:42:16 [6] INFO: AT2[7110]: speed set to 9600
2002-10-22 16:42:16 [6] DEBUG: AT2[7110]: -- ^M
2002-10-22 16:42:18 [6] DEBUG: AT2[7110]: -- AT^M
2002-10-22 16:42:22 [6] DEBUG: AT2[7110]: -- ATF^M
2002-10-22 16:42:26 [6] DEBUG: Thread 6 
(gw/smsc_at2.c:at2_device_thread) terminates.

Someone has had the same problem? Which are the rights setting to 
configure the modem in Solaris?

Thanks.

Regards





RE: Storing sms to mysql

2002-10-23 Thread Oded Arbel

Kannel doesn't do that internally - you need to write an application wrapper that 
stores outgoing messages before sending them and incoming messages before handling them

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

+972-9-9581711 (116)
+972-67-340014

::..
William D-FENS Foster:  I'm the bad guy???  How did that happen?
-- from Falling Down



 -Original Message-
 From: Afif [mailto:afif;sur.ogs-id.com]
 Sent: Wednesday, October 23, 2002 8:14 AM
 To: Kannel
 Subject: Storing sms to mysql
 
 
 Dear All,
 
 after a couple days for compile and install finally I could test send
 sms from my smsbox through http thanks for all yr support to guide me
 even I am not fast learner,
 now I have question about sending  recieve sms.
 how to store send and receive sms into mysql table, I compile 
 kannel whit
 mysql db
 its my config the kannel.conf for dlr-mysql
 
 # DLR Mysql
 group = mysql-connection
 id = dlr-db
 host = tiger
 mysql-username = afif
 mysql-password = afifku0
 database = kannel
 
 
 group = dlr-mysql
 mysql-id = dlr-db
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 
 so I could monitor traffic of my kannel system
 any one have suggested how to I begin to do with kannel plus mysql ?
 or some one have some piece of code/ application for test?
 need yr guidance
   
 
 -- 
 Best regards,
 Afif
 mailto:afif;sur.ogs-id.com
 
 
 
 




RE: Using a Nokia 7110 as SMSC under Solaris

2002-10-23 Thread Oded Arbel

You've set a speed setting the smsc configuration, and kannel failed to use that 
speed, so it stopped trying. the way Kannel handles speed is that if the speed is set 
in the modem configuration and then it fails, it will try any other possible speed. 
but if the speed is set in the smsc configuration, then Kannel assumes you know what 
you are talking about and will not try any other speed.

The problem is, of course, that the Nokia 7110 uses a modem speed of 19200 and not 
9600.

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

+972-9-9581711 (116)
+972-67-340014

::..
You can't climb the ladder of success with your hands in your pockets.
 -- Michael McDaniel



 -Original Message-
 From: Manuel Villalta Villalta [mailto:mvv;tid.es]
 Sent: Wednesday, October 23, 2002 9:01 AM
 To: users
 Subject: Using a Nokia 7110 as SMSC under Solaris
 
 
 
 
 Hi all,
 
 Currently,  I have Kannel running under Solaris 8 and it works very 
 well, the problem is with the sms center, I'm using a nokia 
 7110 as gsm 
 modem, the configuration  I have:
 
 group = smsc
 smsc = at2
 smsc-id = 7110
 modemtype = auto
 speed = 9600
 pin = 
 # In Solaris the device name changes
 device = /dev/ttyb
 port = 10001
 connect-allow-ip = *.*.*.*
 
 when I start the bearer box , logs  are:
 
 2002-10-22 16:42:16 [0] DEBUG: AT2[7110]: start called
 2002-10-22 16:42:16 [7] DEBUG: sms_router: list_len = 0
 2002-10-22 16:42:16 [6] DEBUG: AT2[7110]: device opened
 2002-10-22 16:42:16 [6] INFO: AT2[7110]: speed set to 9600
 2002-10-22 16:42:16 [6] DEBUG: AT2[7110]: -- ^M
 2002-10-22 16:42:18 [6] DEBUG: AT2[7110]: -- AT^M
 2002-10-22 16:42:22 [6] DEBUG: AT2[7110]: -- ATF^M
 2002-10-22 16:42:26 [6] DEBUG: Thread 6 
 (gw/smsc_at2.c:at2_device_thread) terminates.
 
 Someone has had the same problem? Which are the rights setting to 
 configure the modem in Solaris?
 
 Thanks.
 
 Regards
 
 
 
 




RE: MMS Notification

2002-10-23 Thread Stephane Pointu
Hi Caesare,

No you do not need a WAP box to do multimedia messaging.

you need:
1. A working SMS Box
2. A working HTTP Server (for example Apache)

I guess you use my PHP script to send MMS Notifications?
Can you receive the MMS Notifications on your mobile?

If yes, then what you need more is set Apache to put the correct
content-type when you fetch your MMS file.
A simple way to do this is: instead of calling directly your MMS file in the
MMS Notification you send, call another php script. In this script you will
add the correct headers, and copy the entire MMS file.

Here is the script:
?php
header(Content-type: application/vnd.wap.mms-message);
$filename = mms.txt;
$fd = fopen ($filename, r);
$contents = fread ($fd, filesize ($filename));
fclose ($fd);
echo $contents;
?

I assume you call your MMS file mms.txt. Name the script mms.php and
call the url to this file in the notification you send.

Hope that helps,

Stephane.

 -Original Message-
 From: Caesare Morata [mailto:Caesare;eyedream.net]
 Sent: 23 October 2002 09:28
 To: Stephane Pointu
 Subject: RE: MMS Notification
 
 
 Hello Stephane,
 
 I still cant get my MMS working.
 
 DO I need to setup WAP Box on my kannel?
 I can create the mms, using GoLive 6.0
 and i placed it to one folder in one url.
 How can i fetch that MMS?
 you r help would be much appreciated.
 Thanks,
 Caesare
 
 




Re[2]: Storing sms to mysql

2002-10-23 Thread Afif
Hello Oded,

Wednesday, October 23, 2002, 2:42:01 PM, you wrote:


OA Kannel doesn't do that internally - you need to write an application wrapper that 
stores outgoing messages before sending them and incoming messages before handling them
Thanks  Oded,
I understand, what about the keys for grab the sms for incoming and
sending? do kannel ahve unique initial key for eliminate this case
I just can see the access.log like this

2002-10-23 15:09:18 send-SMS request added - sender:afif:13013 192.168.0.150 
target:628121789615 request: 'afif kamu cakep
deh ini nyoba serverku bisa di terima nggak? habis di terima pls reply balik ya...?'

its come from access.log
2002-10-23 15:09:18 send-SMS request added - sender:afif:13013
can I use this for unique keys to read? so I can insert into mysql
table?
what about the incoming?
need yr guidance to solve this case pls.
thanks a lot for yr support

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






RE: Re[2]: Storing sms to mysql

2002-10-23 Thread Oded Arbel

 -Original Message-
 From: Afif [mailto:afif;sur.ogs-id.com]

 I understand, what about the keys for grab the sms for incoming and
 sending? do kannel ahve unique initial key for eliminate this case
snip
 can I use this for unique keys to read? so I can insert into mysql
 table?

no, you need to store your outgoing messages in a database before you send them to 
Kannel, and anyway - you can't access Kannel's internal message indexing from outside. 
you will have to generate your own keys - MySQL's auto_increment column option works 
for me.

 what about the incoming?

same - you can't have access to Kannel's message indexing.

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

+972-9-9581711 (116)
+972-67-340014

::..
 'All you need is love'? Yeah? Try payin' the fuckin' rent with it. 
--Keith Richards 




Re[4]: Storing sms to mysql

2002-10-23 Thread Afif
Hello Oded,

Wednesday, October 23, 2002, 3:24:19 PM, you wrote:

OA no, you need to store your outgoing messages in a database before you send them to 
Kannel, and anyway - you can't access Kannel's internal message indexing from outside. 
you will have to generate
OA your own keys - MySQL's auto_increment column option works for me.
Ok,, let me try to think.. what about if sms can't send? but the orginal
sms has been store into mysql table? do we have the way to prevent
this case? so its will not happen?

 what about the incoming?
OA same - you can't have access to Kannel's message indexing.
what its mean? do you have another way? so I could monitor incoming
sms, what about system of the cellular provider while they make
quiz/game so every sender send to certain number to join the quiz?
where they stored the sms?
highly appreciate for yr guidance. thanks a lot

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






RE: MMS Notification

2002-10-23 Thread Stephane Pointu
Anil,

You're right: a wap gateway is needed.

Caesare, either you set up a wap box or you can use the one provided by your
operator.

Regards,
Stephane.

 -Original Message-
 From: Anil [mailto:anil;tanlasolutions.com]
 Sent: 23 October 2002 23:07
 To: Stephane Pointu
 Subject: Re: MMS Notification
 
 
 Hi Stephane,
 
 Could you pls explain me,
 With out Wap box, how the mobile would fetch the actual MMS Content
 from the HTTP server/MMSC ?
 
 Thanx and Regards,
 Anil.
 
 
 - Original Message -
 From: Stephane Pointu [EMAIL PROTECTED]
 To: 'Caesare Morata' [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, October 23, 2002 12:46 AM
 Subject: RE: MMS Notification
 
 
  Hi Caesare,
 
  No you do not need a WAP box to do multimedia messaging.
 
  you need:
  1. A working SMS Box
  2. A working HTTP Server (for example Apache)
 
  I guess you use my PHP script to send MMS Notifications?
  Can you receive the MMS Notifications on your mobile?
 
  If yes, then what you need more is set Apache to put the correct
  content-type when you fetch your MMS file.
  A simple way to do this is: instead of calling directly 
 your MMS file in
 the
  MMS Notification you send, call another php script. In this 
 script you
 will
  add the correct headers, and copy the entire MMS file.
 
  Here is the script:
  ?php
  header(Content-type: application/vnd.wap.mms-message);
  $filename = mms.txt;
  $fd = fopen ($filename, r);
  $contents = fread ($fd, filesize ($filename));
  fclose ($fd);
  echo $contents;
  ?
 
  I assume you call your MMS file mms.txt. Name the script 
 mms.php and
  call the url to this file in the notification you send.
 
  Hope that helps,
 
  Stephane.
 
   -Original Message-
   From: Caesare Morata [mailto:Caesare;eyedream.net]
   Sent: 23 October 2002 09:28
   To: Stephane Pointu
   Subject: RE: MMS Notification
  
  
   Hello Stephane,
  
   I still cant get my MMS working.
  
   DO I need to setup WAP Box on my kannel?
   I can create the mms, using GoLive 6.0
   and i placed it to one folder in one url.
   How can i fetch that MMS?
   you r help would be much appreciated.
   Thanks,
   Caesare
  
  
 




flash blinking sms

2002-10-23 Thread Lde
Hello,

Is it possible to send a flash message - this one, which is blinking on the
screen in several nokia`s ?

I have seen something like this and i am thinking, how can i send it via
sendsms kannel ?

Thanks,
lukas





RE: flash blinking sms

2002-10-23 Thread Oded Arbel
yes - set the MClass according to the GSM 03.40 specs.

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

+972-9-9581711 (116)
+972-67-340014

::..
The worst thing you can say to a true revolutionary is that his revolution is 
unnecessary, that the problems can be corrected without radical change. Telling people 
that paradise can be attained without revolution is treason of the vilest kind. 
-- Henry Spencer




 -Original Message-
 From: Lde [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 23, 2002 11:13 AM
 To: Kannel lists (E-mail)
 Subject: flash blinking sms
 
 
 Hello,
 
 Is it possible to send a flash message - this one, which is 
 blinking on the
 screen in several nokia`s ?
 
 I have seen something like this and i am thinking, how can i 
 send it via
 sendsms kannel ?
 
 Thanks,
 lukas
 
 
 




Re: flash blinking sms

2002-10-23 Thread David Chkhartishvili
Lde wrote:


Hello,

Is it possible to send a flash message - this one, which is blinking on the
screen in several nokia`s ?

I have seen something like this and i am thinking, how can i send it via
sendsms kannel ?

Thanks,
lukas



 

Yes, if your SMSC SMPP or other protocols implementations support 
submit_sm's ems_class modes.

--
David Chkhartishvili
Tel: 995 99 182418





FW: Tariff/3 Kannel (running several SMSC connections using multiple instances of kannel on one box)

2002-10-23 Thread Wilf \(Neil Wilkinson\)
thought this may be of interest to the list:

-Original Message-
From: Wilf (Neil Wilkinson) [mailto:wilf;bigpond.net.au]
Sent: Thursday, 24 October 2002 12:51 AM
To: Caesare Morata
Subject: RE: Tariff/3 Kannel


 -Original Message-
 From: Caesare Morata [mailto:Caesare;eyedream.net]
 Sent: Wednesday, 23 October 2002 5:00 PM
 To: [EMAIL PROTECTED]
 Subject: Tariff/3 Kannel


 Hello Wilf,

 You mentioned in your mailing list reply that you had 3 kannel running in
 one box?

yup.

 Could you give me on some insights on how you were able to set it up?

no problem:

essentially we created 3 kannel.conf files and made small startup scripts
for them all.  3 bearer boxes and 3 smsboxes.

each kannel.conf had different settings:

admin-port=13000/1/2
sendsms-port=13010/1/2
smsbox-port=13020/1/2

we also had 3 connections from the provider (vodafone) using the SEMA/OIS
protocol over X.25 - the cisco router therefore maintained 3 persistant
connections with the SMSC (over the X.25 line).

 and also about the tariff class. how did you implement that?

the tariffs were quite simple - each connection was a different tarriff
(this is not something that the SMSC provided for in its protocol, but each
connection could be configured differently by Voda)

FYI, we had the following tarriffs:

(i) free MO, free MT
(ii) 10p MT, usual_tarriff MO
(iii) 1UKP MT, usual_tarriff MO

however, at the time (over a year ago now), we could only send to and
receive from vodafone's customers (we could send to any network on the free
tarriff though they couldnt reply).

 Are you using CIMD2 connections?

see above - SEMA/OIS.

 you r help would be much appreciated.

no problem,


wilf





Re: Operator Logo and Kannel

2002-10-23 Thread Yury Mikhienko
On Wed, 23 Oct 2002 18:14:40 +0200
Sergio da Silva [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to figure out how to send operator logos with kannel. So far
 I had no success. Can somebody point me to some URL documenting UDH and
 the structure of the URL-encoded text to be sent.
 
 As Phone-SMSC I am using a Nokia 6210.
 
 Furthermore how do I go about and send *.nol files with kannel? Is it
 possible?
 
 Thank you in advance for your help. Any URL pointing to documentation is
 welcome!
 
 --
 SdS

Hi Sergio!

I'm using next structure of SMS for sending logo from SMPP client:

UDH is: %06%05%04%15%82%00%00
SMS text with logo is (for example ICQ logo :) ): 
%00%48%0e%01%00%07%b8%00%00%00%00%00%00%00%68%e4%00%00%00%00%00%00%00%98%c4%00%00%30%00%00%00%00%88%84%0f%80%36%00%00%00%00%c5%88%18%c0%30%00%00%00%01%27%f0%18%df%36%f8%f0%00%01%18%98%18%d9%b6%cd%98%00%00%88%84%18%d9%b6%cd%f8%00%00%fc%c4%18%d9%b6%cd%80%00%01%8f%fc%18%d9%b6%cd%80%00%01%19%30%0f%99%b6%cc%f8%00%01%31%08%00%00%00%00%00%00%00%d3%88%00%00%00%00%00%00%00%1e%f8%00%00%00%00%00%00
this is the ota formatting logo.
My MCC is 250 and MNC is 02 and I get the next operator code string: %52%f0%20

So, the full part of sending logo is:

http://wapgate:13013/cgi-bin/sendsms?username=testpassword=fooudh=%06%05%04%15%82%00%00to=phone_numberfrom=phone_numbertext=text=%52%f0%20%00%48%0e%01%00%07%b8%00%00%00%00%00%00%00%68%e4%00%00%00%00%00%00%00%98%c4%00%00%30%00%00%00%00%88%84%0f%80%36%00%00%00%00%c5%88%18%c0%30%00%00%00%01%27%f0%18%df%36%f8%f0%00%01%18%98%18%d9%b6%cd%98%00%00%88%84%18%d9%b6%cd%f8%00%00%fc%c4%18%d9%b6%cd%80%00%01%8f%fc%18%d9%b6%cd%80%00%01%19%30%0f%99%b6%cc%f8%00%01%31%08%00%00%00%00%00%00%00%d3%88%00%00%00%00%00%00%00%1e%f8%00%00%00%00%00%00

And this work good for me :)

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO Mobicom-Kavkaz




Re: FW: Tariff/3 Kannel (running several SMSC connections using multiple instances of kannel on one box)

2002-10-23 Thread Andy Elacion, Jr.
I have a follow-up questions regarding this.

1.  Are all your 3 kannel connection uses only 1 user?
2.  How do you handle your reply messages to different provider?

Thanks,
Andy


 thought this may be of interest to the list:

 -Original Message-
 From: Wilf (Neil Wilkinson) [mailto:wilf;bigpond.net.au]
 Sent: Thursday, 24 October 2002 12:51 AM
 To: Caesare Morata
 Subject: RE: Tariff/3 Kannel

  -Original Message-
  From: Caesare Morata [mailto:Caesare;eyedream.net]
  Sent: Wednesday, 23 October 2002 5:00 PM
  To: [EMAIL PROTECTED]
  Subject: Tariff/3 Kannel
 
 
  Hello Wilf,
 
  You mentioned in your mailing list reply that you had 3 kannel running in
  one box?

 yup.

  Could you give me on some insights on how you were able to set it up?

 no problem:

 essentially we created 3 kannel.conf files and made small startup scripts
 for them all.  3 bearer boxes and 3 smsboxes.

 each kannel.conf had different settings:

 admin-port=13000/1/2
 sendsms-port=13010/1/2
 smsbox-port=13020/1/2

 we also had 3 connections from the provider (vodafone) using the SEMA/OIS
 protocol over X.25 - the cisco router therefore maintained 3 persistant
 connections with the SMSC (over the X.25 line).

  and also about the tariff class. how did you implement that?

 the tariffs were quite simple - each connection was a different tarriff
 (this is not something that the SMSC provided for in its protocol, but each
 connection could be configured differently by Voda)

 FYI, we had the following tarriffs:

 (i) free MO, free MT
 (ii) 10p MT, usual_tarriff MO
 (iii) 1UKP MT, usual_tarriff MO

 however, at the time (over a year ago now), we could only send to and
 receive from vodafone's customers (we could send to any network on the free
 tarriff though they couldnt reply).

  Are you using CIMD2 connections?

 see above - SEMA/OIS.

  you r help would be much appreciated.

 no problem,

 wilf