RE: Kannel errors

2003-01-08 Thread Pate Mark-marpate1
No that I use smsbox, but assuming that this is a TCP/IP reset message,
could you not take a tcpdump of the ports between smsbox and bearerbox and
perhaps also to the SMSC (is this a tcp connection?). This may help
determine what is going on.

Cheers,
Mark

-Original Message-
From: Scott Houseman [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2003 13:12
To: David Tully
Cc: [EMAIL PROTECTED]
Subject: Re: Kannel errors


Hi Dave.

I'm afraid your guess is as good as mine:-(

I also did not get these errors during testing etc, they seemed
to pop up after kannel was put under some stress, and now it persists.

Who knows...

Cheers

Scott

On 2003/01/08 03:07, David Tully wrote:
 Hi Scott.
 
 Thanks for the reply.
 I've had kannel running connected to the SMSC since early December, but
have
 only put it into production yesterday. There were no 'Connection reset'
 messages in between when I stopped testing and when I came back from
 vacation, so I'm thinking that the messages might have something to do
with
 my application not disconnecting from the smsbox, or the smsbox not
 disconnecting from the bearerbox correctly now and again.. Don't know
 really - just a guess..
 
 Dave.
 
 - Original Message -
 From: Scott Houseman [EMAIL PROTECTED]
 To: David Tully [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, January 08, 2003 6:01 AM
 Subject: Re: Kannel errors
 
 
 
Hi there.

This is not much help, but I thought to let you know
that I also receive the exact same errors in my log file.

I've done extensive searching on the web as well as emailed this
list asking for comment/help, all without resolving this issue.

If you figure it out, please let me know.

Thanks

Scott

On 2003/01/07 09:37, David Tully wrote:

Hi there.
I'm running Kannel 1.2.1 on RedHat 7.2, connecting to an SMSC (well
 
 two -
 
one real and one fake). I'm receiving these error messages randomly in
 
 the
 
kannel log file:

2003-01-07 19:14:33 [2] ERROR: Error reading from fd 36:
2003-01-07 19:14:33 [2] ERROR: System error 104: Connection reset by
 
 peer
 
Any ideas?

Thanks.
David Tully





--
Scott Houseman
Senior Software Developer
Junk Mail Publishing (Pty) Ltd
T + 27 12 342 3840 ext 2806 F +27 12 342 3876
E [EMAIL PROTECTED] | www.junkmail.co.za
A 1312 Pretorius Street, Hatfield, Pretoria
P O Box 6574, Pretoria, 0001, South Africa
+27 82 491 8021



 
 
 
 

-- 
Scott Houseman
Senior Software Developer
Junk Mail Publishing (Pty) Ltd
T + 27 12 342 3840 ext 2806 F +27 12 342 3876
E [EMAIL PROTECTED] | www.junkmail.co.za
A 1312 Pretorius Street, Hatfield, Pretoria
P O Box 6574, Pretoria, 0001, South Africa
+27 82 491 8021





RE: URGENT : Impossible to install kannel

2002-12-03 Thread Pate Mark-marpate1



Hi,

I've never seen 
these messages before, but I guess that they are to do with the Kannel 
documetation. Try appending --disable-docs to the ./configure 
line.

Hope this 
helps,
Mark


  -Original Message-From: Nil Mekki 
  [mailto:[EMAIL PROTECTED]]Sent: 30 November 2002 10:09To: 
  [EMAIL PROTECTED]Subject: URGENT : Impossible to install 
  kannel
  
  Hi everybody,
  
  I cant install kannel on mandrake 9.0
  
  If I try the rpm package, it 
  doesnt install because it doesnt find libssl.so 
  and libcrypto.so 
  I dont understand that 
  because openssl in installed with all its 
  packages.
  
  If I try to install the last 
  cvs source,
  After installing everything 
  (sgml-common, psgml, 
  libxml1  2 + devel 1  2, 
  )
  And configuring texmf.cnf.as explained in the readme file,
  I 
  run
  ./configure 
  enable-star-stop-daemon
  touch .depend
  make depend 
  make
  
  and the at some points the 
  compilation stops 
  
  This is my alligata.log file:
  
  This is 
  TeX, Version 3.14159 (Web2C 7.3.1) 
  (format=jadetex 2002.8.30) 30 NOV 2002 01:34
  **alligata.tex
  (alligata.tex
  JadeTeX 2001/07/19: 
  3.11
  LaTeX Font Info: Try loading font 
  information for T1+ptm on input line 1.
  (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd
  File: t1ptm.fd 2001/06/04 font definitions for T1/ptm.
  )
  (/usr/share/texmf/tex/jadetex/jadetex.cfg)
  Elements will be 
  labelled
  
  ! LaTeX Error: Missing \begin{document}.
  
  See the LaTeX manual or LaTeX Companion 
  for explanation.
  Type H return for immediate 
  help.
  ... 
  
   
  
  l.6 {1}}S
   
  erver User Manual 
  cvs-\/\endNode{}\Node%
  You're in trouble here. Try typing return to 
  proceed.
  If that doesn't work, type X 
  return to 
  quit.
  
  LaTeX Font Info: Try loading font 
  information for TS1+ptm on input line 107.
  
  (/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd
  File: ts1ptm.fd 2001/06/04 
  font definitions for TS1/ptm.
  )
  LaTeX Font Info: Try loading font 
  information for U+msa on input line 
  1940.
  
  (/usr/share/texmf/tex/latex/amsfonts/umsa.fd
  File: umsa.fd 2002/01/19 v2.2g AMS font 
  definitions
  )
  LaTeX Font Info: Try loading font 
  information for U+msb on input line 
  1940.
  
  (/usr/share/texmf/tex/latex/amsfonts/umsb.fd
  File: umsb.fd 2002/01/19 v2.2g AMS font 
  definitions
  )
  LaTeX Font Info: Try loading font 
  information for U+wasy on input line 
  1940.
  
  
  (/usr/share/texmf/tex/latex/wasysym/uwasy.fd
  File: uwasy.fd 1999/05/13 v1.0i Wasy-2 symbol font 
  definitions
  )
  LaTeX Font Info: Try loading font 
  information for U+stmry on input line 
  1940
  .
  
  (/usr/share/texmf/tex/latex/misc/ustmry.fd)
  Overfull \hbox (12.12004pt too wide) in paragraph at lines 
  6--8051
  []\T1/ptm/m/n/10 Server User 
  Man-ual cvs-e-mail: 
  [EMAIL PROTECTED] Web site: 
  www.3glab.comCopyright(c) 
  20013G LAB Lim-ited. ALL 
  RIGHTS RE-SERVED.The
  []
  
  
  Overfull \hbox (0.6104pt too wide) in paragraph at lines 
  6--8051
  \T1/ptm/m/n/10 bin/sendsms?username=colin pass-word=AVOcadofrom=099966to
  =089899text= All+sales+staff+return+to+office+immediately 
The
  []
  
  
  Overfull \hbox (1.22105pt too wide) in paragraph at lines 
  6--8051
  \T1/ptm/m/n/10 phone 
  number:$\OML/cmm/m/it/10 $\T1/ptm/m/n/10 br$\OML/cmm/m/it
  /10 $ 
  $$\T1/ptm/m/n/10 input type="text" size="30" 
  name="to"$\OML/cmm/m/it/10
  $ $$\T1/ptm/m/n/10 
  /p$\OML/cmm/m/it/10 $ $$\T1/ptm/m/n/10 p$\OML/cmm/m/it/
  10 $ \T1/ptm/m/n/10 
  Message:$\OML/cmm/m/it/10 $\T1/ptm/m/n/10 br$\OML/cmm/m/i
  t/10 $ $$\T1/ptm/m/n/10 textarea cols="25" rows="5" name="text"$\OML/cmm/m/it
  /10 $ 
  $$\T1/ptm/m/n/10 /textarea$\OML/cmm/m/it/10 
  $
  []
  
  [1.0.11] [2.0.11] [3.0.11] 
  [4.0.11] [5.0.11] [6.0.11] [7.0.11] [8.0.11]
  [9.0.11] [10.0.11] [11.0.11] 
  [12.0.11]
  ! I can't find file `alligata.aux'.
  \enddocument ...makeatletter 
  \input \jobname .aux 
   
  \fi \@dofilelist 
  \ifdim \f...
  l.8051 
  ...e{}\endNode{}\endNode{}\endNode{}\endFOT
   
  {}
  Please type another input 
  file name
  ! Emergency stop.
  \enddocument ...makeatletter 
  \input \jobname .aux 
   
  \fi \@dofilelist 
  \ifdim \f...
  l.8051 
  ...e{}\endNode{}\endNode{}\endNode{}\endFOT
   
  {}
  *** (job aborted, file error 
  in nonstop mode)
  
  
  Here is how much of 
  TeX's memory you used:
  110 strings out of 
  41056
  1743 string characters out of 
  345608
  533436 words of memory out of 
  151
  12792 multiletter control sequences out of 
  1+15000
  10108 words of font info for 34 fonts, 
  out of 40 for 1000
  26 hyphenation exceptions out of 
  1000
  19i,11n,39p,1206b,269s stack positions out of 
  1500i,500n,1500p,20b,5000s
  Output written on 
  alligata.dvi (12 pages, 168508 
  bytes).
  
  PLEASE HELP ME !
  


RE: Kannel/WTLS, pleas!kwtls_patch

2002-10-25 Thread Pate Mark-marpate1
Hi Ivone,

Hmm, seems like it wasn't too difficult after all...just put :

group = wtls 

into the config file and start bearerbox and wapbox as normal - perhaps you
could test with your mobiles as I am not sure if mine support 9203 (I'll
take a look though).

Cheers,
Mark


-Original Message-
From: Pate Mark-marpate1 [mailto:Mark.Pate;motorola.com]
Sent: 25 October 2002 09:02
To: 'Ivone Uribe'
Cc: [EMAIL PROTECTED]
Subject: RE: Kannel/WTLS, pleas!kwtls_patch


Hi Ivone,

I've just taken a look through the source code (gw/bb_udp.c) and it seems
that you need to create a wtls group in the kannel configuration file. I
am not yet sure what configuration you need to put in this group, but
perhaps you can experiment too - we may just crack it in the end!

Thanks,
Mark

-Original Message-
From: Ivone Uribe [mailto:ivoneu;hotmail.com]
Sent: 24 October 2002 17:36
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Kannel/WTLS, pleas!kwtls_patch


hi!

Thanks for your reply, does anyboy know if the kwtls_patch would help me 
with the kannel 1.2, because I have read that this patch is for the old 
kannel versions.

Please, could anybody explain me how I can install it? I could't found 
enough information about it... where does I have to install it, how I run 
it?

I will be grateful with any contribution,
Best Regards,
Ivone

From: Eko Yanuar [EMAIL PROTECTED]
To: Ivone Uribe [EMAIL PROTECTED]
Subject: Re: Kannel/WTLS, please!
Date: Wed, 23 Oct 2002 18:22:36 +0700

As long as I know, You should also run the kwtls patch side by side with 
the
bearerbox.

So Kannel it self do not yet create wtls gateway I think.




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





RE: problems making with wtls

2002-10-16 Thread Pate Mark-marpate1

Hi Paul,

Thanks for the feedback. I previously downloaded the openssl source and
re-compliled. This seems to have rc5 enabled as I can see the rc5.h file and
the rc5 functions are present in libopenssl.a.

Cheers,
Mark


-Original Message-
From: Paul Keogh [mailto:[EMAIL PROTECTED]]
Sent: 16 October 2002 10:53
To: [EMAIL PROTECTED]
Subject: RE: problems making with wtls

One possibility is that because RC5 is not a 'free' algorithm (RSA hold
some IP rights in the US and maybe elsewhere), your OpenSSL build did not
have RC5 support enabled by default. You should at least check that OpenSSL
is built with RC5 support at this stage. And as you can see from above, WTLS
needs RC5...






RE: Configuration - IDEN PD

2002-10-15 Thread Pate Mark-marpate1

Hi Garl,

Unfortunately, I have not tested Kannel with IDEN. What is the IDEN packet
service? Is it similar to GPRS - if so, this works.

Ivone has posted a problem with a IDEN configuration issue also. Her device
seems to be using port 9203 to connect with. Try changing the WAP port
number of the device to 9201 first (I have only used 9201, so know that this
works with GPRS).

Also, can you do a tcpdump to see which port to device is trying to connect
with.

Thanks,
Mark

-Original Message-
From: Garl Mansilla [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 19:06
To: [EMAIL PROTECTED]
Subject: Configuration - IDEN PD


hello,
I'm trying to run kannel with iDEN Packet Data.
Kannel is already running in linux 7.2, but i'm not getting response when i 
require kannel service from my IDEN device. Does anybody test it? or have 
any idea why it is not working...
Maybe i have to set up more things in my configuration file...? (i already 
set up a device-home)
Or maybe i'm missing some configurations in my iden device...? (i already 
see a requirement from my IDEN device to Kannel, but there is no response)
If anybody can help me with this problem or maybe tested kannel with IDEN 
packet data, i'll be very grateful of your help...

Best regards,
Garl



_
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com





RE: Configuration - IDEN PD

2002-10-15 Thread Pate Mark-marpate1

Hi Garl,

I've just tried 9203 in our lab and this is not working either. 

lsof | grep 902[0-8] shows that only ports 9200 and 9201 are being listened
to by bearerbox.

tcpdump shows that port 9203 is unreachable.

I haven't seen anything in the documentation that will limit bearerbox to
these two ports either. If I find something, I'll let you know.

Cheers,
Mark

-Original Message-
From: Garl Mansilla [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 11:04
To: [EMAIL PROTECTED]
Subject: RE: Configuration - IDEN PD


HI Pate,
  I'll try changing the port in the device... but it's not the point, 
because iden device is working with 9203! (as ivone said)... so i woould 
like to have a litle more information about kannel using 9203 port.
Thanks in advance,
Garl





RE: Configuration - IDEN PD

2002-10-15 Thread Pate Mark-marpate1

OK,

From the FAQ :

4.8 What standard WAP protocol ports will Kannel listen to? 

Kannel supports connection oriented mode and connectionless mode which means
it will only listen to the ports 9200 and 9201. When new features from the
protocol are added that uses other ports Kannel will ofcourse use the
standard ports for this. 


Mark

-Original Message-
From: Pate Mark-marpate1 [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 11:55
To: [EMAIL PROTECTED]
Subject: RE: Configuration - IDEN PD


Hi Garl,

I've just tried 9203 in our lab and this is not working either. 

lsof | grep 902[0-8] shows that only ports 9200 and 9201 are being listened
to by bearerbox.

tcpdump shows that port 9203 is unreachable.

I haven't seen anything in the documentation that will limit bearerbox to
these two ports either. If I find something, I'll let you know.

Cheers,
Mark

-Original Message-
From: Garl Mansilla [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 11:04
To: [EMAIL PROTECTED]
Subject: RE: Configuration - IDEN PD


HI Pate,
  I'll try changing the port in the device... but it's not the point, 
because iden device is working with 9203! (as ivone said)... so i woould 
like to have a litle more information about kannel using 9203 port.
Thanks in advance,
Garl





RE: Startup scipts for RedHat 7.3

2002-10-15 Thread Pate Mark-marpate1

Hi Joerg,

Have you linked to it in rc3.d?

ln -s /etc/rc.d/init.d/kannel /etc/rc3.d/S99kannel
ln -s /etc/rc.d/init.d/kannel /etc/rc2.d/K99kannel

Hope this helps,
Mark

-Original Message-
From: Joerg Eggink [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 12:58
To: 'Stephane Pointu'; [EMAIL PROTECTED]
Subject: RE: Startup scipts for RedHat 7.3


Many Many thanks for the script.
I can start/stop manually but after reboot kannel is not started.

I put the file into /etc/rc.d/init.d
Is it possible this is order sensitive and network is not started before
running this script ?

Regards
Joerg

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Stephane Pointu
 Sent: Tuesday, October 15, 2002 11:53 AM
 To: 'Joerg Eggink'; [EMAIL PROTECTED]
 Subject: RE: Startup scipts for RedHat 7.3
 
 
 Here is one!
 
 You need to change START, CONF, bearerbox, wapbox and smsbox 
 to match your configuration.
 
 Stephane.
 
  -Original Message-
  From: Joerg Eggink [mailto:[EMAIL PROTECTED]]
  Sent: 15 October 2002 11:47
  To: [EMAIL PROTECTED]
  Subject: Startup scipts for RedHat 7.3
  
  
  Dear all
  
  Are there some scripts available to start kannel wapbox or
  smsbox after
  reboot automatically ? I use RedHat 7.3
  
  If not can someone give me some ideas how to do this ?
  
  Thanks in advance
  
  Joerg
  
  
 
 





RE: Configuration - IDEN PD

2002-10-15 Thread Pate Mark-marpate1



Hi 
Garl,

I'm still working on 
it. It looks like the FAQ may be out of date.

What I have done so 
far is :

re-installed openssl 
from source code (the Redhat RPM version does not support 
rc5).

in the Kannel source 
tree, I have done :

rm 
./config.cache
./configure --prefix=/usr/local/kannel-test 
--with-wtls=openssl --disable-docs
make

but this is giving 
errors like "undefined reference to 'RC5_32_set_key'".
RC5_32_set_key is 
defined in rc5.h, so I am not quite sure what is going on.

Cheers,
Mark



  -Original Message-From: Garl Mansilla 
  [mailto:[EMAIL PROTECTED]]Sent: 15 October 2002 
  12:47To: [EMAIL PROTECTED]Subject: RE: 
  Configuration - IDEN PD
  Hi Mark,
   Thanks.. Sorry,I had to change my email address because it wasn't 
  working i don't know what happen...
  So, it means that it shoukd work with the port 9203?...I still don't 
  understand it...
  What happen when you tried it at your lab? port 9203 unreacheable, isn't 
  it? how can I make kannel listen to 9203 port??? or what do I need?
  if you find anything, let me know please... 
  Thanks in advance,
  Garl.
  
  _


RE: Kannel 1.2 problems installing on Redhat 8

2002-10-14 Thread Pate Mark-marpate1

Hi Alan  Gustavo,

This is not a Kannel problem, it is related to the OS that you are using.
The start-stop-daemon is included with Debian, I believe. It does not come
with any other distribution.

What you need to do is either run the bearerbox and wapbox manually, or
create your own init scripts to do this.

So, if you install Kannel in /usr/local, to run this manually execute :

/usr/local/sbin/bearerbox /usr/local/etc/wapkannel.conf 
/usr/local/sbin/wapbox /usr/local/etc/wapkannel.conf 

There's more info on this in the users list archives.

Hope this helps,
Mark




-Original Message-
From: Alan Wong [mailto:[EMAIL PROTECTED]]
Sent: 13 October 2002 23:24
To: [EMAIL PROTECTED]
Subject: Re: Kannel 1.2 problems installing on Redhat 8


Thanks Lars-Hendrik.
I did what you specified but now it gives me this error when I try to run
it.

Starting WAP gateway: bearerbox/etc/rc.d/init.d/kannel: line 25:
start-stop-daemon: command not found
 wapbox/etc/rc.d/init.d/kannel: line 33: start-stop-daemon: command not
found

Which is the same as Gustavo...
Can you please help?

Thanks in advance






RE: WAP KANNEL Configuration

2002-10-14 Thread Pate Mark-marpate1

Hi Ivonne,

I have only just started using Kannel, so at this stage, this is what I
believe to be true.

When establishing a WAP session, some phones do not specify the URL to which
to connect to. In these circumstances, we set the device-home field in
wapkannel.conf to allow Kannel to serve a home page to the phone.

Because I've only just installed my system and still have a few things to
sort out, my device-home is set to :

device-home = http://10.128.60.114/cgi-bin/index.pl; which is a perl script
that generates the home page for the device.

The map-url field seems to be a conversion utility. One instance where I can
see this being useful is to enable you to maintain a set of WML and HTML
pages with exactly the same URL's. For example, if you have a site that
gives news and weather on the internet at http://mysite.com/news and
http://mysite.com/weather this will be the URL for HTML browsers. To
maintain familiarity to your site, it would be useful to give exactly the
same URL's to the WAP browsers, but this could not work as Kannel could not
compile the HTML to send to the WAP device. What we can do, though is map
the URL's :
map-url = http://mysite.com/* http://mysite.com/wml/*; - this means that
when a WAP device requests http://mysite.com/news, Kannel would request
http://mysite.com/wml/news from the httpd daemon, compile this and send it
to the WAP device. You will, of course need to maintain the HTML and WML
sources independently.

map-url-max allows you to specify the number of map-url fields that you need
to add.


Hope this helps,
Mark


-Original Message-
From: Ivone Uribe [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 04:01
To: [EMAIL PROTECTED]
Subject: WAP KANNEL Configuration


Hi all!

I'm not clear about map-url, map-url-max and device-home descriptions for 
wapbox configuration.
So, Please could anybody contribute any sample configuration for wapbox.conf

with these points.

I would be grateful of any contribution.

Regards,
Ivonne :)



_
Únase al mayor servicio mundial de correo electrónico: 
http://www.hotmail.com/es





RE: calculate the operator code in operator logo data

2002-10-14 Thread Pate Mark-marpate1

Hi Yury,

There is something similar in SS7 signalling.In this case, we do :

(MCC digit 2) (MCC digit 1) F (MCC digit 3) (MNC digit 2) (MNC digit 1)

I think that if you have a 3 digit MNC (which is coming), then the F is
replaced with that.

I hope that this is true for your question too in which case, you would
have %52%F0%20.

I am sure that someone more knowledgable can confirm or deny this. 

Cheers,
Mark


-Original Message-
From: Yury Mikhienko [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 11:27
To: [EMAIL PROTECTED]
Subject: calculate the operator code in operator logo data


Hi all!

I need to send Operator logo with kannel (using OTA), but i can't calculate
the operator code :(((
For example:
in http://www.mail-archive.com/users@kannel.3glab.org/msg00415.html
Nisan Bloch say:
So assuming a MCC = 234 and a MNC=10
you will get %32%F4%01
My MCC is 250 and MNC is 02
what is the algorithm to convert them to operator code string???


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