Re: cvs

2001-08-03 Thread Bruno David Simões Rodrigues

I'm generating my docs by "hand" with this : (available on
"http://litux.org/~bruno/kannel/)

bruno@server:~/kannel$ cat make
#!/bin/bash
cd $HOME/kannel

(
  cd arch
cvs up -d > /dev/null 2> /dev/null
if [ "$?" != "0" ] ; then
(
../docbook arch.xml
if [ ! -d $HOME/public_html/kannel/arch ] ; then
mkdir $HOME/public_html/kannel/arch
fi
mv *.html *.rtf *.pdf *.png
$HOME/public_html/kannel/arch/
) 2>&1 > arch.err
mv arch.err $HOME/public_html/kannel/arch/
fi
)


(
  cd userguide
cvs up -d > /dev/null 2> /dev/null
if [ "$?" != "0" ] ; then
(
../docbook userguide.xml
if [ ! -d $HOME/public_html/kannel/userguide ] ;
then
mkdir $HOME/public_html/kannel/userguide
fi
mv *.html *.rtf *.pdf *.png
$HOME/public_html/kannel/userguide/
) 2>&1 > userguide.err
mv userguide.err $HOME/public_html/kannel/userguide/

(
../docbook user2.1.xml
if [ ! -d $HOME/public_html/kannel/user2.1 ] ; then
mkdir $HOME/public_html/kannel/user2.1
fi
mv *.html *.rtf *.pdf *.png
$HOME/public_html/kannel/user2.1/
) 2>&1 > user2.1.err
mv user2.1.err $HOME/public_html/kannel/user2.1/

(
../docbook wtls.xml
if [ ! -d $HOME/public_html/kannel/wtls ] ; then
mkdir $HOME/public_html/kannel/wtls
fi
mv *.html *.rtf *.pdf *.png
$HOME/public_html/kannel/wtls/
cp images $HOME/public_html/kannel/wtls -a
) 2>&1 > wtls.err
mv wtls.err $HOME/public_html/kannel/wtls/
fi
)
bruno@server:~/kannel$ cat docbook
#!/bin/bash

source=$1
format=$2


if [ ! -e $source ] ; then
  echo "Source not found"
  exit
fi
destination=${source%\.*}

if [ "$format" = "html" -o "$format" = "" ] ; then
echo "Converting to one html"
sed "s/#FIGTYPE#/.png/;s/#VERSION#/`date +%Y.%m.%d`/" $source >
$source.tmp
for i in *.fig ; do fig2dev -Lpng $i ${i%.fig}.png ; done
jade -V nochunks -t sgml -d
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl < $source.tmp
> $destination.html
fi

if [ "$format" = "rtf" -o "$format" = "" ] ; then
echo "Converting to RTF"
sed "s/#FIGTYPE#/.png/;s/#VERSION#/`date +%Y.%m.%d`/" $source >
$source.tmp
for i in *.fig ; do fig2dev -Lpng $i ${i%.fig}.png ; done
jade -t rtf -d
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl <
$source.tmp
mv jade-out.rtf $destination.rtf
fi

if [ "$format" = "pdf" -o "$format" = "" ] ; then
echo "Converting to Tex"
sed "s/#FIGTYPE#/.ps/;s/#VERSION#/`date +%Y.%m.%d`/" $source >
$source.tmp
for i in *.fig ; do fig2dev -Lps $i ${i%.fig}.ps ; done
jade -t tex -d
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl <
$source.tmp
mv jade-out.tex $destination.tex

echo "Converting to DVI"
jadetex $destination.tex 2>&1 > /dev/null
jadetex $destination.tex 2>&1 > /dev/null
jadetex $destination.tex
rm -f $destination.log
rm -f $destination.aux

echo "Converting to PS"
dvips -o $destination.ps $destination.dvi

echo "Converting to PDF"
ps2pdf $destination.ps $destination.pdf

#clean
rm $destination.tex $destination.dvi $destination.ps
fi
bruno@server:~/kannel$


--
Bruno Rodrigues


- Original Message -
From: "David Holland" <[EMAIL PROTECTED]>
To: "Frederik Ammitzbøll" <[EMAIL PROTECTED]>
Cc: "KannelDevel" <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 10:45 AM
Subject: Re: cvs


> On Thu, Aug 02, 2001 at 11:10:44AM +0200, Frederik Ammitzbøll wrote:
> > Are these daily snapshots not generated anymore (snapshot-timestamp says
> > June 22), or do you need cvs access to get them (in that case could
somebody
> > be so kind as to send the patch to me please?)
>
> The daily snapshots are being generated as before, but the build process
> has been failing in the "make docs" stage. I have commented out the
> "make docs" in the snapshot script and generated a snapshot manually.
>
> I'll leave it that way until I have time to work out why the docs won't
> build properly.
>
> Dave
> --
> David Holland   =*=   Systems Manager   =*=   tel: +44 01223
478900
> http://www.3glab.com/   =*= 3G Lab, UK  =*=   fax: +44 01223
478901
> "Please help me out." ... "Certainly. Which way did you come in?"
>
>





Mobile screen savers

2001-08-03 Thread Oleg Podolsky

Hello!

I am trying to send a mobile screen saver over SMPP, but somehow it doesn't
reach the phone.
Everything seems to be ok in the messages.
Has anybody tried to sent a screen saver and succeeded?

Oleg.





Re: [Patch] EMI2 Keepalive patch

2001-08-03 Thread Andrew Lawrence

> From: Bruno David Simões Rodrigues [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 18, 2001 11:27 PM
> To: [EMAIL PROTECTED]
> Subject: [Patch] EMI2 Keepalive patch
>
>
> Hi.
>
> I've sent the emi2 keepalive patch to the CVS.
>

One update I can suggest to the patch.  The SMSC we use, TIM in Italy, does 
not support 31 traffic.  I changed the patch to send 61's instead and 
everything works fine, atleast with TIM.

-- 
Andrew Lawrence <[EMAIL PROTECTED]>
Smoke & Mirrors http://www.smoke-and-mirrors.net
134A Leslie Street, Toronto, Ont CANADA M4M 3C7
Tel: +1 416 461 8708Fax: +1 416 461 1758




Re: [patch] Flash, MWI and Unicode

2001-08-03 Thread Bruno David Simões Rodrigues

Please note that mwi is a parameter needed to internally encode the DCS
field and mwimessages is converted
to a UDH string, so as soon as I have the encoding patch ready (meaning you
can send 7bit messages with
udh), mwimessages would dissapear and I'll give the udh in Userguide

--
Bruno Rodrigues


- Original Message -
From: "Bruno David Simões Rodrigues" <[EMAIL PROTECTED]>
To: "Andreas Fink" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 1:12 PM
Subject: Re: [patch] Flash, MWI and Unicode


> Re: [patch] Flash, MWI and Unicodeon mwi you activate or deactivate the
> simbols.
> mwimessages is a number that indicates the number of messages displayed on
> the mobile
> your unicode lacks one char (it's allways n*4 chars)






Re: Routing problems for SMS push

2001-08-03 Thread Uoti A Urpala

Gildas Perrot wrote:
> group = smsc
> smsc-id = A
> ...

> group = sendsms-user
> username = operator_A
> password = foo
> forced-smsc = A

> operator_A routed to B SMSC account. Is it due to to the fact I didn't put
> "denied-smsc-id" directives in smsc groups ?

Just setting the smsc-id variable in a "group = smsc" block does not
in any way constrain which messages can be sent through that smsc. It
just means that all messages received from that smsc will have that
smsc-id, and it will also be set in replies generated to those
messages (unless overridden). These ids then have to be used in
conditions like accepted-smsc in sms-service groups or
preferred-smsc-id in smsc groups to achieve something useful. (This is
explained in the user guide under "SMSC Group Variables".)

> If true, is there another way to do that specific routing since I am going
> to have a lot of smsc accounts, and I don't want to specify all of them in a
> "denied-smsc-id" directive.

If you want to only allow messages with a certain smsc-id, it's of
course easier to use allowed-smsc-id instead of denied-smsc-id.





Re: problem with CMG's SMSC

2001-08-03 Thread Bruno David Simões Rodrigues

0x00..14 error with cmg ? which protocol are you using ? I don't know any
error like that in UCP/EMI protocol

--
Bruno Rodrigues


  - Original Message -
  From: Venugopal Panchamukhi
  To: [EMAIL PROTECTED]
  Sent: Thursday, August 02, 2001 9:05 AM
  Subject: problem with CMG's SMSC


  Hi,
  We are facing some problem with CMG's SMSC. When we are sending ring
tone which is more than 174 bytes it's giving us the 0x0014 error. When
we are testing the same with Radiolinja SMSC, everything is fine. Does
anyone has some idea on this.
  I've already asked couple of questions related to 0x0014 error but
i haven't got any replies from whom so ever.
 Any help on this is highly appreciated and obliged.
  Rgds,
  Venu

--
Venugopal Panchamukhi
Mobile# +358-(0)9-4110 1675
E-Mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]






Re: [Patch] EMI2 Keepalive patch

2001-08-03 Thread Bruno David Simões Rodrigues

Can you send me the diff so I can adjust the code to use 31 or 61 as
requested ?

What happens when you send the 31 ? smsc didn't reply or did it NACK the
message ?

Send me logs and every comment you have so I can see if I can switch to 61
automatically
or if it needs to be configured that way...

--
Bruno Rodrigues


- Original Message -
From: "Andrew Lawrence" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 1:20 PM
Subject: Re: [Patch] EMI2 Keepalive patch


> > From: Bruno David Simões Rodrigues [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 18, 2001 11:27 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Patch] EMI2 Keepalive patch
> >
> >
> > Hi.
> >
> > I've sent the emi2 keepalive patch to the CVS.
> >
>
> One update I can suggest to the patch.  The SMSC we use, TIM in Italy,
does
> not support 31 traffic.  I changed the patch to send 61's instead and
> everything works fine, atleast with TIM.
>
> --
> Andrew Lawrence <[EMAIL PROTECTED]>
> Smoke & Mirrors http://www.smoke-and-mirrors.net
> 134A Leslie Street, Toronto, Ont CANADA M4M 3C7
> Tel: +1 416 461 8708 Fax: +1 416 461 1758
>
>





Re: Nokia 6210

2001-08-03 Thread Bruno David Simões Rodrigues

I used my 6210 with windows 2000, nokia infrared drivers, vmware, linux
inside vmware.
except the nokia driver bugs, everything works out perfectly.

Just use:
group = smsc
smsc-id = modem
smsc = at
modemtype = nokiaphone
device = /dev/ttyS?



--
Bruno Rodrigues


- Original Message -
From: "Richard Bowen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 10:17 AM
Subject: Nokia 6210


Hello

I am currently looking for a setup that will allow a computer to receive a =
text message and store it in a text file so it can be easily accessed and =
processed.

I have been looking at kannel and I am impressed, but so far I have only =
tested the SMS Gateway using fakesmsc.  The next step is to set up a real =
phone or GSM modem to receive text messages.  I have access to a Nokia =
6210 (plus a Nokia DLR-3P serial cable) and your web site says it is =
compatible with Kannel, but I don't understand the instructions on how to =
connect the phone. =20

If you could provide more detail in how to configure the Nokia 6210 with =
Kannel it would be much appreciated.

Regards

Richard Bowen








Re: [Patch] EMI2 Keepalive patch

2001-08-03 Thread Bruno David Simões Rodrigues

RE: [Patch] EMI2 Keepalive patchwhich manual ?
And yes, you'll get the -31 packets in debug mode

--
Bruno Rodrigues


  - Original Message -
  From: Ozkan ERENER
  To: Andreas Fink ; [EMAIL PROTECTED]
  Sent: Thursday, August 02, 2001 8:30 AM
  Subject: RE: [Patch] EMI2 Keepalive patch


  The manual says its value is "minute". Are you sure it's seconds? And
event it was "seconds" I guess it doesn't get logged to the logs, right?






Re: Mobile screen savers

2001-08-03 Thread Bruno David Simoes Rodrigues

to which phone ? only 3310 supports it (and 8310 I think).

--
Bruno Rodrigues


- Original Message -
From: "Oleg Podolsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 3:08 PM
Subject: Mobile screen savers


> Hello!
>
> I am trying to send a mobile screen saver over SMPP, but somehow it
doesn't
> reach the phone.
> Everything seems to be ok in the messages.
> Has anybody tried to sent a screen saver and succeeded?
>
> Oleg.
>
>
>





Re: [patch] Flash, MWI and Unicode

2001-08-03 Thread Bruno David Simões Rodrigues

yes, I'll try to add it to every smsc as long as I find where to encode the
DCS in the
other smscs code. But please, please, give me some time...

--
Bruno Rodrigues


- Original Message -
From: "Andreas Fink" <[EMAIL PROTECTED]>
To: "Bruno David Simões Rodrigues" <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 2:26 PM
Subject: Re: [patch] Flash, MWI and Unicode


> >Please note that mwi is a parameter needed to internally encode the DCS
> >field and mwimessages is converted
> >to a UDH string, so as soon as I have the encoding patch ready (meaning
you
> >can send 7bit messages with
> >udh), mwimessages would dissapear and I'll give the udh in Userguide
> >
> >--
> >Bruno Rodrigues
>
> Are you adding it to the HTTP SMSC too? that would fix the
> kannel-kannel chaining problem.
> --
>
> Andreas Fink
> Fink-Consulting
>
> --
> Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
> Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
> E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
> --
> Something urgent? Try http://www.smsrelay.com/  Nickname afink
>





Re: Mobile screen savers

2001-08-03 Thread Alexei Pashkovsky

hi there..
we have this ability on sema and smpp.
4-sms packet for each "screensaver".

- Original Message -
From: "Oleg Podolsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 4:08 PM
Subject: Mobile screen savers


> Hello!
>
> I am trying to send a mobile screen saver over SMPP, but somehow it
doesn't
> reach the phone.
> Everything seems to be ok in the messages.
> Has anybody tried to sent a screen saver and succeeded?
>
> Oleg.
>





Binary sms through AT SMSC

2001-08-03 Thread Hubert Kubik

Hi
Is it possible to send binary sms through AT SMSC (m20) ?
I have some binary OTA messages (not wap configuration, more complex) 
and I want to test it on STK enabled cards.




WTLS integration (again)

2001-08-03 Thread Aymerick Jéhanne

Hello,

I have several questions about the WTLS integration in Kannel:
- Does it handle certificates ?
- If not, is it fully WTLS Class 1 compliant ?
- If yes, is it WTLS Class 2 or Class 3 ?
- Have you integrate all the old 3ui patch ?
- If not, what kind of stuff can we find in the old 3ui patch that you haven't 
integrated ?

Thanx,

Aymerick Jéhanne
YacCom






FW: Using Kannel for sending and recieving SMS messages via my mobile phone

2001-08-03 Thread sharon

Hello to all,

I read with interest on the above topic,
 "Using Kannel for sending and receiving SMS messages via my mobile phone".

We have installed the kannel in our solaris 2.6 machine (gateway-1.0.2).
Could you please share with us how to setup the above configuration?

Please let us know what are the additional hardware and software
configuration in order to send/receive SMS messages via my mobile phone.

Thank you in advance


Sharon Tan Meow Keng
email : [EMAIL PROTECTED]
Tel : 65 7715814COINS: 79712 814








Re: WTLS integration (again)

2001-08-03 Thread Nick Clarey

Howdy,

> I have several questions about the WTLS integration in Kannel:
> - Does it handle certificates ?

Yes, but it depends what you mean by "handle".

> - If not, is it fully WTLS Class 1 compliant ?

Yes.

> - If yes, is it WTLS Class 2 or Class 3 ?

No.

> - Have you integrate all the old 3ui patch ?

No, because it was a mess.

> - If not, what kind of stuff can we find in the old 3ui patch that you haven't 
>integrated ?

A wtls client.

Note that the WTLS layer doesn't currently work. Joerg said he was going
to do some work on it, but if you need it then you need to do some
work to get it in a state where it actually functions.

See ya,

Nick

-- 
Nick Clarey, System Architect| "Sometimes when you fill a vacuum,
3G LAB   |  it still sucks."  - Rob Pike
ph 44-1223-478900 fax 44-1223-478901 |




RE: Mobile screen savers

2001-08-03 Thread Oleg Podolsky


Is it even possible to send animated screensavers (similar to animated
gifs)?
I succeed to send one-frame screensaver, but don't manage to do the same for
multi-frame.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alexei Pashkovsky
> Sent: Thursday, August 02, 2001 5:29 PM
> To: Oleg Podolsky; [EMAIL PROTECTED]
> Subject: Re: Mobile screen savers
>
>
> hi there..
> we have this ability on sema and smpp.
> 4-sms packet for each "screensaver".
>
> - Original Message -
> From: "Oleg Podolsky" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 02, 2001 4:08 PM
> Subject: Mobile screen savers
>
>
> > Hello!
> >
> > I am trying to send a mobile screen saver over SMPP, but somehow it
> doesn't
> > reach the phone.
> > Everything seems to be ok in the messages.
> > Has anybody tried to sent a screen saver and succeeded?
> >
> > Oleg.
> >
>





Re: CMG "Keep-Alive" problem

2001-08-03 Thread Bruno David Simões Rodrigues

CMG "Keep-Alive" problemAre you doing NAT in the firewall. Ask the firewall
guys which is the timeout in their side. If they can't set it bigger,
set your keepalive smaller than that timeout.

--
Bruno Rodrigues


  - Original Message -
  From: Ozkan ERENER
  To: [EMAIL PROTECTED]
  Sent: Tuesday, July 31, 2001 1:36 PM
  Subject: CMG "Keep-Alive" problem


  Hi -

  In our setup Kannel is connected to multiple CMG SMSC's by Multi Access
Large Account connections (emi2). Everyonce in a while the connection gets
dropped from the SMSC but Kannel still sees the connection as "ESTABLISHED".
There are firewalls in between and I wonder if firewalls are causing this
problem. The firewall gusy are telling that there's something weird about
the "FIN" packets originating from the SMSC.

  Does anyone know the proper set of firewall rules for TCP connectivity to
CMG SMSC's?

  thanks,
  Ozkan Erener
  VeriPark - www.veripark.com






Re: Binary sms through AT SMSC

2001-08-03 Thread Bruno David Simoes Rodrigues

Yes it is. Almost.

If you can't send the message, check the logs for an error -1. If so, you
have a buggy M20 (like me).
But even with a buggy M20, there's a way to send the message if we use a
different method to encode
the message in kannel.

People, can I patch smsc_at.c and include "if siemens dcs= F5" 


--
Bruno Rodrigues


- Original Message -
From: "Hubert Kubik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 3:32 PM
Subject: Binary sms through AT SMSC


> Hi
> Is it possible to send binary sms through AT SMSC (m20) ?
> I have some binary OTA messages (not wap configuration, more complex)
> and I want to test it on STK enabled cards.
>





Re: Binary messages with Vodafone

2001-08-03 Thread Gus

On Wed, 1 Aug 2001, Venugopal Panchamukhi wrote:

> Hi,
>Has anyone faced any problem with the Vodafone SMSC while sending
> binary messages?

I did have, yeah. Fixed it by changing the DCS value for 8-bit message
from 0xF4 to 0x07 in ois_append_data_coding_scheme.

I've got a fairly old version so the line numbers may be wrong, but on my
version its line 1021 which reads

raw[0] = (char) (msg->sms.flag_8bit ? 0xf4 : 0x0f);

change that to 

raw[0] = (char) (octstr_len(msg->sms.udhdata) ? 0x07 : 0x0f);

I can't actually remember how I worked that out though - or indeed why it
works since no-one else apart from UK Vodafone appears to need it (or
perhaps OIS is so infreqently used no-one found it).


Regards,
_Gus






-- 
  - [EMAIL PROTECTED] -
   = Zygo Communications, London UK =
 -= 82 AA 4D 7F D8 45 58 05  6D 1B 1A 72 1E DB 31 B5 =-
 Gladly let fools suffer