Re: dlr-url through cgi-bin/sendsms

2002-06-06 Thread Bruno David Rodrigues

On Wed, 2002-06-05 at 20:33, Hani Mustafa wrote:
> I'm not sure if this is a known issue, but when I send an sms through the https 
>interface, it gets the url alright, but it doesn't POST any variables.
> 
> 2002-06-05 15:01:58 [8] DEBUG:   data: 47 45 54 20 2f 63 68 65   GET /che
> 2002-06-05 15:01:58 [8] DEBUG:   data: 63 6b 73 6d 73 2e 70 68   cksms.ph
> 2002-06-05 15:01:58 [8] DEBUG:   data: 70 20 48 54 54 50 2f 31   p HTTP/1
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2e 31 0d 0a 48 6f 73 74   .1..Host
> 2002-06-05 15:01:58 [8] DEBUG:   data: 3a 20 31 37 32 2e 31 36   : 172.16
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2e 31 2e 31 0d 0a 55 73   .1.1..Us
> 2002-06-05 15:01:58 [8] DEBUG:   data: 65 72 2d 41 67 65 6e 74   er-Agent
> 2002-06-05 15:01:58 [8] DEBUG:   data: 3a 20 4b 61 6e 6e 65 6c   : Kannel
> 2002-06-05 15:01:58 [8] DEBUG:   data: 20 31 2e 31 2e 36 0d 0a1.1.6..
> 2002-06-05 15:01:58 [8] DEBUG:   data: 58 2d 4b 61 6e 6e 65 6c   X-Kannel
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2d 46 72 6f 6d 3a 20 30   -From: 0
> 2002-06-05 15:01:58 [8] DEBUG:   data: 30 30 0d 0a 0d 0a 00
> 2002-06-05 15:01:58 [8] DEBUG: Octet string dump ends.
> 
> --
> As you can see the From is always 000, with no other variables being posted...I have 
>included dlrmask as 24 and also 31 (tried both).. the url I'm using to send sms's is:

dlr-url is a GET and it is configured just like the get-url.

You'll say http://../receive-dlr.php?from=%p&text=%a

Check the %* codes, especially the ones that only make sense for dlr
(like the message replied from the smsc, if any, or the dlr id, etc)

X-Kannel-From is a header, and it shouldn't be present, in my opinion
(specially if you don't set "send-sender" in configuration)



> 
> 
>https://aphrodite:13013/cgi-bin/sendsms?username=tester&password=foobar&from=0124353&to=2020123456&text=Hello+world&dlrmask=31&dlrurl=http://172.16.1.1/checksms.php
> 
> I was also wondering about PAM support, what modules should be used?
> 
> 
> Thanks alot ,
> ~Hani Mustafa
> 
> 
> 
> 
> 
> 






Re: Nokia Phone card as smsc

2002-06-06 Thread Andrea Viscovich


- Original Message - 
From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 3:25 PM
Subject: Re: Nokia Phone card as smsc


> Well, I have succesfully sent an SMS by using AT commands. 

Using minicom? or what?
I'm sorry but I'm not a Linux user so I can help you only under windoze,
but if you had to specify a dev under minicom, then you should be 
able to use it with kannel.
Andrea





Re: Nokia Phone card as smsc

2002-06-06 Thread Ilari Mikkonen

Well, I have succesfully sent an SMS by using AT commands. The CardPhone also works 
fine as ppp link medium, so a WAP server can use it as modem

> I Don't know if a PCI under Linux can be seen as /dev/??
> but if I have to bet I will say it's not possible to use it with
> kannel :-(
> Andrea
> - Original Message -
> From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 06, 2002 3:10 PM
> Subject: Re: Nokia Phone card as smsc
> 
> 
> > Ups, forgot that Windows exists ;)
> > I'm running Mandrake 8.0 on single board computer.
> >
> > > If I remember, there is no serial interface, only PCI,
> > > so if you want to use it under windows you should ask to cygwin people
> > > if this can be seen as a com.
> > > Andrea
> > > - Original Message -
> > > From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, June 06, 2002 2:55 PM
> > > Subject: Nokia Phone card as smsc
> > >
> > >
> > > > Has anyone successfully used Nokia Card Phone as an SMSC? If so could
> you
> > > please give an example of configuration. Thanks,
> > > >
> > > > Ilari Mikkonen
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> 
> 
>






Re: Nokia Phone card as smsc

2002-06-06 Thread Andrea Viscovich

I Don't know if a PCI under Linux can be seen as /dev/??
but if I have to bet I will say it's not possible to use it with
kannel :-(
Andrea
- Original Message -
From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 3:10 PM
Subject: Re: Nokia Phone card as smsc


> Ups, forgot that Windows exists ;)
> I'm running Mandrake 8.0 on single board computer.
>
> > If I remember, there is no serial interface, only PCI,
> > so if you want to use it under windows you should ask to cygwin people
> > if this can be seen as a com.
> > Andrea
> > - Original Message -
> > From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 06, 2002 2:55 PM
> > Subject: Nokia Phone card as smsc
> >
> >
> > > Has anyone successfully used Nokia Card Phone as an SMSC? If so could
you
> > please give an example of configuration. Thanks,
> > >
> > > Ilari Mikkonen
> > >
> > >
> > >
> >
> >
> >
>
>
>





Re: Nokia Phone card as smsc

2002-06-06 Thread Ilari Mikkonen

Ups, forgot that Windows exists ;)
I'm running Mandrake 8.0 on single board computer.

> If I remember, there is no serial interface, only PCI,
> so if you want to use it under windows you should ask to cygwin people
> if this can be seen as a com.
> Andrea
> - Original Message -
> From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 06, 2002 2:55 PM
> Subject: Nokia Phone card as smsc
> 
> 
> > Has anyone successfully used Nokia Card Phone as an SMSC? If so could you
> please give an example of configuration. Thanks,
> >
> > Ilari Mikkonen
> >
> >
> >
> 
> 
>






Re: Nokia Phone card as smsc

2002-06-06 Thread Andrea Viscovich

If I remember, there is no serial interface, only PCI,
so if you want to use it under windows you should ask to cygwin people
if this can be seen as a com.
Andrea
- Original Message -
From: "Ilari Mikkonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 2:55 PM
Subject: Nokia Phone card as smsc


> Has anyone successfully used Nokia Card Phone as an SMSC? If so could you
please give an example of configuration. Thanks,
>
> Ilari Mikkonen
>
>
>





Nokia Phone card as smsc

2002-06-06 Thread Ilari Mikkonen

Has anyone successfully used Nokia Card Phone as an SMSC? If so could you please give 
an example of configuration. Thanks,

Ilari Mikkonen






Re: Kannel over Gprs - flow of bugs ?

2002-06-06 Thread Pierre-Yves BOURGEOIS

The spec given on the mistu site indicates I can do
both 1.1 and 1.2 with the eclipse.

NOTE : all this is for 9201 port (connection oriented)
because in any case I have a protocol error with 9200
:
2002-06-06 13:32:52 [0] WARNING: WSP PDU with unknown
type -1  

thus, 9201 =>
with 1.1 I have this :
2002-06-06 13:01:00 [2] DEBUG: Octet string at
0x81b6bf8:
2002-06-06 13:01:00 [2] DEBUG:   len:  155
2002-06-06 13:01:00 [2] DEBUG:   size: 156
2002-06-06 13:01:00 [2] DEBUG:   immutable: 0
2002-06-06 13:01:00 [2] DEBUG:   data: a9 4d 69 74 73
75 2f 31   .Mitsu/1
2002-06-06 13:01:00 [2] DEBUG:   data: 2e 32 2e 42 20
28 45 63   .2.B (Ec
2002-06-06 13:01:00 [2] DEBUG:   data: 6c 69 70 73 65
29 00 80   lipse)..
2002-06-06 13:01:00 [2] DEBUG:   data: 94 80 83 80 95
80 87 80   
2002-06-06 13:01:00 [2] DEBUG:   data: 86 80 98 80 a1
80 9d 80   
2002-06-06 13:01:00 [2] DEBUG:   data: 9e 80 a0 80 61
70 70 6c   appl
2002-06-06 13:01:00 [2] DEBUG:   data: 69 63 61 74 69
6f 6e 2f   ication/
2002-06-06 13:01:00 [2] DEBUG:   data: 78 2d 77 61 70
2d 70 72   x-wap-pr
2002-06-06 13:01:00 [2] DEBUG:   data: 6f 76 2e 62 72
6f 77 73   ov.brows
2002-06-06 13:01:00 [2] DEBUG:   data: 65 72 2d 73 65
74 74 69   er-setti
2002-06-06 13:01:00 [2] DEBUG:   data: 6e 67 73 00 80
61 70 70   ngs..app
2002-06-06 13:01:00 [2] DEBUG:   data: 6c 69 63 61 74
69 6f 6e   lication
2002-06-06 13:01:00 [2] DEBUG:   data: 2f 78 2d 70 6d
64 00 80   /x-pmd..
2002-06-06 13:01:00 [2] DEBUG:   data: 61 70 70 6c 69
63 61 74   applicat
2002-06-06 13:01:00 [2] DEBUG:   data: 69 6f 6e 2f 76
6e 64 2e   ion/vnd.
2002-06-06 13:01:00 [2] DEBUG:   data: 74 72 69 75 6d
2e 61 74   trium.at
2002-06-06 13:01:00 [2] DEBUG:   data: 74 72 61 63 74
69 76 65   tractive
2002-06-06 13:01:00 [2] DEBUG:   data: 2d 6d 65 73 73
61 67 65   -message
2002-06-06 13:01:00 [2] DEBUG:   data: 00 80 ae 80 b0
80 b2 81   
2002-06-06 13:01:00 [2] DEBUG:   data: ea 81 84   
  ...
2002-06-06 13:01:00 [2] DEBUG: Octet string dump ends.
2002-06-06 13:01:00 [2] WARNING: Unknown content type
0x2e.
2002-06-06 13:01:00 [2] WARNING: Skipping faulty
header.
2002-06-06 13:01:00 [2] WARNING: Unknown content type
0x30.
2002-06-06 13:01:00 [2] WARNING: Skipping faulty
header.
2002-06-06 13:01:00 [2] WARNING: Unknown content type
0x32.
2002-06-06 13:01:00 [2] WARNING: Skipping faulty
header.


Then the connection seems to be established but it
times out :
2002-06-06 13:01:00 [5] DEBUG: WTP 33: New state
RESULT_WAIT
2002-06-06 13:01:00 [2] DEBUG: WSP 4: New state
CONNECTING
2002-06-06 13:01:00 [2] DEBUG: WSP: machine 0x81ba7f8,
state CONNECTING, event S_Connect_Res
2002-06-06 13:01:00 [5] DEBUG: WTP: resp_machine 33,
state RESULT_WAIT, event TR_Result_Req.
2002-06-06 13:01:00 [5] DEBUG: WTP_SEND:
add_initiator_address
2002-06-06 13:01:00 [5] DEBUG: WTP 33: New state
RESULT_RESP_WAIT
2002-06-06 13:01:00 [2] DEBUG: WSP 4: New state
CONNECTING_2
2002-06-06 13:01:05 [5] DEBUG: WTP: resp_machine 33,
state RESULT_RESP_WAIT, event RcvInvoke.
2002-06-06 13:01:05 [5] DEBUG: WTP 33: New state
RESULT_RESP_WAIT
2002-06-06 13:01:07 [1] DEBUG: TimerTO_R elapsed.
2002-06-06 13:01:07 [5] DEBUG: WTP: resp_machine 33,
state RESULT_RESP_WAIT, event TimerTO_R.
2002-06-06 13:01:07 [5] DEBUG: WTP 33: New state
RESULT_RESP_WAIT
2002-06-06 13:01:10 [5] DEBUG: WTP: resp_machine 33,
state RESULT_RESP_WAIT, event RcvInvoke.
2002-06-06 13:01:10 [5] DEBUG: WTP 33: New state
RESULT_RESP_WAIT
2002-06-06 13:01:14 [1] DEBUG: TimerTO_R elapsed.
2002-06-06 13:01:14 [5] DEBUG: WTP: resp_machine 33,
state RESULT_RESP_WAIT, event TimerTO_R. 

... repeated several times.


With SAR I got (quite clear) :
2002-06-06 13:30:19 [5] DEBUG: WTP_RESP: no sar
implemented, abortingtransaction
 

Without SAR, v1.2 :
The behavior is similar to v1.1



Do you think It would improve anything to get the last
developpement version (I am currently using the stable
version) ?


=
> From  : Pierre-Yves BOURGEOIS
> Company   : INTELIA, 49 avenue Kléber, 75116 PARIS, FRANCE
> Home  : 34 rue Monge, 75005 PARIS, FRANCE
> HandPhone : +33 (0)6 70 55 94 69
> E-mail: [EMAIL PROTECTED]

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com




Re: Kannel over Gprs - flow of bugs ?

2002-06-06 Thread Ewan



Pierre-Yves BOURGEOIS wrote:
> 
> I really do not know how to find the wap version on
> these phones 

http://www.sagem.com/en/produits-en/telephonie-mobile-en/gsm-my3052-en.htm

suggests this is wap1.1

http://www.mitsubishi-telecom.com/manuals/eclipsexlen.pdf

suggests this phone is 1.2 compliant but can be set to 1.1 through menu
options

of course the phones specs matching the documentation specs is another
issue entirely...

ewan




Re: Kannel over Gprs - flow of bugs ?

2002-06-06 Thread Pierre-Yves BOURGEOIS


I really do not know how to find the wap version on
these phones ... is there anyting I can get from the
logs ?
In the wapbox.log I can see those three lines :
2002-06-04 15:35:06 [2] DEBUG:   data: a9 4d 69 74 73
75 2f 31   .Mitsu/1
2002-06-04 15:35:06 [2] DEBUG:   data: 2e 32 2e 42 20
28 45 63   .2.B (Ec
2002-06-04 15:35:06 [2] DEBUG:   data: 6c 69 70 73 65
29 20 4d   lipse) M
2002-06-04 15:35:06 [2] DEBUG:   data: 4d 50 2f 31 2e
31 00 80   MP/1.1..

Is that it ?

 --- Aarno_Syvänen <[EMAIL PROTECTED]> a écrit : >
Pierre-Yves BOURGEOIS kirjoittaa torstaina, 6.
> kesäkuuta 2002, kello 
> 10:45:
> 
> What WAP version does these phones use. Quite new,
> because of GPRS, I 
> guess.
> >
> >>> I am currently trying to use kannel on a GPRS
> >> network
> >> instead of GSM. This should not make any
> difference
> >> but I have many problems with it ; strictly
> >> speaking,it does not work. I managed to have it
> >> worked
> >> with ccWap Browser (an internet wap portal) but
> no
> >> way
> >> to use wap with my GPRS phones :
> >> Motorola timeport (2)
> >> Sagem MY 3052
> >> Trium eclipse
> >
> >
> >>> I am using the last stable (very easy to install
> >> thanks) version of kannel (1.0.3). The analysis
> of
> >> the
> >> debug logs seems to indicate that some part of
> the
> >> WAP
> >> protocol may not be supported by kannel or some
> >> timer
> >> are not OK.
> >>> Is there a special tricky incompatibility reason
> >> between kannel and GPRS ? I am currently
> hesitating
> >> to
> >> install the last dev version (may be less stable
> ?).
> >> Do you think there would be any improvement for
> >> kannel
> >> + GPRS with it?
> >
> >
>  Here are the logs I produced. It is quite long
> > but
> >> have a look at some messages like (9200):
> >> WARNING: Bad length for Ack PDU, expected 3
> >> INFO: WTP_RESP: resp_machine_find_or_create:ack
> >> received, yet having no machine
>  Or another (9201):
> >> WSP 4: New state CONNECTING_2
> >> 2002-06-05 08:55:15 [5] DEBUG: WTP: resp_machine
> 5,
> >> state RESULT_RESP_WAIT, event RcvInvoke.
> >> 2002-06-05 08:55:15 [5] DEBUG: WTP 5: New state
> >> RESULT_RESP_WAIT
> >> 2002-06-05 08:55:18 [1] DEBUG: TimerTO_R elapsed.
> >> 2002-06-05 08:55:18 [5] DEBUG: WTP: resp_machine
> 5,
> >> state RESULT_RESP_WAIT, event TimerTO_R.
> >> 2002-06-05 08:55:18 [5] DEBUG: WTP 5: New state
> >> RESULT_RESP_WAIT
> >> 2002-06-05 08:55:22 [5] DEBUG: WTP: resp_machine
> 5,
> >> state RESULT_RESP_WAIT, event RcvInvoke.
> >> 2002-06-05 08:55:22 [5] DEBUG: WTP 5: New state
> >> RESULT_RESP_WAIT
> >> 2002-06-05 08:55:25 [1] DEBUG: TimerTO_R elapsed.
> >> 2002-06-05 08:55:25 [5] DEBUG: WTP: resp_machine
> 5,
> >> state RESULT_RESP_WAIT, event TimerTO_R.
> >> 2002-06-05 08:55:25 [5] DEBUG: WTP 5: New state
> >> RESULT_RESP_WAIT
> >> 2002-06-05 08:55:32 [1] DEBUG: TimerTO_R elapsed.
> >>> Or (9200) :
> >> WARNING: WSP PDU with unknown type -1
> >>> And also :
> >> WARNING: Unknown content type 0x33.
> >> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> >> header.
> >> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> >> type
> >> 0x2e.
> >> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> >> header.
> >> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> >> type
> >> 0x30.
> >> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> >> header.
> >> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> >> type
> >> 0x32.
> >> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> >> header.
>  Thanks for your help.
> >
> >
> >
> > =
> >> From  : Pierre-Yves BOURGEOIS
> >> Company   : INTELIA, 49 avenue Kléber, 75116
> PARIS, FRANCE
> >> Home  : 34 rue Monge, 75005 PARIS, FRANCE
> >> HandPhone : +33 (0)6 70 55 94 69
> >> E-mail: [EMAIL PROTECTED]
> >
> >
>
___
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
> et en français !
> > Yahoo! Mail : http://fr.mail.yahoo.com
> >
> 
>  

=
> From  : Pierre-Yves BOURGEOIS
> Company   : INTELIA, 49 avenue Kléber, 75116 PARIS, FRANCE
> Home  : 34 rue Monge, 75005 PARIS, FRANCE
> HandPhone : +33 (0)6 70 55 94 69
> E-mail: [EMAIL PROTECTED]

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com




RE: Getting date/time with %t

2002-06-06 Thread Oded Arbel

It depends on the module you are using. generally speaking, there is some confusion as 
to what time stamp should be returned, as SMSCs are unpredictable in the time stamp 
they generate: some use GMT time stamps, some local time stamps, and in the AT2 
module's case, the time stamp received is the local time of the SMSC of the sending 
user (which could be anywhere in the world). there is currently no way to configure 
your module to modify the time stamps recevied from the SMSC, except through hacking 
the code.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
"I think it would be a good idea."
-- Mahatma Ghandi (1869-1948),
 when asked what he thought of Western civilization


> -Original Message-
> From: erick.fuentes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 10:46 PM
> To: '[EMAIL PROTECTED]'
> Subject: Getting date/time with %t
> 
> 
> All,
> 
> I've been using the %t escape code and noticed that it gives GMT time
> instead of local time.  I thought it would be solved using
> --enable-localtime configure option but it only seems to work 
> with the log
> files.  How can I set this parameter to localtime?
> 
> Thanks,
> 
> Erick
> 
> 




RE: SMPP configuration

2002-06-06 Thread Oded Arbel

Latest CVS version of kannel support the setting of TON and NPI for SMPP using the 
folowing configuration options in the smsc group :
source-addr-ton
source-addr-npi
dest-addr-ton
dest-addr-npi

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
X windows:
THE user interference management system.


> -Original Message-
> From: world2web [Matthias Fraccaro] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:42 PM
> To: [EMAIL PROTECTED]
> Subject: SMPP configuration
> Importance: High
> 
> 
> Hello,
> 
> where can I define the parameters below:
> 
> TON=1, NPI=1, ADDR="999 Sender:999 
> TON=0,NPI=9, ADDR="999"  sender in international format
> TON=5,NPI=1, ADDR="XXX" Sender:XXX alphanumeric originator
> 
> 
> Best regards
> Matthias Fraccaro
> 
> 
> 




RE: How to properly open userguide.xml?

2002-06-06 Thread Oded Arbel

With an XML editor ?

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
History has the relation to truth that theology has to religion-i.e. none to speak of. 
-- Lazarus Long


> -Original Message-
> From: Mauricio Ramos [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:07 PM
> To: '[EMAIL PROTECTED]'
> Subject: How to properly open userguide.xml?
> 
> 
> 
> 
> 




RE: dlr-url through cgi-bin/sendsms

2002-06-06 Thread Oded Arbel

The logs suggest a GET request, not a POST. check your HTTP client implementation, as 
that may be the problem.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
Don't stop to stomp ants when the elephants are stampeding.


> -Original Message-
> From: Hani Mustafa [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:33 PM
> To: Oded Arbel; Kari Asikainen; [EMAIL PROTECTED]
> Subject: dlr-url through cgi-bin/sendsms
> 
> 
> I'm not sure if this is a known issue, but when I send an sms 
> through the https interface, it gets the url alright, but it 
> doesn't POST any variables.
> 
> 2002-06-05 15:01:58 [8] DEBUG:   data: 47 45 54 20 2f 63 68 
> 65   GET /che
> 2002-06-05 15:01:58 [8] DEBUG:   data: 63 6b 73 6d 73 2e 70 
> 68   cksms.ph
> 2002-06-05 15:01:58 [8] DEBUG:   data: 70 20 48 54 54 50 2f 
> 31   p HTTP/1
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2e 31 0d 0a 48 6f 73 
> 74   .1..Host
> 2002-06-05 15:01:58 [8] DEBUG:   data: 3a 20 31 37 32 2e 31 
> 36   : 172.16
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2e 31 2e 31 0d 0a 55 
> 73   .1.1..Us
> 2002-06-05 15:01:58 [8] DEBUG:   data: 65 72 2d 41 67 65 6e 
> 74   er-Agent
> 2002-06-05 15:01:58 [8] DEBUG:   data: 3a 20 4b 61 6e 6e 65 
> 6c   : Kannel
> 2002-06-05 15:01:58 [8] DEBUG:   data: 20 31 2e 31 2e 36 0d 
> 0a1.1.6..
> 2002-06-05 15:01:58 [8] DEBUG:   data: 58 2d 4b 61 6e 6e 65 
> 6c   X-Kannel
> 2002-06-05 15:01:58 [8] DEBUG:   data: 2d 46 72 6f 6d 3a 20 
> 30   -From: 0
> 2002-06-05 15:01:58 [8] DEBUG:   data: 30 30 0d 0a 0d 0a  
>00
> 2002-06-05 15:01:58 [8] DEBUG: Octet string dump ends.
> 
> --
> As you can see the From is always 000, with no other 
> variables being posted...I have included dlrmask as 24 and 
> also 31 (tried both).. the url I'm using to send sms's is:
> 
> https://aphrodite:13013/cgi-bin/sendsms?username=tester&passwo
rd=foobar&from=0124353&to=2020123456&text=Hello+world&dlrmask=31&dlrurl=http://172.16.1.1/checksms.php

I was also wondering about PAM support, what modules should be used?


Thanks alot ,
~Hani Mustafa










Re: Kannel over Gprs - flow of bugs ?

2002-06-06 Thread Aarno Syvänen

Pierre-Yves BOURGEOIS kirjoittaa torstaina, 6. kesäkuuta 2002, kello 
10:45:

What WAP version does these phones use. Quite new, because of GPRS, I 
guess.
>
>>> I am currently trying to use kannel on a GPRS
>> network
>> instead of GSM. This should not make any difference
>> but I have many problems with it ; strictly
>> speaking,it does not work. I managed to have it
>> worked
>> with ccWap Browser (an internet wap portal) but no
>> way
>> to use wap with my GPRS phones :
>> Motorola timeport (2)
>> Sagem MY 3052
>> Trium eclipse
>
>
>>> I am using the last stable (very easy to install
>> thanks) version of kannel (1.0.3). The analysis of
>> the
>> debug logs seems to indicate that some part of the
>> WAP
>> protocol may not be supported by kannel or some
>> timer
>> are not OK.
>>> Is there a special tricky incompatibility reason
>> between kannel and GPRS ? I am currently hesitating
>> to
>> install the last dev version (may be less stable ?).
>> Do you think there would be any improvement for
>> kannel
>> + GPRS with it?
>
>
 Here are the logs I produced. It is quite long
> but
>> have a look at some messages like (9200):
>> WARNING: Bad length for Ack PDU, expected 3
>> INFO: WTP_RESP: resp_machine_find_or_create:ack
>> received, yet having no machine
 Or another (9201):
>> WSP 4: New state CONNECTING_2
>> 2002-06-05 08:55:15 [5] DEBUG: WTP: resp_machine 5,
>> state RESULT_RESP_WAIT, event RcvInvoke.
>> 2002-06-05 08:55:15 [5] DEBUG: WTP 5: New state
>> RESULT_RESP_WAIT
>> 2002-06-05 08:55:18 [1] DEBUG: TimerTO_R elapsed.
>> 2002-06-05 08:55:18 [5] DEBUG: WTP: resp_machine 5,
>> state RESULT_RESP_WAIT, event TimerTO_R.
>> 2002-06-05 08:55:18 [5] DEBUG: WTP 5: New state
>> RESULT_RESP_WAIT
>> 2002-06-05 08:55:22 [5] DEBUG: WTP: resp_machine 5,
>> state RESULT_RESP_WAIT, event RcvInvoke.
>> 2002-06-05 08:55:22 [5] DEBUG: WTP 5: New state
>> RESULT_RESP_WAIT
>> 2002-06-05 08:55:25 [1] DEBUG: TimerTO_R elapsed.
>> 2002-06-05 08:55:25 [5] DEBUG: WTP: resp_machine 5,
>> state RESULT_RESP_WAIT, event TimerTO_R.
>> 2002-06-05 08:55:25 [5] DEBUG: WTP 5: New state
>> RESULT_RESP_WAIT
>> 2002-06-05 08:55:32 [1] DEBUG: TimerTO_R elapsed.
>>> Or (9200) :
>> WARNING: WSP PDU with unknown type -1
>>> And also :
>> WARNING: Unknown content type 0x33.
>> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
>> header.
>> 2002-06-04 18:08:19 [2] WARNING: Unknown content
>> type
>> 0x2e.
>> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
>> header.
>> 2002-06-04 18:08:19 [2] WARNING: Unknown content
>> type
>> 0x30.
>> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
>> header.
>> 2002-06-04 18:08:19 [2] WARNING: Unknown content
>> type
>> 0x32.
>> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
>> header.
 Thanks for your help.
>
>
>
> =
>> From  : Pierre-Yves BOURGEOIS
>> Company   : INTELIA, 49 avenue Kléber, 75116 PARIS, FRANCE
>> Home  : 34 rue Monge, 75005 PARIS, FRANCE
>> HandPhone : +33 (0)6 70 55 94 69
>> E-mail: [EMAIL PROTECTED]
>
> ___
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>





Kannel over Gprs - flow of bugs ?

2002-06-06 Thread Pierre-Yves BOURGEOIS

> Hi all,


> > I am currently trying to use kannel on a GPRS
> network
> instead of GSM. This should not make any difference
> but I have many problems with it ; strictly
> speaking,it does not work. I managed to have it
> worked
> with ccWap Browser (an internet wap portal) but no
> way
> to use wap with my GPRS phones :
> Motorola timeport (2)
> Sagem MY 3052
> Trium eclipse


> > I am using the last stable (very easy to install
> thanks) version of kannel (1.0.3). The analysis of
> the
> debug logs seems to indicate that some part of the
> WAP
> protocol may not be supported by kannel or some
> timer
> are not OK. 
> > Is there a special tricky incompatibility reason
> between kannel and GPRS ? I am currently hesitating
> to
> install the last dev version (may be less stable ?).
> Do you think there would be any improvement for
> kannel
> + GPRS with it?


> > > Here are the logs I produced. It is quite long
but
> have a look at some messages like (9200):
> WARNING: Bad length for Ack PDU, expected 3
> INFO: WTP_RESP: resp_machine_find_or_create:ack
> received, yet having no machine
> > > Or another (9201):
> WSP 4: New state CONNECTING_2
> 2002-06-05 08:55:15 [5] DEBUG: WTP: resp_machine 5,
> state RESULT_RESP_WAIT, event RcvInvoke.
> 2002-06-05 08:55:15 [5] DEBUG: WTP 5: New state
> RESULT_RESP_WAIT
> 2002-06-05 08:55:18 [1] DEBUG: TimerTO_R elapsed.
> 2002-06-05 08:55:18 [5] DEBUG: WTP: resp_machine 5,
> state RESULT_RESP_WAIT, event TimerTO_R.
> 2002-06-05 08:55:18 [5] DEBUG: WTP 5: New state
> RESULT_RESP_WAIT
> 2002-06-05 08:55:22 [5] DEBUG: WTP: resp_machine 5,
> state RESULT_RESP_WAIT, event RcvInvoke.
> 2002-06-05 08:55:22 [5] DEBUG: WTP 5: New state
> RESULT_RESP_WAIT
> 2002-06-05 08:55:25 [1] DEBUG: TimerTO_R elapsed.
> 2002-06-05 08:55:25 [5] DEBUG: WTP: resp_machine 5,
> state RESULT_RESP_WAIT, event TimerTO_R.
> 2002-06-05 08:55:25 [5] DEBUG: WTP 5: New state
> RESULT_RESP_WAIT
> 2002-06-05 08:55:32 [1] DEBUG: TimerTO_R elapsed.
> > Or (9200) :
> WARNING: WSP PDU with unknown type -1
> > And also :
> WARNING: Unknown content type 0x33.
> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> header.
> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> type
> 0x2e.
> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> header.
> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> type
> 0x30.
> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> header.
> 2002-06-04 18:08:19 [2] WARNING: Unknown content
> type
> 0x32.
> 2002-06-04 18:08:19 [2] WARNING: Skipping faulty
> header.
> > > Thanks for your help.



=
> From  : Pierre-Yves BOURGEOIS
> Company   : INTELIA, 49 avenue Kléber, 75116 PARIS, FRANCE
> Home  : 34 rue Monge, 75005 PARIS, FRANCE
> HandPhone : +33 (0)6 70 55 94 69
> E-mail: [EMAIL PROTECTED]

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com