Re: How to test MMS ? Does kannel supports UA-Profile ?

2003-02-25 Thread Aarno Syvänen
On Tuesday, February 25, 2003, at 11:58 AM, sunil baburaoji wrote:

Hi Users,

I am in phase of testing MMS with kannel. Can anybody tell me
the configuration needs to be done to cary out MMS testing.
Configure wapbox proper and ppg (see example file gw/pushkannel.conf).

Does it support User Agent Profile ? If so, is it require additional
configuration.
No, but this is definitely next thing we need for MMS

Aarno




Re: sendsms program

2003-02-18 Thread Aarno Syvänen
There is no such program. cgi-bin/sendsms is a tag for service (to 
differentiate sendsms from
other smsbox services).

Aarno

On Monday, February 17, 2003, at 01:53 PM, Navjot Singh wrote:

little correction in my last mail.
use lsof to find service/port. little effect of doing lot many things
parallel ;-)


- Original Message -
From: Navjot Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 6:11 PM
Subject: sendsms program


| hi list,
|
| Where is /cgi-bin/sendsms program? I tried to find -name sendsms 
under
my
| installation directory. It gives me the path to ./contrib/sendsms. 
That is
a
| python program again calling to cgi-bin/sendsms ;-)
|
| Where can i read the source code of this proggie? Is it running in 
the
| bearerbox file itself ? As nmap -sT says beaerbox is listening on 
13013
| port.
|
| regards
| navjot singh
|







Re: SAR

2003-02-17 Thread Aarno Syvänen

On Wednesday, February 12, 2003, at 01:21 PM, Rene Vellekoop wrote:

I have played around with kannel for some weeks now. But what is actually up with the SAR feature? Why and when is it needed? Is it for all type of phones and for any download bigger than the SDU max size?

Not all types send sar, but Kannel should work with them. Most obvious use for it is MMS: Mms are segmented because then you
must, in the case a failure, resend only the affected part, not the whole of the message.

 
And why does the force-sar keyword not work in the 1.3.0 devel version?

It is not needed anymore. "Force-sar" used to be a little white lie: Kannel claimed that it supported SAR, even though it did not.
This helped when some phone demanded sar but sent only one segment anyway. You can just remove it.

Aarno


Re: MMS NotifResp.ind post-response

2003-02-17 Thread Aarno Syvänen
If the spec says 'the phone SHOULD ignore the response', the server 
should,
imho, not rely on this response to send error messages to the phone.

Aarno

On Friday, February 14, 2003, at 01:04 PM, Mads Kristiansen wrote:

Hi,

Does somebody know how the behaviour of the post-response to the above
mms-transaction is normally implemented.
For instance in the following scenario, do you have knowledge of the
behaviour of for example the Nokia or Ericsson phones:

1. MMS NotifResp.ind is posted to the server
2. A reply containing an error 406 (not accepted) is returned.
3. Should this error be ignored and silently discarded by the 
mobile
or should it be presented to the user.

The MMS-spec says: MMS client SHOULD ignore the POST-response from the
MMS proxy-relay, which makes me suspect that the above brands of
mobile-phones silently discards the POST-responses, while others 
actually
display the error.

Regards,
Mads Kristiansen
--
  Mads Kristiansen
  [EMAIL PROTECTED]






Re: How to use MMS?

2003-01-23 Thread Aarno Syvänen
When phone got OTA settings, it should answer something like
new settings received, want to install. 6610 did not say this ?
If it believes that it got a sm, then there is a problem.

Aarno

On Thursday, January 23, 2003, at 05:19 AM, wangjw wrote:


no!
Kannel divided the OTA sms coreectly,if it is too long;

my nokia 6610 received the sms and recognized it
but  it is empty

i use php3.0,


 data: 01 06  
04 03 94 81 ea 00   
2003-01-23 12:09:04 [3] DEBUG:   data: 01 45 c6 06 01 87 12 ff
.E..
2003-01-23 12:09:04 [3] DEBUG:   data: 01 87 13 11 03 31 39 32
.192
2003-01-23 12:09:04 [3] DEBUG:   data: 2e 31 36 38 2e 36 2e 31
.168.6.1
2003-01-23 12:09:04 [3] DEBUG:   data: 36 38 00 01 87 14 61 01
68a.
2003-01-23 12:09:04 [3] DEBUG:   data: 87 21 11 03 71 71 00 01
.!..qq..
2003-01-23 12:09:04 [3] DEBUG:   data: 87 22 70 01 87 23 11 03
.p..#..
2003-01-23 12:09:04 [3] DEBUG:   data: 77 77 00 01 87 24 11 03
ww...$..
2003-01-23 12:09:04 [3] DEBUG:   data: 77 77 00 01 87 28 73 01
ww...(s.
2003-01-23 12:09:04 [3] DEBUG:   data: 87 29 6b 01 01 86 07 11
.)k.
2003-01-23 12:09:04 [3] DEBUG:   data: 03 68 74 74 70 3a 2f 2f
.http://
2003-01-23 12:09:04 [3] DEBUG:   data: 77 61 70 2e 79 6f 75 72
wap.your
2003-01-23 12:09:04 [3] DEBUG:   data: 73 69 74 65 2e 63 6f 6d
site.com
2003-01-23 12:09:04 [3] DEBUG:   data: 00 01 c6 08 01 87 15 11

2003-01-23 12:09:04 [3] DEBUG:   data: 03 71 71 00 01 01 01   
.qq




OTA SMS Text message  
%01%06%04%03%94%81%EA%00%01%45%C6%06%01%87%12%FF%01%87%13%11%03%31%39% 
32%2e%31%36%38%2e%36%2e%31%36%38%00%01%87%14%61%01%87%21%11%03%71%71%00 
%01%87%22%70%01%87%23%11%03%77%77%00%01%87%24%11%03%77%77%00%01%87%28%7 
3%01%87%29%6B%01%01%86%07%11%03%68%74%74%70%3a%2f%2f%77%61%70%2e%79%6f% 
75%72%73%69%74%65%2e%63%6f%6d%00%01%C6%08%01%87%15%11%03%71%71%00%01%01 
%01 (length: 357) to the phone 13672449730...


/cgi-bin/ 
sendsms?username=wwpassword=wwfrom=099966to=13672449730udh=%06% 
05%04%C3%4F%C0%02text=%01%06%04%03%94%81%EA%00%01%45%C6%06%01%87%12%FF 
%01%87%13%11%03%31%39%32%2e%31%36%38%2e%36%2e%31%36%38%00%01%87%14%61%0 
1%87%21%11%03%71%71%00%01%87%22%70%01%87%23%11%03%77%77%00%01%87%24%11% 
03%77%77%00%01%87%28%73%01%87%29%6B%01%01%86%07%11%03%68%74%74%70%3a%2f 
%2f%77%61%70%2e%79%6f%75%72%73%69%74%65%2e%63%6f%6d%00%01%C6%08%01%87%1 
5%11%03%71%71%00%01%01%01



all that shows kannel send the sms correctly,

maybe the content of the OTA sms is wrong before been sent??
but it is right according the protocol specification,i think


here is my setting

OTA SMS Message Sender
Telephone number:


Configuration: Location:  (ie. http://wap.yoursite.com)
  Service Name:  (ie. You Wapsite)
  IP address:  (ie. 192.168.1.1)
  Phone number:  (ie. 4512345678)
  Bearer type: dataSMS (ie. data)
  Connection type: Tempcont (ie. temp)
  Call type: ISDNAnalog (ie. ISDN)
  Speed: 960014400 (ie. 9600)
  PPP security: OffOn (ie. Off)
  Authentication: NormalSecure (ie. Normal)
  Login:  (ie. login)
  Password:  (ie. secret)









Re: How to use MMS?

2003-01-22 Thread Aarno Syvänen
You must set concatenation and max-messages configuration variables, 
because OTA messages require many sms.

Aarno

On Wednesday, January 22, 2003, at 09:38 AM, wangjw wrote:

i can send OTA message to the Nokia 6610 now,and 6610 can recognize it 
correctly,but when open it
it is empty,why?
it is showed that the OTA message is much longer than 161,but Kannel 
shows the length of the SMS is about 100
long,maybe Kannel is wrong, i guess






Re: Push Proxy Gateway

2003-01-22 Thread Aarno Syvänen
 Hi,

On Tuesday, January 21, 2003, at 02:11 PM, Anamika Kumari wrote:



Hi KannelUsers,

When I configure the push proxy gateway and run the test specified in
the Userguide I get the message
Pap parsing error what could be the problem.


Can you send exact error message ?



Is the example specified in the UserGuide wrong.

The configuration file is the one given gw/pushkannel.conf and the
command I am giving is
gw/bearerbox gw/pushkannel.conf
gw/smsbox gw/pushkannel.conf
gw/wapbox gw/pushkannel.conf

test/test_ppg -q [content-file] [configuration-file]

the content file is the same given in the userGuide and the
configuration file is also the same in the userguide Appendix c:

All kannel users please advice or forword all the push configuration
files or advice me as to what the problem may be.


Has anyone written a pushinitiator . How is it done what do you have to
do ?


Test_ppg is a prototype push initiator. For real one, you must create
control and content documents from your data.

Aarno





Re: How to use MMS?

2003-01-21 Thread Aarno Syvänen
you must set wapbox and ppg (groups wapbox and ppg-core) for wap mms. 
Set at2 smsc as virtual smsc, for sending notifications and
delivery reports to the phone.

Aarno

On Tuesday, January 21, 2003, at 01:41 AM, wangjw wrote:

i want to send and receive MMS through Kannel Gateway, but i dont know 
how to configure and use the Kannel,
i have Kannel1.2.1 and Nokia 7210 ,use a Nokia 5110 as a modem SMSC, 
and build a website in the gateway server with apache,if someone of us 
know how to use MMS by Kannel ,teach me,please :)
   many thanks.






Re: How to use MMS?

2003-01-21 Thread Aarno Syvänen
There is an example:

group = core
admin-port = 11000
wapbox-port = 11002
admin-password = bar
log-file = /var/log/kannel/bearerbox-core.log
log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
unified-prefix =  
00,+;001,1;002,2;003,3;004,4;005,5;006,6;007,7;008,8;009,9
access-log = /var/log/kannel/bearerbox-access.log
store-file = /var/run/kannel/kannel.store
wdp-interface-name = *

group = wapbox
bearerbox-host = localhost
log-file = /var/log/kannel/wapbox.log
log-level = 0
syslog-level = none
device-home = http://wap.google.com/
timer-freq = 100

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = false
users = 1024

group = wap-push-user
wap-push-user = picom
ppg-username = *user*
ppg-password = *password*

include = /etc/modems.conf

group = smsc
smsc = at2
smsc-id = *id*
modemtype = *modemtype*
device = /dev/ttyS0
speed = *modemspeed*
port = *modemport*



could you post some link to documentation ?
I didn't found configuration for wap mms in Kaneel user's guide


No, we should add this.


http://www.kannel.3glab.org/download/1.3.0/userguide-1.3.0/ 
userguide.html
It works only with at2 smsc as virtual SMSC ?


At2 is the virtual smsc you should use, at is quite old. Of course you  
can use a
real smsc, if you want.

Aarno




Re: Kannel and MMS

2003-01-07 Thread Aarno Syvänen

Hi Jason,


From: Friedrich, Jason Brian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Kannel and MMS
Date: Mon, 6 Jan 2003 17:02:07 +0100

Hello list,

its me again. I am still searching some information about sending
mms with kannel. Its very urgent for me, so i am asking again.

As far as i unterstand, it is possible to send mms with kannel.
Is that right or is there a misunderstanding on my side?


You can use Kannel as wap gateway for MMS. (This meaning both
push and pull.) But Kannel is not a MMSC.

If i am

right, how can i do this? Is it (like the WAP-push message)
described in XML or do i have to do it in SMIL? What input awaits
kannel? I searched the developer sites of Ericsson and Nokia to
know how a MMS message has to look like but i found just specs
about the transport layer and the protocols etc. Are there any
documents about how to send mms with kannel or can somebody give
me a short summary how he/she has done it?


MMSC send tokenized content to Kannel. There are some example
mms notifications sent to the dev list.

Aarno

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




Re: R: Setting No Cache in WAP Push

2002-12-06 Thread Aarno Syvänen
Yeah, expect no-cache is a short integer, so value-length is not needed.

Aarno

On Wednesday, December 4, 2002, at 11:00 AM, Claudio Montanari wrote:

In my understanding you should add a Cache-Contol http header to the push message header.
 
According to "WAP-230-WSP"
 
  01Transaction ID (Push ID)
  06PDU Type (Push PDU)
  18Header Length (24 bytes)
  AEContent Type=application/vnd.wap.sic (0x80 | 0x2E)
  88    Cache-Control=  (encoding v.1.1 table 39)
  81    Next is 1-octet Integer Value > 127
  80    No-Cache (octet 128) (chap. 8.4.2.15)
  96Host (0x80 | 0x16), WAP - 230, Appendix A, table 39 (wsp)
  6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30  localhost:8080
  00
  8DContent-Length (wsp, table 39)
  DD221 bytes
  B4Push-Flag (wsp, table 39)
  80no flags set (wsp, chapter 8.4.2.59  chapter 8.4.2.1; SPEC-PushOTA-19991108)

 
As an alternative, could be easier  to control the phone cache by the WML deck you send with the Service Indication.
If you want to be sure the page is newly loaded every time it is displayed, you should use the meta tags

meta http-equiv="Cache-control" content="no-cache" forua="true"/>

in the head> section of the WML deck file.

In this case, you would take into account the different behavior of the micro browser in the mobile phone in respect of the cache management.

I send this reply to the list just to have comments about it.

Bye, Claudio.

 

 -Messaggio originale-
Da: Chris Wilson [mailto:[EMAIL PROTECTED]]
Inviato: martedì 3 dicembre 2002 18.34
A: [EMAIL PROTECTED]
Oggetto: Setting No Cache in WAP Push

Hi, I saw a post you had shown below.
 
 I am interested in what would have to be added to the message described below to set  NO-CACHE in the HTTP header. I looked in the document "WAP-230-WSP-20010705-a.pdf Page 86" but I was unable to determining how to fill in the CACHE fields. Basically the problem I am running into is when a phone gets my WAP push it will execute the link I send the first time. If the user trys to execute that link again it uses it's local cache instead of requesting from the server again.
 
Here is an example of what I am trying to encode:
   0x00,    // Transaction ID (Push ID) 
   0x06,   // PDU Type (Push PDU) Apndx A Table 34
   0x01,   // Header Length (not sure why this is one)

   (byte)0xAE, // Content Type=application/vnd.wap.sic (0x80 | 0x2E)
   0x02,   // Version number - WBXML version 1.2>
   0x05,   // SI 1.0 Public Identifier>
   0x6A,  // Charset=UTF-8 (MIBEnum 106)> WAP-230 table 42
   0x00,  // String table length>
   0x45,  // SI element start, with content 0x05 | 0x40>
   (byte)0xC6,   // indication element start, with content and attributes 0x06 | 0x40>
   0x0C, // (0C http://)
   0x03  // next is an ASCII string 0x00 terminated
        ~
    URL LINK>
    String Description of URL>
 
I appreciate any enlightenment you can send my way.
 
-- Chris
 

http://www.mail-archive.com/users@kannel.3glab.org/msg02194.html
 
Claudio Montanari
TAI S.r.l.
Viale Gramsci 12 - 56125 - Pisa
Via Pazzagli 2 - 50141 - Firenze
Tel: +39 050 503222
Fax. +39 050 24421
E-mail: [EMAIL PROTECTED]
http://www.tai.it



00 Default SMSC
51 UDHI and SUBMIT
00 MR
0C Destination number length (12 digits)
91 Destination number format (international)
 Destination number ()
00 Protocol ID
04 Data Coding Schema (DCS 8-bit encoded)
A7 Validity Period (24 h)
7C User Data Length (124 bytes)
06 User Data Header Length (6 bytes)
05 UDH Item Element id (Port Numbers)
04 UDH IE length (4 bytes)
0B84 destination port number
23F0 origin port number
01 Transaction ID (Push ID)
06 PDU Type (Push PDU)
15 Header Length (21 bytes)
AE Content Type=application/vnd.wap.sic (0x80 | 0x2E)
96 Host, WAP - 230, Appendix A, table 39 (wsp)
6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30 localhost:8080
00 End of the text string (wsp, chapter 8.4.2.29  chapter
8.4.2.1)
8D Content-Length (wsp, table 39)
DD in hex, 221 bytes (wsp, chapter 8.4.2.20  chapter
8.4.2.1)
B4 Push-Flag (wsp, table 39)
80 no flags set (wsp, chapter 8.4.2.59  chapter
8.4.2.1; SPEC-PushOTA-19991108.
chapter 9.1.3)
02 Version number - WBXML version 1.2>
05 SI 1.0 Public Identifier>
6A Charset=UTF-8 (MIBEnum 106)>
00 String table length>
45 SI element start, with content 0x05 | 0x40>
C6 indication element start, with content and attributes 0x06 | 0x40
| 0x80>
0C http://
03 (next is an ASCII string 00 terminated)
77 61 70 2E 74 61 69 2E 69 74 wap.tai.it
00
11 si-id=>
03 (next is an ASCII string 00 terminated)
39 32 40 74 61 69 2E 69 74 [EMAIL PROTECTED]
00
08 action=signal-high>
0A created=>
C3 OPAQUE data follows>
07 Length field (7 bytes)>
19990625152315 1999-06-25 15:23:15
10 si-expires=>
C3 

Re: R: R: Setting No Cache in WAP Push

2002-12-06 Thread Aarno Syvänen
Tokenized header value is one octet, octet 128>. You just add value after tokenized
header name.

aarno

On Wednesday, December 4, 2002, at 12:01 PM, Claudio Montanari wrote:

Well, I spent a while to "decipher" the standard and I am "quite" sure the no-cache value is a long integer.
 
I wish to share with you my interpretation of the spec WAP-230-WSP-20010705-a:
 
According to chap.8.4.2.1 "Basic Rules" short integers are in the range 0-127 and should be encoded "1xxx".
 
According to chap. 8.4.2.15 "Cache-Control Field" the no-cache value is Octet 128>, expecting to be a long integer because out of the 0-127 range.
 
As a consequence the Long Integer = Short-Length  Multi-octet-integer --> 8180
 
But this is just my interpretation.
Please, let me know where I am wrong and thank you for your comment.
 
Bye, Claudio,
 
 


-Messaggio originale-
Da: Aarno Syvänen [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 4 dicembre 2002 11.30
A: Claudio Montanari
Cc: 'Chris Wilson'; [EMAIL PROTECTED]
Oggetto: Re: R: Setting No Cache in WAP Push

Yeah, expect no-cache is a short integer, so value-length is not needed.

Aarno

On Wednesday, December 4, 2002, at 11:00 AM, Claudio Montanari wrote:

In my understanding you should add a Cache-Contol http header to the push message header.
 
According to "WAP-230-WSP"
 
  01Transaction ID (Push ID)
  06PDU Type (Push PDU)
  18Header Length (24 bytes)
  AEContent Type=application/vnd.wap.sic (0x80 | 0x2E)
  88    Cache-Control=  (encoding v.1.1 table 39)
  81    Next is 1-octet Integer Value > 127
  80    No-Cache (octet 128) (chap. 8.4.2.15)
  96Host (0x80 | 0x16), WAP - 230, Appendix A, table 39 (wsp)
  6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30  localhost:8080
  00
  8DContent-Length (wsp, table 39)
  DD221 bytes
  B4Push-Flag (wsp, table 39)
  80no flags set (wsp, chapter 8.4.2.59  chapter 8.4.2.1; SPEC-PushOTA-19991108)

 
As an alternative, could be easier  to control the phone cache by the WML deck you send with the Service Indication.
If you want to be sure the page is newly loaded every time it is displayed, you should use the meta tags

meta http-equiv="Cache-control" content="no-cache" forua="true"/>

in the head> section of the WML deck file.

In this case, you would take into account the different behavior of the micro browser in the mobile phone in respect of the cache management.

I send this reply to the list just to have comments about it.

Bye, Claudio.

 

 -Messaggio originale-
Da: Chris Wilson [mailto:[EMAIL PROTECTED]]
Inviato: martedì 3 dicembre 2002 18.34
A: [EMAIL PROTECTED]
Oggetto: Setting No Cache in WAP Push

Hi, I saw a post you had shown below.
 
 I am interested in what would have to be added to the message described below to set  NO-CACHE in the HTTP header. I looked in the document "WAP-230-WSP-20010705-a.pdf Page 86" but I was unable to determining how to fill in the CACHE fields. Basically the problem I am running into is when a phone gets my WAP push it will execute the link I send the first time. If the user trys to execute that link again it uses it's local cache instead of requesting from the server again.
 
Here is an example of what I am trying to encode:
   0x00,    // Transaction ID (Push ID) 
   0x06,   // PDU Type (Push PDU) Apndx A Table 34
   0x01,   // Header Length (not sure why this is one)

   (byte)0xAE, // Content Type=application/vnd.wap.sic (0x80 | 0x2E)
   0x02,   // Version number - WBXML version 1.2>
   0x05,   // SI 1.0 Public Identifier>
   0x6A,  // Charset=UTF-8 (MIBEnum 106)> WAP-230 table 42
   0x00,  // String table length>
   0x45,  // SI element start, with content 0x05 | 0x40>
   (byte)0xC6,   // indication element start, with content and attributes 0x06 | 0x40>
   0x0C, // (0C http://)
   0x03  // next is an ASCII string 0x00 terminated
        ~
    URL LINK>
    String Description of URL>
 
I appreciate any enlightenment you can send my way.
 
-- Chris
 

http://www.mail-archive.com/users@kannel.3glab.org/msg02194.html
 
Claudio Montanari
TAI S.r.l.
Viale Gramsci 12 - 56125 - Pisa
Via Pazzagli 2 - 50141 - Firenze
Tel: +39 050 503222
Fax. +39 050 24421
E-mail: [EMAIL PROTECTED]
http://www.tai.it



00 Default SMSC
51 UDHI and SUBMIT
00 MR
0C Destination number length (12 digits)
91 Destination number format (international)
 Destination number ()
00 Protocol ID
04 Data Coding Schema (DCS 8-bit encoded)
A7 Validity Period (24 h)
7C User Data Length (124 bytes)
06 User Data Header Length (6 bytes)
05 UDH Item Element id (Port 

Re: User Data Header(UDH) in a SMS

2002-11-26 Thread Aarno Syvänen
You should send udh url-encoded, udh=%31%30%30%30%

Aarno

On Monday, November 25, 2002, at 04:05 PM, Florian Schlums wrote:


Hello all
I'm a little bit confused about using the udh-parameter in a  
HTTP-request.
I need an optional Header with a Port-Number in it. So i tried it like  
this:
http://localhost:13013/cgi-bin/ 
sendsms?username=testerpassword=foobarto=+41xxtext=eine+SMSudh= 
1000
But there is something wrong, otherwise I wouldn't get an  
errormessage.:)
Status: 400 Answer: UDH field misformed, rejected
Any idea what the reason could be? Do I need any option in the  
kannel.conf for
using an optional udh?

Best regards
Florian Schlums

 _  _ ___ ___  Florian Schlums;
| || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10;
| __ \__ \   / CH-8640 Rapperswil; Tel: +41 55 222 41 11;
|_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch
   My LinuxPage: http://mypage.bluewin.ch/schlums






Re: PPG configuration

2002-11-21 Thread Aarno Syvänen
SMSC routing is missing in ppg. Of course ppg need it. I probably have 
even time to
do this soon :) (It will be just copying smsbox routing.)

Aarno

On Wednesday, November 20, 2002, at 10:47 AM, Evelyne Notton wrote:

Dear all,

I have configured a PPG as follow:
- the PPG receives the WapPush requests
- it sends it using OTA to end-users via SMPP protocol

As I have several WapPush accounts to connect on the PPG, I want to 
define one different SMPP
account per WapPush account.
So I have defined:
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = x
wdp-interface-name = *
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
unified-prefix = +358,00358,0;+,00

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data

group = wapbox
bearerbox-host = localhost
syslog-level = none

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/test-wap-push.cgi
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = no
users = 1024
ppg-deny-ip = 194.100.32.89;194.100.32.103
ppg-allow-ip = *.*.*.*;
global-sender=mobileway

# SMSBOX SETUP (a kludge !)

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = test


And for each account, I have defined:
## account 1
group = smsc
smsc = smpp
smsc-id = smscid1
host = messaging.wappush.com
port = 7901
receive-port = 7901
smsc-username = login1
smsc-password = pwd1
system-type = VMA
address-range = 
my-number= 333
enquire-link-interval=120
reconnect-delay=30

group = wap-push-user
wap-push-user = wappushuser1
ppg-username = login1
ppg-password = pwd1
deny-ip = 222.222.222.222;
allow-ip = *.*.*.*;

## account 2
group = smsc
smsc = smpp
smsc-id = smscid2
host = messaging.wappush.com
port = 7901
receive-port = 7901
smsc-username = login2
smsc-password = pwd2
system-type = VMA
address-range = 
my-number= 333
enquire-link-interval=120
reconnect-delay=30

group = wap-push-user
wap-push-user = wappushuser2
ppg-username = login2
ppg-password = pwd2
deny-ip = 222.222.222.222;
allow-ip = *.*.*.*;


How can I be sure that when account1 sends a WapPush request, it will 
not connect on SMPP using SMPP
login and pwd of account2 ?
Actually when the PPG receives a request from WapPush account1, it 
sends a SMPP request using login
and pwd of account2.

Thanks for your help,

Evelyne NOTTON






Re: Third millennium puzzle: WAP Push decoding

2002-11-01 Thread Aarno Syvänen

On Thursday, October 24, 2002, at 01:31 PM, Claudio Montanari wrote:


I am trying to understand the WAP Push Service Indication 
encoding/decoding
vs. the standard specifications.

The chore is really similar to solve a puzzle and now I am close to the
solution, but something is still missing.

Hereby you can find my decoding of SI sent by the Kannel bearer box 
using a
Wavecom modem.

Could you help me to fill the ??? fields, eventually quoting the
specification I should read?

Thank you very much for your valuable help.


Claudio Montanari
TAI S.r.l.
Viale Gramsci 12 - 56125 - Pisa
Via Pazzagli 2 - 50141 - Firenze
Tel: +39 050 503222
Fax. +39 050 24421
E-mail: [EMAIL PROTECTED]
http://www.tai.it



00 Default SMSC
51UDHI and SUBMIT
00MR
0CDestination number length (12 digits)
91Destination number format (international)
			Destination number ()
00Protocol ID
04Data Coding Schema (DCS 8-bit encoded)
A7Validity Period (24 h)
	7CUser Data Length (124 bytes)
	06User Data Header Length (6 bytes)
	05UDH Item Element id (Port Numbers)
	04UDH IE length (4 bytes)
	0B84destination port number
	23F0origin port number
		01Transaction ID (Push ID)
		06PDU Type (Push PDU)
		15Header Length (21 bytes)
		AEContent Type=application/vnd.wap.sic (0x80 | 0x2E)
		96Host, WAP - 230, Appendix A, table 39 (wsp)
		6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30  localhost:8080
		00 End of the text string (wsp, 
chapter 8.4.2.29  chapter
 8.4.2.1)
		8DContent-Length (wsp, table 39)
		DDin hex, 221 bytes (wsp, chapter 8.4.2.20  chapter
   
  8.4.2.1)
		B4Push-Flag (wsp, table 39)
		80no flags set (wsp, chapter 8.4.2.59  chapter
   
8.4.2.1; SPEC-PushOTA-19991108.
   
chapter 9.1.3)
		02Version number - WBXML version 1.2
		05SI 1.0 Public Identifier
		6ACharset=UTF-8 (MIBEnum 106)
		00String table length
			45SI element start, with content 0x05 | 0x40
C6indication element start, with content and attributes 0x06 
| 0x40
| 0x80
0C  http://
03  (next is an ASCII string 00 
terminated)
77 61 70 2E 74 61 69 2E 69 74   wap.tai.it
00
11si-id=
03  (next is an ASCII string 00 
terminated)
39 32 40 74 61 69 2E 69 74  [EMAIL PROTECTED]
00
08action=signal-high
0Acreated=
C3OPAQUE data follows
07Length field (7 bytes)
19990625152315	1999-06-25 15:23:15
10si-expires=
C3OPAQUE data follows
04Length field (4 bytes), final 0s are omitted
20030630  	2003-06-30 00:00:00
01indication element attributes end
03(next is an ASCII string 00 terminated, the SI content)
56 75 6F 69 20 76 65 64 65 72 65 20 6C 65 20 4D 61 70 70 65 3F  
Vuoi
vedere le Mappe?
20 4F 70 7A 69 6F 6E 69 20 2D 20 53 63 61 72 69 63 61	 
Opzioni -
Scarica
00
01indication element end
			01SI element end








RE: Mac OS X

2002-09-26 Thread Aarno Syvänen

Darwin defs are for older versions, newest MacOSX should work without them. 
But you must do some
(small) modifications to Makefile.in. (I am using MacOSX myself.)

Aarno

From: Oded Arbel [EMAIL PROTECTED]
To: Baartmans, Hans [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Mac OS X
Date: Wed, 25 Sep 2002 23:43:09 +0300

IIRC there was some effort to port Kannel to Mac OS X (Darwin) , by Bruno 
maybe ? check the mailing list archives. there are some Darwin specific 
#fdefs in the code, but I don't know what's the current status of Mac OS X 
support.

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

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

::..
Chemicals, n.:
 Noxious substances from which modern foods are made.




-Original Message-
From: Baartmans, Hans [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 5:45 PM
To: '[EMAIL PROTECTED]'
Subject: Mac OS X



I have successfully built/installed Kannel on a Solaris system.  Now I am 
trying to port it to Mac OS X (10.2).  I was curious if anyone has 
attempted and could give me some pointers.  I am running into some 
compilation errors (see below).  I know that porting anything to Mac OS X 
is not easy, but any help would be beneficial.



[snip]



gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -o 
wmlscript/wsstream_file.o -c wmlscript/wsstream_file.c

gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -o 
wmlscript/wsstree.o -c wmlscript/wsstree.c

gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -o 
wmlscript/wsutf8.o -c wmlscript/wsutf8.c

ar rc libwmlscript.a wmlscript/wmlsc.o wmlscript/wmlsdasm.o wmlscript/ws.o 
wmlscript/wsalloc.o wmlscript/wsasm.o wmlscript/wsbc.o wmlscript/wsbuffer.o 
wmlscript/wsencode.o wmlscript/wserror.o wmlscript/wsfalloc.o 
wmlscript/wsgram.o wmlscript/wsgram.y wmlscript/wshash.o 
wmlscript/wsieee754.o wmlscript/wslexer.o wmlscript/wsopt.o 
wmlscript/wsstdlib.o wmlscript/wsstream.o wmlscript/wsstream_data.o 
wmlscript/wsstream_file.o wmlscript/wsstree.o wmlscript/wsutf8.o 
wmlscript/wmlsc.c wmlscript/wmlsdasm.c wmlscript/ws.c wmlscript/wsalloc.c 
wmlscript/wsasm.c wmlscript/wsbc.c wmlscript/wsbuffer.c 
wmlscript/wsencode.c wmlscript/wserror.c wmlscript/wsfalloc.c 
wmlscript/wsgram.c wmlscript/wsgram.o wmlscript/wshash.c 
wmlscript/wsieee754.c wmlscript/wslexer.c wmlscript/wsopt.c 
wmlscript/wsstdlib.c wmlscript/wsstream.c wmlscript/wsstream_data.c 
wmlscript/wsstream_file.c wmlscript/wsstree.c wmlscript/wsutf8.c

ranlib libwmlscript.a

ranlib: archive member: libwmlscript.a(wsgram.o) offset in archive not a 
multiple of sizeof(unsigned long) (must be since member is an object file)

make: *** [libwmlscript.a] Error 1



[snip]



Best Regards,

Hans Baartmans











_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





Re: R: R: MMS Push Problem

2002-09-13 Thread Aarno Syvänen

Your Expiry is

88 04 81 02 01 00

This means:
88: Expiry
04: Value-Length (of the header)
81: Expiry time relative, delta-seconds value expected
02: Length of delta-seconds value
01 00: delta seconds in hex

Delta seconds is quite low, one day would be more normal. In addition,  
it would be
better to use absolute time, in future, for testing purposes  (absolute  
time token is 80).

Aarno

On Friday, September 13, 2002, at 10:06 AM, FERLA Alessandro Consultant  
wrote:


 The result of the conversion is Sun, 29 Dec 2582 21:56:16 UTC

 I think it is correct but maybe something else is wrong in my message.

 This is my last encode of the message and obviously is not working.

 8c82
 9831423500
 8d90
 8a80
 8e0164
 880481020100
 83687474703A2F2F31302E322E32342E3132362F7075626C69632F72696265732F6D617 
 2636F
 2F706965727761702E6D6D7300

 I expect the telephone to start to browse and go to retrieve the  
 content. Is
 it correct?
 And the telephone seems to receive two messages but it doesn't do  
 anything.


 And the pap file is always unchanged.

 Thank you again.

 Alessandro.

 -Messaggio originale-
 Da: Paul Keogh [mailto:[EMAIL PROTECTED]]
 Inviato: giovedì 12 settembre 2002 12.32
 A: [EMAIL PROTECTED]
 Oggetto: RE: R: MMS Push Problem



 I tryed with date -r filename but I just get back the date
 of creation of
 the file. I can't understand how the X-MMS-Expiry date is
 encoded. Is there
 any documentation about that?


 Look at 7.2.10 of WAP-209-MMSEncapsulation-20020105-a for Expiry field
 encoding.

 Then look at WSP for long integer encoding.



 =
 STRICTLY PERSONAL AND CONFIDENTIAL

 This message may contain confidential and proprietary material for the  
 sole
 use of the intended recipient. Any review or distribution by others is
 strictly prohibited. If you are not the intended recipient please  
 contact
 the sender and delete all copies.
 The contents of this message that do not relate to the official  
 business of
 our company shall be understood as neither given nor endorsed by it.

 =






Re: R: MMS Push Problem

2002-09-12 Thread Aarno Syvänen

Are you sure that the expiry date is in the future ? Use date -r to 
check this.

Aarno

On Wednesday, September 11, 2002, at 07:02 PM, FERLA Alessandro 
Consultant wrote:

 I tryed again with the conversion form that I found on the site but 
 it's not
 working.


 8c 82
 // X-MMS-Message-Type: m-notification-ind
 98 39 39 39 39 40 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 00//
 X-MMS-Transaction-Id: [EMAIL PROTECTED]
 8d 90
 // X-MMS-Version: 1.0
 8a 80
 // X-MMS-Message-Class: Personal
 8e 01 64
 // X-MMS-Size: 100
 88 06 80 04 3d 2b 32 4a
 // X-MMS-Expiry: an Absolute value, in the future
 83 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d
 2f 00 // X-MMS-Content-Location: http://www.flyerone.com/
 84 be
 // Content-type: application/vnd.wap.mms-message



 Even if I copy the example of simple message that is on the site it's 
 the
 same.




 test/test_http http://localhost:13013/cgi-
 bin/sendsms?username=*''password=*''
 to=*''udh=%06%05%04%0b%84%23%f0''
 text=%0f%06%03%be%af%84%8c%82%98%39%39%39%35%40%66%6c%79%65%72
 %6f%6e%65%2e%6
 3%6f%6d%00
 %8d%90%8a%80%8e%01%64%88%06%80%04%3d%64%8d%80%
 83%YourURI%00


 I always get the messages but the telephone is dead!

 Thanx

 -Messaggio originale-
 Da: David Chkhartishvili [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledì 11 settembre 2002 12.40
 A: FERLA Alessandro Consultant
 Cc: '[EMAIL PROTECTED]'
 Oggetto: Re: MMS Push Problem


 Hi,

 You have to convert m-notification-ind.txt in binary form, otherwise 
 you
 willn't get anything.

 FERLA Alessandro Consultant wrote:

 Hi all,
  I am trying to make working the MMS push but I have no results from
 that. I write this command:

 ./test_ppg  -e base64 -a mms -c mms http://127.0.0.1:8080/wappush
 notification-ind.txt  papmms.txt

 With the content of the two files:

 notification-ind.txt:

 X-Mms-Message-Type: m-notification-ind
 X-Mms-Transaction-Id: [EMAIL PROTECTED]
 X-Mms-Version: 1.0
 X-Mms-Message-Class: Personal
 X-Mms-Message-Size: 20
 X-Mms-Expiry: 2003
 X-Mms-Content-Location: http://www.brainstorm.co.uk/MMS
 Subject: Test



 papmms.txt


 ?xml version=1.0?
 !DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN
 http://www.wapforum.org/DTD/pap_1.0.dtd;
 pap
  push-message push-id=[EMAIL PROTECTED]
 deliver-before-timestamp=2005-10-31T06:45:00Z
 deliver-after-timestamp=2001-02-28T06:45:00Z
 progress-notes-requested=false
address
 address-value=[EMAIL PROTECTED]
/address
  /push-message
 /pap


 Kannel logs two messages sent but and the telephone seems to receive 
 them
 because when it is near my monitor I can see the image vibrate but 
 nothing
 happen.
 The telephones I used are NOKIA7650 and Ericsson T68i

 Is there anyone that can help me?

 Thanx

 =
 STRICTLY PERSONAL AND CONFIDENTIAL

 This message may contain confidential and proprietary material for 
 the sole
 use of the intended recipient. Any review or distribution by others is
 strictly prohibited. If you are not the intended recipient please 
 contact
 the sender and delete all copies.
 The contents of this message that do not relate to the official 
 business of
 our company shall be understood as neither given nor endorsed by it.

 =






 -- 
 David Chkhartishvili
 Tel: 995 99 182418



 =
 STRICTLY PERSONAL AND CONFIDENTIAL

 This message may contain confidential and proprietary material for the 
 sole
 use of the intended recipient. Any review or distribution by others is
 strictly prohibited. If you are not the intended recipient please 
 contact
 the sender and delete all copies.
 The contents of this message that do not relate to the official 
 business of
 our company shall be understood as neither given nor endorsed by it.

 =






Re: Problem Installing Kannel on Redhat 7.2 using gateway.tar.gz or snapshot:source(tarball)

2002-09-04 Thread Aarno Syvänen

Including devel (headers) ? It is, did you install two packages for
libxml2 ?

Aarno

On Wednesday, September 4, 2002, at 10:27 AM, Jorge San José wrote:

 Hi dear list,

 Thanks for your  help, but I am not still able to install kannel on
 Redhat-7.2.
 I am using gateway.tar.gz or snapshot:source(tarball), and both of them
 have
 the same problem:

   ..
   ..
   gw/ota_compiler.c:357:structure has no member named 'children'
   make:***[gw/ota_compiler.o] Error 1

 I have installed libxml and libxml2.

 Please, help me.Thanks

 Jorge San José







Re: push sl

2002-07-21 Thread Aarno Syvänen

Jørgen Greve kirjoittaa perjantaina, 19. heinäkuuta 2002, kello 15:30:Hi 
on the list!

 I have installed and configured kannel 1.2 on Linux 2.4.18 (RH 7.3) and
 connected it to a CMG SMSC.

 Using test_ppg, I try to send push messages to a Siemes M50 mobil 
 phone.
 The push SI is delivered correct, but doing a Push SL, generates an 
 error
 in the wapbox: WARNING: Unknown tag sl in SI source.

 I used the xml scripts, taken from kannel 1.2 userguide and also scripts
 from other demos (cmg), with no luck for push SL.
 Is kannel 1.2 able to do push SL ???
 If yes, someone got scripts that actually works with test_ppgm ???

You must specify content type, if it is not SI document, by adding -c sl 
to test_ppg
command line parameters, when it is sl document.

A





Re: Compile kannel 1.1.6

2002-07-18 Thread Aarno Syvänen

Andiz kirjoittaa perjantaina, 19. heinäkuuta 2002, kello 04:25:Hi,
 I am beginner in Kannel, and I would like to implement kannel on my
 linux box (I am using Slackware 8.0,
 whether I Install kannel1.1.6 with the option
 ./configure --enable-ssl --with-mysql --with-dlr --enable-docs
 --enable-localtime --enable-cookies

 and that type  make and I have error message
 gw/ota_compiler.c:10: xmlmemory.h: No such file or directory
 gw/ota_compiler.c:11: tree.h: No such file or directory
 gw/ota_compiler.c:12: debugXML.h: No such file or directory
 gw/ota_compiler.c:13: encoding.h: No such file or directory
 make: *** [gw/ota_compiler.o] Error 1

 Am I do some thing wrong with my option of my compilation?
 would u pls explain to me and giving me solution how to solve my
 problem... pls

Do you have libxml installred (devel packet included) ?

A





Re: WAP Push SI via SMS

2002-07-17 Thread Aarno Syvänen

Jack Cleaver kirjoittaa keskiviikkona, 17. heinäkuuta 2002, kello 
12:52:Hi.

 I've struggled through the various standards documents on WAP/WML and 
 WAP
 Push, and played around a bit with Kannel Win32. However, I have not 
 managed

 to discover the extent to which WAP Push is 'open', so that anyone can 
 send
 unsolicited WML content to devices, or 'closed', so that only the 
 Network
 provider, or at least the owner of the WAP Gateway configured in the 
 device,

 can send content.

 Could someone please point out to me:
 * Where I can find a simple explanation of the use of SMS to set up a
   WAP session

Kannel userguide contains some example xml documents

 * Whether I need my own SMSC to do this

Modem will do ok (use Kannel at2 virtual SMSC)

 * Whether I can perform WAP Push to a device whose configured WAP
   Gateway is not under my control

You can send settings and bookmarks to the phone (see again Kannel
userguide), but the user may reject them.

 Another less technical question (but specifically Kannel-related):
 I've downloaded the latest stable version of Kannel for Linux, but have 
 had
 limited success getting it running, mainly due to the limitations in my
 knowledge of Linux. I've tried to experiment with WAP Push using the 
 Kannel
 download for Win32; I got it working as an SMSC using a Wavecom GSM 
 modem,
 but it rejects the ppg sections in my configuration files.
 Does the current Win32 version of Kannel support PPG functionality, or 
 not?

Do not about Windows port, but what are you configuration files and how 
Kannel
rejects it ?

Aarno





Re: IP Addressing in PAP Control Document

2002-07-07 Thread Aarno Syvänen

Rosen Ira-IROSEN1 kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 
00:54:Thank you to the user group for your help.
 I have the test_ppg program working properly, largely based on PAP/SI
 control files provided with Kannel source code.
 Currently, I'm trying to send a PUSH message to an IP address. Since the
 sample control files use a phone number rather than an IP address as the
 PUSH recipient, I found some User Group archive messages with examples 
 of
 Push Control Document entries appropriate for such a configuration. One 
 such
 example (for the address address-value ... entry) follows:

   [EMAIL PROTECTED]

 Therefore, I placed the following line in my push control document:
 WAPPUSH=3DMY_IP_ADDRESS/TYPE=3DIPv4@MY_DOMAIN/
   Where MY_IP_ADDRESS and MY_DOMAIN contain the values appropriate for
 my desktop and site (rather than ppg.carrier.com).

 When I run my push control document with the WAPPUSH entry listed above
 through the PPG using the 'test_ppg' program, the program generates the
 following message:
   2002-07-05 21:06:32 [1] DEBUG: TEST_PPG: and type bad message
 response
 Note that the same thing occurs if I remove the '3D' text from my
 definition, above. I've also tried using IPv6 rather than IPv4 as shown 
 in
 the example.

 In various places on the web, I've located several different 
 suggestions for
 formatting the WAPPUSH entry (in the address address-value .. entry).
 These suggestions are consistent with the format that I've used. 
 Therefore,
 my questions are
 * Are there any changes I should/need to make to the format of my
 WAPPUSH entry, so that test_ppg can send a PUSH message through the 
 Kannel
 PPG to an IP-based recipient (in this case the WAP emulator provided 
 with
 the Nokia Toolkit)?

Address should be [EMAIL PROTECTED] 
There
are an example control document with ip address in test/iptestppg.txt

 * Are there any specific entries in my kannel.conf file (under the
 group = ppg heading most likely) that need to be changed when sending a 
 PUSH
 to an IP address rather than to a phone number?

No. All addressing is specified in pap control document.

Aarno





Re: 1 kannel 2 SMS

2002-07-07 Thread Aarno Syvänen
Andy Elacion, Jr. kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 06:36:So we should do it like this, on our bearerbox config? Or we should include this also on the smsbox config?

Adding following to the bearerbox config should be enough. 

#    GROUP CONFIG
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = *
 

# SMSC1 CONNECTIONS
group = smsc
smsc =  cimd2
host = 192.168.0.1
port = 9971
smsc-username =*
smsc-password = x
keepalive = 1

# SMSC1 CONNECTIONS
group = smsc
smsc =  cimd2
host = 192.168.0.2
port = 9971
smsc-username =*
smsc-password = x
keepalive = 1

Oded Arbel wrote:

 Those are two seperate _SMSC_ configurations, not only smsbox. it is important to understand that only the bearerbox actually connects to the SMSC, so you must have both SMSC configurations in the same configuration file read by bearerbox (assuming of course, that you are running only one bearerbox). if setup correctly, it is possible to use one SMSC connection for MOs and one for MTs, with or w/o cooperation from the SMSC provider. but it has little relevance on the way messages are routed to the smsboxes.--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED] +972-9-9581711
+972-67-340014 ::..
Boling's postulate:
If you're feeling good, don't worry.  You'll get over it.
 

-Original Message-
From: Andy Elacion, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: 1 kannel 2 SMS
 
"Andy Elacion, Jr." wrote:

We have a kannel (1 bearerbox) and 2 separated SMS boxes config.  I want to explore more this set-up.

Is it possible to use the 1 smsbox to act as receive/incoming sms messages and the 2 smsbox to act as to send/out-going sms message.

All help is deeply apreciated.

-Andy

Here is my config to be implemented for the above config.  Please take a look at this, any comment is deeply appreciated.
 
 
 

--
Andy Elacion, Jr.
Network Supervisor
imGAME.com.ph
--
The information contained in this Internet message is confidential and intended only for the use of the individual or entity identified. If the reader of this message is not the intended recipient, any dissemination, distribution or copying of the information contained in this Internet message is strictly prohibited. If you received this message in error, please notify the sender immediately.
 



Re: secure site with kannel?

2002-07-07 Thread Aarno Syvänen

Mario Gaucher kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 16:24: Hi!

 It seems that when I connect to a secure site (https/ssl) through 
 kannel... connection between the secure site and kannel is encrypted. 
 But is it secure between my phone and kannel?

 I can check the encryption code on my phone (Motorola P280)... but 
 there is no code when I use kannel with my ISP phone number... but if I 
 use GPRS (with Microcell/Fido's gateway) to do the same thing, I can 
 see the encryption code.

For secure connections between the phone and the gateway, you must use 
wtls. Kannel
sorts of have it.

Aarno





Re: wap-push.cgi

2002-07-04 Thread Aarno Syvänen

Rosen Ira-IROSEN1 kirjoittaa torstaina, 4. heinäkuuta 2002, kello 
01:42:List members:

 I've been configuring and testing Kannel PPG functionality and have been
 looking for details on the wap-push.cgi script. A list posting on 
 1/24/2002
 states that the wap-push.cgi script is simply part of the push URL, and 
 the
 purpose of the script is to route requests to the right service.
 Unfortunately, I've seen no such cgi scripts in Kannel software.  Since 
 this
 sounds like an important piece of functionality for the PUSH side, does
 anyone have a copy of such a script? My system is based on Debian 
 GNU/Linux
 3.0 ('woody'). I imagine, however, that any such CGI script could be
 modified without too much difficulty, so if all that's available is a 
 script
 written on/for for another OS, I'd appreciate getting a chance to start 
 with
 such a script.

There are no script called cgi-bin/wap-push.cgi, I am sorry for a 
misguiding example.
This is only a stamp for push services.

aarno





Re: Wap push questions

2002-07-04 Thread Aarno Syvänen
Peter Löfman kirjoittaa torstaina, 4. heinäkuuta 2002, kello 10:28:Hi List,
 
I am currently testing the PPG functionality of kannel.
I have successfully received a push message to my T39 using the pushkannel.conf config file
and pushing using test_ppg with the example control and content documents.
But what I don't understand is how the tokenised SI document is working?

SI and SL documents are send to the phone as a SM. Because of that they are tokenised, meaning
that essentially that they are compressed. (SMs cannot be very long). They are send to PPG as xml
documents, virtue of this being that they are human readeble (I certainly cannot read following one
without specs.)

 
In documentation there is an example document:
 

http://matrix:8080/phplib/kannelgw.php?user=*deleted*pass=*deleted*=
to=%2B358408676001text=3D%02%06%17%AE%96localhost%3A8080%00%AF%80%8D%CF%B4
%80%02%05j%00E%C6%0C%03wap.iobox.fi%00%11%031%40wiral.com%00%07%0A%C3%07%19%
99%06%25%15%23%15%10%C3%04+%02%060%01%03Want+to+test+a+fetch%3F%00%01%01
udh=%06%05%04%0B%84%23%F0

What does the php script do?

It is a script accepting SM over HTTP and sending them, using Kannel sendsms service. We used 
Kannel HTTP SMSC here because we had before PPG implementation an existing "SMS manager",
it is, an application for sending SMs.

Does this mean that the Push Initiator accesses the PPG via http?
Yes, but here XML documents are used. Userguide contain examples of these, too.

Aarno




Re: symbol @ problem

2002-07-02 Thread Aarno Syvänen

Otgo kirjoittaa keskiviikkona, 3. heinäkuuta 2002, kello 04:10:I am 
going to use kannel with Comverse iSMSC connecting via its SMPP EI. I
 am testing it to decide to use or to don't use. It works OK. I can send
 short messages and also I could send some binanry messages. But when I 
 send
 message to the mobile from kannel using http push way then message is
 truncated by symbol . If I see smsbox.log it looks OK. symbol  is in. 
 In
 bearerbox log also it doesn't give any error but there is no message 
 body so
 I don't know about content from bearerbox log file. But when I see iSMSC
 debug file the symbol  is changed to symbol 0x00 however it is not 
 actually
 truncated. There are remaining part of message is in the message body
 following the 0x00 symbol.

This is because in GSM character set  is 0x00. So SMPP driver uses c 
strings
after GSM conversion. Fix would be to use octstrs instead. I cannot do 
this myself,
however, because I do not have a connection to an EMI center.

Aarno





Re: When will kannel go MMS?

2002-06-26 Thread Aarno Syvänen

Ilari Mikkonen kirjoittaa keskiviikkona, 26. kesäkuuta 2002, kello 
14:31:is there any plans to make kannel support mms? Especially sending 
from server?

There are plans to make Kannel able to support external MMSCs, at least. 
I will start working on this in near future.

Aarno





Re: SAR

2002-06-13 Thread Aarno Syvänen

Andrea Trasatti kirjoittaa torstaina, 13. kesäkuuta 2002, kello 13:01:I 
read a couple of posts on this mailing list about SAR.

 Will it ever be implemented? Is it in the near future?

 Does anybody know if there's any kind of workaround I set up, on the 
 webserver, for
 example, to make phone which use it to work?

If your phone insists SAR, use force-sar configuration option (see 
userguide). It will
be implemented, if only because MMS requires it. I do not give definite 
days anymore.
but I think near future is an accurate description.

Aarno





Re: Sending MMS notification throught kannel PPG?

2002-06-13 Thread Aarno Syvänen

David Monterroso Cabello kirjoittaa torstaina, 13. kesäkuuta 2002, kello 
17:46:

I would like to know if it is posible to send a MMS notificacion 
 (m-notification-ind) throught the Kannel PPG?,the notification 
 headers are already tokenized as explained in 
 WAP-209-MMSEncapsulation-20020105a so i thought it could be posible to 
 just send it using kannel but it did not work.

This is what i did:

./test_ppg -e base64 -a mms -c mms http://localhost:8080/cgi-
 bin/wap-push.cgi?username=foopassword=bar mms_encoded.txt amppg.txt

It seems the bearerbox sent an sms with the indication but i did not 
 receive anything in my phone, i have tried many variations of the 
 notification like change the expiry date

Did you use the newest snapshot ? Paul found an error in MMS code and 
fix is now
in CVS,

  and such kind of things but with no positive results. Well right now i 
 dont know where the problem can't be cause i have never been able to 
 sent a notification i dont know if it is even well formed or it is a 
 problem at the kannel PPG side. :-\

I think you should with trying to send a binary containing the tokenised 
indication to the
phone. Then you will is the problem in Kannel or your document. I have 
seen MMS
documents conforming specs. You should probably first avoid concatenated 
messages.
Send only mandatory fields with shortest possible strings.

Has someone worked with this?.

I have worked on MMS and will be working on it, too ;)

Aarno





Re: Error reading userguide.pdf

2002-06-05 Thread Aarno Syvänen

Lars-Hendrik Schneider kirjoittaa keskiviikkona, 5. kesäkuuta 2002, 
kello 00:32:Mauricio Ramos [EMAIL PROTECTED] schrieb am 04.06.02:

 hi mauricio

 When I open the Kannel's userguide.pdf file with Acrobat Reader 5.0 for
 Windows I receive this message popup:

 There was an error processing a page.  The page contents object has 
 the
 wrong type.

 Agree, same errors, on different machines with different versions.

 Any help?

 use the hmtl-guide ;) - just kidding, no, perhaps this is hint for the 
 author to check the pdf-version.

Xpdf works, though.  Perhaps someone using Acrobat  can correct this.

Aarno





Re: How to properly open userguide.xml?

2002-06-05 Thread Aarno Syvänen

Mauricio Ramos kirjoittaa keskiviikkona, 5. kesäkuuta 2002, kello 22:07:

Use emacs or any editor you use for program sources.

Aarno





Re: No message text in get-url or post-url

2002-05-30 Thread Aarno Syvänen

 Troy Kelly wrote:
 
Hi,

 I have tried both the 1.1.6 and the CVS release - and there is no
 message text in the message submitted/posted to the url.
 
 The service details are below.  I have tried both get-url and post-url
 Post-url has a content length of 0 when it gets the incoming message.
 
 group = sms-service
 keyword = default
 get-url = http://192.168.100.1/test.asp?%a%r;
 catch-all = true
 send-sender = true
 strip-keyword = false
 accept-x-kannel-headers = true
 concatenation = true
 omit-empty = true

For one thing %a means all words in SMS message and %r means rest.
Secondly, you should use cgi variables, see example in userguide.

Aarno




Re: version 1.1.6 processing limits

2002-05-30 Thread Aarno Syvänen


 On Wed, 2002-05-29 at 03:56, Cold Feet wrote:

 data and wap is disabled. and so far just a few number of sms is being received and 
replied to. i am hitting
 
 about 6,000 received sms in a day. all i know that this is just a small number to 
speak with. i would like to
 
  ask your input then, how much data can kannel process at any given time whereby it 
is really pushed to the
 
 limits. how many messages can it process in a given second or minute? to process a 
huge number of sms data,
 
 i need to have a good amount of RAM. i am using redhat linux 7.2 on an intel pentium 
III 866 mhz with 256MB of
 
  SDRAM. what do you think is a good server configuration to setup kannel.
 
  thanks
  --
  Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access
 
 
 I'm doing at least 150k msg/day with 14 EMI2 + 1 AT2 (Siemens M20)
 connections
 
 Some times I'd do 200K msg massive sending with like 50 msg/sec
 connection.
 
 I'm using debian linux (unstable bleeding edge ;)) in a HP LP1000 (P3
 700 or 800) with 256MB
 
 Then I have two identical systems for redundancy.

And Wiral used Kannel for testing Wireless Village server. There were
two Kannel machines, peak performance was 500 msg/s and sustained rate
300 msg/s. Hardware is similar, performance wise, as was one used by 
Bruno.

Aarno




Re: What is OTA

2002-05-27 Thread Aarno Syvänen

This is actually a shorthand for something. In WAP case OTA means Push
OTA protocol, in SMS, for instance, OTA configuration. The context
should show 
the correct meaning.

Aarno


Ady Wicaksono wrote:
 
 Actually what is OTA (Over The Air) ?
 
 WAP use OTA
 SMS also could use OTA, example when i play with SchlumbergerSema SmartCard i found 
that i could download new application (JavaCard Applet) with SMS over the air
 Java MIDP use OTA for networking feature




Re: Access problem

2002-05-20 Thread Aarno Syvänen

Can you send logs and configuration files ?

Aarno
- Original Message -
From: Kike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 18, 2002 9:00 PM
Subject: Access problem


 Hi,
 I've just reinstalled the gateway but when I try to access it with a
 simulator(Nokia Toolkit) I get this error: An internal gateway error
prevents the gateway from fulfilling your request
 What's happening? Thanks



 --
 Saludos,
  Kike  mailto:[EMAIL PROTECTED]


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com








Re: commercial SMSC

2002-05-13 Thread Aarno Syvänen

Perhaps SMSC hosting would suit better your needs.

Aarno
- Original Message -
From: Effendy Kho [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 1:34 PM
Subject: commercial SMSC


I'm looking for an economic Commercial SMSC, sms will be delivered mostly
to Indonesia.
Any suggestion ?

Regards,

Ase







Re: CIMD/CIMD2

2002-05-03 Thread Aarno Syvänen

Hi,
we use CIMD2 (it is much newer version).

aarno

- Original Message - 
From: Christian Spielvogel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 2:32 AM
Subject: CIMD/CIMD2


 Hello,
 
 does anyone currently use CIMD or CIMD2 in order to
 connect to a SMSC - Provider ?
 If so, could you please tell me which one you use ?
 
 Thanks a lot,
 
 -Chris-
 
 -- 
 
 
 
 





Re: WAP -Push

2002-04-30 Thread Aarno Syvänen

Hi,

 Torbjorn Zetterlund wrote:
 
 Hi,
 
 We got a problem when testing wap-push, we thought we did the right
 thing by following the manual in details. But it seems we may have
 misunderstood something during the way.
 
 We took the sample pushkannel.conf file an modified to fit our
 internal testing, basically replacing all ip with localhost, we
 running on a localhost with no internet connection. Everything runs up
 ok, we start the test_ppg_server -p 10022 and execute the test_ppg -q
 http://localhost:10022 content.txt control.txt .
 
 content.txt and control.txt is in accordance to the default values
 shown in the manual.

Can you send these ? What version are you using ?

 
 Every time we run the test_ppg we get the same error
 Debug: TEST_PPG Push 0 done: reply from
 http://localhost:10022?username=foopassword=bar
 Entity: Line 1: error: Start tag expected, '' not found
 hello, world
 ^
 warning: PaP Compiler pap-compile pap message
 warning Test-PPG receive_push_reply: cannot compile pap message

Some other server is interfering (hello world server perhaps)

 
 My question are:
 Is this error caused by the system not finding the content file
 In the Kannel configuration file pushkannel, there is a reference in
 the SMSC part of the configuration to a send-url . What do we enter
 here, our local sms gateway that will send out the wappush over an sms
 message.

Pushkannel.conf uses HTTP SMSC, it is, it makes a http request for
services
of a SMS manager. For testing purpose, you can use Kannel's
test_http_server
program from test directory. It will dump cgi vars, so you can check was
the
request correct.

 
 Correct me if I am wrong The test_ppg tool push the file content using
 the control.txt to the test_ppg_server, the kannel wapbox fetches the
 message and start the push which is sent to the smsbox specified and
 sent to the SMSC. If this is the case I can change the SMSC to my GSM
 Modem and can push it out to a handset.

Yes. You can use GSM modem as a virtual SMSC. Configure at smsc as
specified
in the userguide (autodetection of the modem works nicely.) 

aarno




Re: Newbie Stuck

2002-04-22 Thread Aarno Syvänen

Hi Gavin,

Gavin Woodhatch wrote:

 1. can kannel act as a HTML (over HTTPS)  - WML (possibly WTLS, no
 must) Gateway (Translator)?

Not as such. But there is in contrib dir perl script html2wml.pl.

Aarno




Re: Sending OTA to Nokia 9210

2002-04-18 Thread Aarno Syvänen

Bruno David Simões Rodrigues wrote:
 
 On Thu, 2002-04-18 at 10:40, Aarno Syvänen wrote:
  Hi Lew,
 
  Lew Teck Kheng wrote:
  
   My CSD_DIALSTRING is +60123546768.
  
   is this correct ?
 
  Specs say that CSD_DIALSTRING must be of international phone number
  format.
  This  is (it starts with +). But I wonder, if someone thinks that this
  means
  *international phone number*, it is, one starting with +358.
 
 It works with short numbers too.
 I've sent with +35191x00, 91x00 and x

Does this apply to all phones ? Or should we have a table ?

Aarno




Re: Wireless certificate WTLS

2002-04-15 Thread Aarno Syvänen

Averroes wrote:
 
 Hi,
 
 Does anyone know if there are tools (GNU) to
 generate wireless certificate WTLS?

If none are found, perhaps you should read Wapforum specs 
(www.wapforum.org), Wireless Security protocol suite and
specially WAP WPKI (stands for Wireless Public Key Infra-
structure). These refer to rfcs. Certificates are almost
like wried ones.

Aarno




Re: Compile problem with source packages

2002-04-15 Thread Aarno Syvänen

Averroes wrote:
 
 Hi All,
 
 I am new in kannel project and wanted to install it
 in my linux box Slackware 7.0 kernel 2.2.20
 with : egcs-2.91.66
 
 As the requirements said, I installed : libxml2-2.4.19
 until here all is OK!
 
 Now I do ./configure in ./gateway-1.0.3
 
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 [...]
 checking for xml2-config... /usr/local/bin/xml2-config
 checking for xml-config... /usr/bin/xml-config
 [...]
 checking for pthread.h... yes
 
 All seems to be OK!
 But when i wanted to do : make the problems come! :-(
 
 /var/tmp/gateway-1.0.3# make
 Makefile:208: .depend: No such file or directory
 for dir in gw gwlib test utils wmlscript checks; do \
 gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -Wall -MM
 $dir/*.c | sed s:^[^ ]:$dir/:; done  .depend
 gw/wml_compiler.c:24: warning: No include path in which to find xmlmemory.h
 gw/wml_compiler.c:25: warning: No include path in which to find parser.h
 gw/wml_compiler.c:26: warning: No include path in which to find tree.h
 gw/wml_compiler.c:27: warning: No include path in which to find debugXML.h
 
 [...]
 
 gw/wapbox.c:435: warning: suggest explicit braces to avoid ambiguous `else'
 gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -Wall -o
 gw/wml_compiler.o -c gw/wml_compiler.c
 gw/wml_compiler.c:24: xmlmemory.h: No such file or directory
 gw/wml_compiler.c:25: parser.h: No such file or directory
 gw/wml_compiler.c:26: tree.h: No such file or directory
 gw/wml_compiler.c:27: debugXML.h: No such file or directory
 make: *** [gw/wml_compiler.o] Error 1
 
 That's all.

Did you install libxml devel library, too ?

Aarno




Re: Setting up a PPG test environment

2002-04-08 Thread Aarno Syvänen

LOESCH Jean-Jacques wrote:
 
 Hi the list, I need some help to set up some push trials.
 Unfortunately the documentation is somewhat incomplete, and I'm not a
 PPG guru.
 
 Thanks for any help
 
 PS: I join my config file, but I don't think there's any problems with
 that. The real problem is : how do I initiate a push ? where do I define
 PAP doc or SI docs ??? all that things (I told you I'm a newbie with
 push :) )

Yes, config is OK for testing. For testing you can use test_ppg program
you
can find in test directory. This is perhaps best way to start, because
you
now PAP doc and SI doc are defined by the command line:

test/test_ppg push_url content file control file.

Content file is your SI document, control file your PAP document. Push
url
address of the PPG.

Aarno




Re: MMS Push (again)

2002-03-28 Thread Aarno Syvänen

Lew Teck Kheng wrote:
 
 hi All :
 
 Can i use the test_ppg to test a MMS Push ?
 
 I have used this command but do seem to work .
 
 ./test_ppg -q -a mms -c multipart
 http://localhost:8080/cgi-bin/wap_push.cgi si_er1.txt pap_er1_03.txt
 
 any pointers ??

What was content of your si_er1.txt file ? This must be mms indication
(telling the phone to fetch the MMS content). 

Aarno




Re: Architecture question for WAP Push

2002-01-11 Thread Aarno Syvänen

HI Phil, 

Phil Metting van Rijn wrote:
 
 Hello.  I've been reading through the archives for the various Kannel lists
 (particularly devel and users), and I've also read through the WAP Push
 specification released by the WAP Forum.  I'm a bit confused about the
 architecture diagram that is posted on the Kannel website, as well as the
 diagrams shown in the WAP Push specification.  I'm about to install RedHat
 Linux 7.2 on a Pentium III 600 and try and set up Kannel, but I'm hoping
 someone can answer a couple of questions for me so I don't go through too
 much work only to realize that I didn't understand the architectural
 requirements properly and I can't do what I had hoped.
 
 Am I going to need access to the mobile operator's network (e.g. Cingular,
 Nextel, Verizon, etc.) in order to test WAP Push? 

You can test WAP Push with Nokia Toolkit, see Userguide for details.
 The architecture diagram
 shows Kannel operating as a Push Proxy Gateway, with no other machines
 between the gateway and the mobile phone.  If I set up Kannel on my Linux
 box, which is *outside* the operator's network, is Kannel still able to
 push content directly onto the phone? 

You must either have access to SMSC or use a phone as a virtual SMSC (as
a
modem actually). 

 I'm confused how the WAP Push
 message is routed to the phone from the gateway.  If there is a diagram or
 explanation somewhere that would clarify this, that would be most
 helpful.  Maybe a more detailed description of the WAP Stack, which seems
 to be the only thing shown between the gateway and the phone.

Perhaps this one should indeed be added. PPG sends message to wapbox
proper
(implementing WAP stack) and wapbox sends message to the bearerbox.
Bearerbox
has SMSC drivers, which either send message to SMSC or to the modem, to
reach
the wireless network. 

  I've seen
 mentions of a DLR-3p cable in various posts, but only in reference to using
 the mobile phone as an SMSC.

As I said earlier, this is one way to reach the wireless network
 
 I apologize if this isn't the proper place for this question.  The other
 lists didn't seem appropriate. 

Users list is *exactly* rigth place for general questions.

Aarno




Re: PUSH question

2001-12-28 Thread Aarno Syvänen

Hi,

Sorry, but at least I received an unicolored message ;)

Aarno

Kiousi Maria ([EMAIL PROTECTED]) wrote:
 
 Dear all,
 
 how can i configure Kannel to act as a (WAP) Push Proxy Gateway?
 
 I found also this code in previous mails and i have the following
 questions:
 
 POST /cgi-bin/wap-push.cgi HTTP/1.1
 Content-Type: multipart/related; boundary=7f7a1e:ea72fdd036:-7d89;
 type=application/xml; charset=UTF-8
 User-Agent: Java1.3.0
 Host: jpo.condat.de:8080
 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
 Connection: keep-alive
 Content-length: 1254
 
 --7f7a1e:ea72fdd036:-7d89
 Content-Type: application/xml; charset=UTF-8
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN
  http://www.wapforum.org/DTD/pap_1.0.dtd;
 pap
 push-message deliver-after-timestamp=2001-11-28T11:29:40Z
 deliver-before-timestamp=2001-11-28T14:29:40Z
 progress-notes-requested=false
 push-id=7f7a1e:ea72fdd036:[EMAIL PROTECTED]
 address
 address-value=[EMAIL PROTECTED]/
 quality-of-service bearer=Any bearer-required=true
 delivery-method=unconfirmed network=Any
 network-required=true priority=medium/
 /push-message
 /pap
 
 --7f7a1e:ea72fdd036:-7d89
 Content-Type: text/vnd.wap.si; charset=UTF-8; charset=UTF-8
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN
 http://www.wapforum.org/DTD/si.dtd;
 si
 indication action=signal-high created=2001-11-28T12:29:40Z
 href=http://localhost:8081/wps/SRV*3546L-1*C258-4*S;
 si-expires=2001-11-28T14:29:40Z
 si-id=7f7a1e:ea72fdd036:[EMAIL PROTECTED]Check
 Skyware!/indication
 /si
 
 --7f7a1e:ea72fdd036:-7d89--
 HTTP/1.1 202 Foo
 Content-Length: 424
 Content-Type: application/xml
 Content-Length: 424
 
 ?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 1.0//EN
 http://www.wapforum.org/DTD/pap_1.0.dtd;pappush-response
 push-id=7f7a1e:ea72fdd036:[EMAIL PROTECTED] sender-name=jpo.condat.de;
 WAP/1.3 (Kannel/cvs) reply-time=2001-11-28T13:47:15Z
 sender-address=/cgi-bin/wap-push.cgi/push-responseresponse-result code
 =1001 desc=The request has been accepted for
 processing/response-result/pap
 
 1) considering the text in red: what is that, and what does it do
 (especially, the wap-push.cgi or any other program in its place)
 2) considering the text in purple: i believe that is not necessary ?
 3)The main part of the PUSH message is the text in green. Lets say i have a
 servlet, and i try to initiate the PUSH message. Do you know if it is enough
 to write the green part in the form out.println() and execute its
 doPost method or i should also include the red part?
 
 thx,
 Maria




Re: Kannel and Trium WAP

2001-12-20 Thread Aarno Syvänen

Hi Dominic,

Dominic Hulewicz wrote:

 I am seeing UDP packet flows but the browser eventually times out and
 gives an error, although there is some sort of negotiation going on
 between Kannel and the client:
 
 18:22:43.947072 eth0  trium.49200  kannel.9201: udp 54
 18:22:43.954045 eth0  kannel.9201  trium.49200: udp 14
 18:22:49.205782 eth0  trium.49200  kannel.9201: udp 54
 18:22:50.967717 eth0  kannel.9201  trium.49200: udp 14
 18:22:53.964678 eth0  trium.49200  kannel.9201: udp 54
 18:22:57.977716 eth0  kannel.9201  trium.49200: udp 14
 18:23:00.033401 eth0  trium.49200  kannel.9201: udp 54
 18:23:04.572002 eth0  trium.49200  kannel.9201: udp 54
 18:23:04.987613 eth0  kannel.9201  trium.49200: udp 14
 18:23:08.930829 eth0  trium.49200  kannel.9201: udp 54
 18:23:11.997795 eth0  kannel.9201  trium.49200: udp 14
 18:23:13.989725 eth0  trium.49200  kannel.9201: udp 54
 18:23:19.007659 eth0  kannel.9201  trium.49200: udp 14
 18:23:19.010429 eth0  trium.49200  kannel.9201: udp 54
 18:23:26.017765 eth0  kannel.9201  trium.49200: udp 14
 18:23:33.027784 eth0  kannel.9201  trium.49200: udp 14
 18:23:40.037696 eth0  kannel.9201  trium.49200: udp 14

Can you send tcpdump or ngrep of these packets ? No, I do *not* have a
Trium,
but it would be interesting to see what it is sending to Kannel.
 
Aarno




Re: OTA configuration

2001-12-17 Thread Aarno Syvänen

Hi,

Peter Löfman wrote:

 Does anybody know what phones kannel can send OTA wap configuration to? Is it only 
certain Nokia phones?

Ericsson phones should work, too. (Nokia and Ericsson cooperated)

 Can I send also other configurations, like GPRS settings?

After a few days it would be possible to send GRPS settings and
bookmarks as a
xml document (I am currently writing the code.)

Aarno




Re: Memory leakage in kannel

2001-12-17 Thread Aarno Syvänen

Hi,

Manish Khare wrote:
   I do not think that is the reason as I have tested it
   with 1 message/second. I am using fakesmsc(Not of
   kannel). Even at 1 msg/sec it is givving same error.
   Can you please tell me which is the optimal rate
   of sending message to Kannel ?

It is certainly higher than 1 msg/s !

Should I use kannel's fakesmsc ?

Fakesmsc is just a testing tool. It is possible that it is 
leaking memory. Does debug trace after ^C report allocated
areas ?
   Has any one tested the optimal performance of Kannel ?

Usually the bottleneck is smsc, not Kannel.

 On Fri, 14 Dec 2001 pravesh khokhar wrote :
  The reason could be that the rate with which you are
  pumping messages to
  kannel is much greater than the rate at which responses
  are coming from the
  SMSC and so as per implementation of kannel kannel
  keeps on allocating
  memory for the messages u pump into and deaalocates
  only when an response
  comes from smsc. So over a period of load pumping u
  might get ur all memory
  allocated and so this error.
 
  Regards,
  Pravesh
  - Original Message -
  From: Manish Khare [EMAIL PROTECTED]
  To: Aarno Syvänen [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, December 13, 2001 7:42 PM
  Subject: Re: Re: Memory leakage in kannel
 
 
 
 
  Hello,
I am using SMS service. I have deleted all the
   WAP files. I am using only SMPP part of it.
I have configured it with --alloc=native as
it was not working for more then 2-3 hours in
another configuration and comming out by giving
error.
Now it works with 1 msg/sec or 10 msg/sec (any
no of messages between this range) and gives
error (can not allocate memmory any number
System error 11 : resource temporary unavailable);
 
I am using kannel 1.2 version.
Can you or any one tell me what could be the
reason ?
Thanks
 From
  Manish Khare
 
 
 
  On Thu, 13 Dec 2001 Aarno Syvänen wrote :
   Hi,
  
   Manish Khare wrote:
  
  Can anyone tell why my kannel gateway works for
  some time and after some time it crashes by giving
  error
  Resource temporaryly unavailable.
  I am having 248 MB RAM and 1 gb of swap space
  and running it on Solaris 8 Intel system.
  Any help please ?
  From
   Manish Khare
  
   Are you using WAP or SMS services ?
  
   Aarno
 
 
 





Re: Memory leakage in kannel

2001-12-13 Thread Aarno Syvänen

Hi,

Manish Khare wrote:

   Can anyone tell why my kannel gateway works for
   some time and after some time it crashes by giving
   error
   Resource temporaryly unavailable.
   I am having 248 MB RAM and 1 gb of swap space
   and running it on Solaris 8 Intel system.
   Any help please ?
   From
Manish Khare

Are you using WAP or SMS services ?

Aarno




Re: Kannel errors (WARNING: Cannot route message, discard it)

2001-12-07 Thread Aarno Syvänen

Hi users,

Ian Daly wrote:

 I can't remember exactly if 1.0.3 supported POST requests, I'm not sure if
 it did. This should work with 1.1.5 though.

Anyway it is better to use newer versions.I do not know does anybody
want
to support older version versions - CVS should be quite good, expect
newer
features may not work as claimed.

Aarno




Re: Timer expiry- strange behaviour, need help!

2001-12-05 Thread Aarno Syvänen

Hi, 

[EMAIL PROTECTED] wrote:
 
  This probably means that the phone does not get the message at all. What
  is your
  configuration ?
  

 wdp-interface-name = *

Using real IP address here may help.

Aarno




Re: Using Kannel in a ISP environment

2001-09-18 Thread Aarno Syvänen

Scott James Remnant wrote:

 Hi there,

 We're a fairly large ISP in the UK and are considering replacing our
 existing WAP gateway (currently running on Nokia's NAMP) with a Kannel
 gateway.

 Just wanted to know whether there's any gotchas that we might trip over
 or any issues that we may come across that people are currently aware of.

 I've got it working on a Solaris 8 box, and have had only a few problems
 so far (most of which seem to be more problems with the upstream WML
 page).

 Is there any way of easily making Kannel less strict?  Obviously we want
 to try and reduce the number of calls to our helpdesk as much as possible.

 Scott
 --
 sjr  systems and software engineer
  demon internet, thus plc

What kind of WML pages cause problems? Perhaps it is indeed possible to
add compability flags, though Lars used to have strong opinions about this
subject.

Aarno