Re: Patch for CPA functionality

2004-01-14 Thread Alexander Malysh
Hi,

first of all: what in hell is CPA???

after short review, I would say, this stuff should go into smsc_http.c. In 
addition some parts are not done (e.g. smsc_shutdown , this function is 
responsible for freeing all used memory by the smsc module , that means here 
is the memory leak!)...

Have you tried to implement this stuff within smsc_http? If yes, please 
explain why this stuff doesn't fit into smsc_http?

Thanks in advance!

On Wednesday 14 January 2004 05:11, Phuah Yee Keat wrote:
 Hi,

 The patch is based on snapshot version 20031105.

 So tell me what do I need to do in order to get the patch committed?
 Updated User manual?
 Sample configuration files?

 Cheers,
 Phuah Yee Keat

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [EMAIL PROTECTED]
web: www.centrium.de
msn: [EMAIL PROTECTED]
icq: 98063111
___

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: Patch for CPA functionality

2004-01-14 Thread Phuah Yee Keat
Hi,

 first of all: what in hell is CPA???

I think if you guys have heard of CPA, I wouldn't need to write one! :-)
CPA is another protocol that is used by one of the local telcos over 
here, the reference website is at
http://cpa.digi.com.my/
http://cpa.digi.com.my/Forum.jsp (this have some pdfs on where this is used)
But seemed that the specs is proprietary, I wonder if there will be any 
problems if I release the specs out over here.

after short review, I would say, this stuff should go into smsc_http.c. In 
addition some parts are not done (e.g. smsc_shutdown , this function is 
responsible for freeing all used memory by the smsc module , that means here 
is the memory leak!)...
The codes are a quick hack because I need it here. Sad to say I don't 
quite understand a lot of internal stuffs of kannel myself. And I send 
the patch to the mailing list hoping that someone might clean it up for 
me (which I think might not happen!). I will certainly look into the 
smsc_shutdown function!

Have you tried to implement this stuff within smsc_http? If yes, please 
explain why this stuff doesn't fit into smsc_http?
Ok, I started off hacking smsc_http.c actually, hoping just to extend it 
and do not touch its core functions, so I tried to just code the 3 
functions:
1. cpa_send_sms
2. cpa_receive_sms
3. cpa_parse_reply
But it have not been long before I realized that CPA need something 
extra, login and session.

Well, basically, for CPA, a session needs to be established, the session 
goes a bit like this
1. kannel send login request
2. telco replies login request,
   if successful, reply a session_timeout, and session_id
3. kannel need to relogin again after session_timeout
4. kannel need to use the session_id to send any MT messages to the telco.

Found myself hacking the core functionalities in http_smsc so much that 
it might just break kannel_http, brunet_http and xidirs_http functions. 
So I just whacked up my own smsc_cpa.c and pray that it is going to be 
integrated coz I am lazy to manage the patches and kannel's daily snapshot.

Cheers,
Phuah Yee Keat


Re: How to reply just to the List?

2004-01-14 Thread Phuah Yee Keat
Not for me! :(

I always receive duplicates when you guys reply all.

Alexander Malysh wrote:

On Wednesday 14 January 2004 11:48, Phuah Yee Keat wrote:

Hi,

This is non kannel related.

How do I just reply to the list? Coz when I click on the Reply
buttton, I will just reply to the sender of the post. If I click on
Reply all, I will need to delete the sender's name from the To:
list, is there a easy way to just reply to the list?


just click on Reply all and Mailman will handle this gracefully ;) (means, 
sender will receive email only once)


I am using ThunderBird on Windows FYI.

Cheers,
Phuah Yee Keat





[OT] RE: How to reply just to the List?

2004-01-14 Thread Navjot Singh
if kannel list moderator can set ReplyTo: tag to [EMAIL PROTECTED] then
good to know that many people have started using Thunderbird. 
is it still that heavy?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Phuah Yee Keat
Sent: Wednesday, January 14, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: How to reply just to the List?


Hi,

This is non kannel related.

How do I just reply to the list? Coz when I click on the Reply 
buttton, I will just reply to the sender of the post. If I click on 
Reply all, I will need to delete the sender's name from the To: 
list, is there a easy way to just reply to the list?

I am using ThunderBird on Windows FYI.

Cheers,
Phuah Yee Keat





Re: [OT] RE: How to reply just to the List?

2004-01-14 Thread Phuah Yee Keat
Yeah, the best is for the ReplyTo: tab to be set to [EMAIL PROTECTED], 
but I know one reason against that is that some posters might not be 
subscribed to the list. Not sure about what's the case here though.

Thunderbird is very light. Started using it, coz nobody starts to write 
worms that target thunderbird yet! :-)

Cheers.

Navjot Singh wrote:

if kannel list moderator can set ReplyTo: tag to [EMAIL PROTECTED] then
good to know that many people have started using Thunderbird. 
is it still that heavy?




Re: How to reply just to the List?

2004-01-14 Thread Arne K. Haaje
onsdag 14. januar 2004, 11:48, skrev Phuah Yee Keat:
 Hi,

 This is non kannel related.

 How do I just reply to the list? Coz when I click on the Reply
 buttton, I will just reply to the sender of the post. If I click on
 Reply all, I will need to delete the sender's name from the To:
 list, is there a easy way to just reply to the list?

 I am using ThunderBird on Windows FYI.

 Cheers,
 Phuah Yee Keat

Perhaps you can configure Thunderbirds toolbar to add a button for 'Reply to 
list'? I have such a button in my Kmail (KDE beta 2) that I use for lists.

-- 
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer

Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/



UCP 50

2004-01-14 Thread Arne K. Haaje
Is this the same as EMI/UCP? Can that module be used for an operator 
(TeliaSonera Sweden) that say it use that protocol?

-- 
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer

Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/



Re: UCP 50

2004-01-14 Thread Stipe Tolj
Arne K. Haaje schrieb:
 
 Is this the same as EMI/UCP? Can that module be used for an operator
 (TeliaSonera Sweden) that say it use that protocol?

yes, this is one operation mode of EMI/UCP.

Stipe

mailto:[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
---

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-



Re: [PATCH] merging of smsc_at

2004-01-14 Thread Alexander Malysh
as no objections were there, commited to cvs.

On Monday 12 January 2004 15:08, Alexander Malysh wrote:
 Hi all,

 attached you can find patch that adds 2 new options for smsc_at:
 max-error-count and reset-string. For description of those see userguide
 changes inside of the patch.
 This patch adds also properly device reconnections and some fixes here and
 there.

 P.S. This patch was generated based on smsc_at from centrium tree and is
 used since at least 3 months w/o any problems.

 Comments and votes please!

  doc/userguide/userguide.xml |   16 16 +0 - 0 !
  gw/smsc/smsc_at.c   |  105 79 +26 -0 !
  gw/smsc/smsc_at.h   |4 3 + 1 - 0 !
  gwlib/cfg.def   |2 2 + 0 - 0 !
  4 files changed, 100 insertions(+), 27 deletions(-)

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [EMAIL PROTECTED]
web: www.centrium.de
msn: [EMAIL PROTECTED]
icq: 98063111
___

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: UCP 50

2004-01-14 Thread Stipe Tolj
Arne K. Haaje wrote:
 
 
 Yes, I know - but that is what they are using.. To send an SMS you craft a
 packet then send it over HTTPS.
 
 I am okay with the encryption for the transport, but why use HTTP (S). Why not
 just connect to a SMSC that speak the protocol natively? There is also the
 issue of 1 SMS/sec they have. Wonder what they do with votes etc. from a TV
 program...
 
 Telia has always been a bit strange..

which means you have to pass the UCP string via HTTP GET/POST over
HTTPS to them? ... what kind of perversion is this?!

I guess they use HTTPS for getting the security purpose done?! Seems
they never heard of stunnel (for SSL-enabling TCP server-client
applications) or of VPNs.

I wouldn't call this strange, but perverted.

So if it is that way, then: no, Kannel does not support this. ;)
You'll be on your own to get either:

  a) implement the UCP string encapsulation into gw/smsc/smsc_http.c
for a special 'telia' type.
  b) tell them to give you a native UCP account and use SSL tunnel or
VPN for security.

Stipe

mailto:[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
---

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-



Re: UCP 50

2004-01-14 Thread Arne K. Haaje
onsdag 14. januar 2004, 22:02, skrev Stipe Tolj:
 Arne K. Haaje wrote:
  Yes, I know - but that is what they are using.. To send an SMS you craft
  a packet then send it over HTTPS.
 
  I am okay with the encryption for the transport, but why use HTTP (S).
  Why not just connect to a SMSC that speak the protocol natively? There is
  also the issue of 1 SMS/sec they have. Wonder what they do with votes
  etc. from a TV program...
 
  Telia has always been a bit strange..

 which means you have to pass the UCP string via HTTP GET/POST over
 HTTPS to them? ... what kind of perversion is this?!

 I guess they use HTTPS for getting the security purpose done?! Seems
 they never heard of stunnel (for SSL-enabling TCP server-client
 applications) or of VPNs.

 I wouldn't call this strange, but perverted.

 So if it is that way, then: no, Kannel does not support this. ;)
 You'll be on your own to get either:

   a) implement the UCP string encapsulation into gw/smsc/smsc_http.c
 for a special 'telia' type.

I might look at this when I have the time, but riht now I need this 
yesterday ;-). I think I have (avery proprietary) fallback.. :-(

   b) tell them to give you a native UCP account and use SSL tunnel or
 VPN for security.

I will do that, but I wont hold my breath.. BTW. If I get such an account, can 
I then use Kannel with the emi module if I compile it with OpenSSL?

-- 
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer

Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
http://www.eurobate.com/



Re: UCP 50

2004-01-14 Thread Stipe Tolj
Paul Keogh wrote:
 
  
   which means you have to pass the UCP string via HTTP GET/POST over
   HTTPS to them? ... what kind of perversion is this?!
  
   I guess they use HTTPS for getting the security purpose done?! Seems
   they never heard of stunnel (for SSL-enabling TCP server-client
   applications) or of VPNs.
  
   I wouldn't call this strange, but perverted.
 
 rant
 I am getting really tired of all these operator interfaces !!!
 Its only the middle of January and already I've implemented yet another
 NDA'd, XML/HTTP proprietary transaction model for yet another operator,
 designed by yet another consultant which is just yet another variant on all
 the other XML/HTTP interfaces out there. Sure, you can share functions
 etc. but it still needs to documented, tested, maintained, regressed etc.
 And guess what - it sits in front of a stable, tried and tested SMPP
 SMSC !.
 Its so stupid.
 
 I hope the Microsoft/Vodafone mobile web services thing stomps all over
 these guys.
 /rant

welcome to the club ;)

  I might look at this when I have the time, but riht now I need this
  yesterday ;-). I think I have (avery proprietary) fallback.. :-(
 
 b) tell them to give you a native UCP account and use SSL tunnel or
   VPN for security.
 
 IPSEC VPNs make the most sense IMHO...

+1

  I will do that, but I wont hold my breath.. BTW. If I get such an
  account, can
  I then use Kannel with the emi module if I compile it with OpenSSL?
 
 You'll need to modify the EMI code to use the SSL I/O functions I'd guess.
 But the mechanisms that Stipe is suggesting in b) don't need any code
 changes,
 just configuration on your box. You could also use ssh/ssh2 to do
 encrypted tunnelling (at least I can do this with VNC, so it should work
 for other TCP applications).

yep, Paul is right. Forgot to mention this.

Stipe

mailto:[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
---

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-



add new protocol for china unicom SGIP

2004-01-14 Thread xtjmail

I want to add to kannel new  protocol  about  china unicom SGIP.

I  learn   SMPP protocol  code. 
I want to get some help,How to add new protocol surportted for kannel.
where do I  get document  from?




==
[EMAIL PROTECTED]
http://www.126.com25M;!
2,000,00050M!





Kannel WAP

2004-01-14 Thread James Wong








Hi Stipe and all



Is upgrading Kannel WAP from WAP 1.2 to 2.0 in progress? Or any
plan of when it can be released? If the plan has not started, when is it going
to start?



Please let me know the status coz I wish to take part if I could.



James