Re: Firsttimer using Kannel on Redhat 7.x

2002-06-05 Thread Shridhar Raju

Kannel is SMS & WAP gateway, as u must be knowing. What do u want to do with
it. Go through the userguide http://www.kannel.3glab.org for better
understanding.

Shridhar Raju


> Hi,
>
> I am new at this and have a very slightest idea how
> kannel works. I have installed the rpm package running
> the rpm command, what do I do next. The verion that I
> am running is the 1.0.3 package. Can someone advice me
> on what to do.
>
> Thanks
> Eddie Ng





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: forced-smsc not working?

2002-06-05 Thread Oded Arbel

Forced-smsc is working, just not in the way you think it is ;-) I would agree that the 
way smsc routing is done is very un-intuitive, but after using if for several months I 
must also say that it is much more powerful then it would have been otherwise. 

What is happening, is that forced-smsc sets the smscid for messages received from that 
sendsms-user to always have the specified smscid (setting to default-smsc is the same 
except that user supplied smsc routing can override it). now, when the bearerbox sees 
that smscid it doesnot automaticly delivery the message to the smsc group with that 
id, but instead looks for delivery rules in the configuration, compiles a list of 
smscs that this message is allowed to be sent to, and then chooses one randomly and 
sends to it. 

In order to control to which smsc a message carrying a specific smsc-id, you need to 
set routing rules with your smsc groups, forcing a matching between a specific smsc 
and message carying specific smsc-id, by using the allowed-smsc-id, preferred-smsc-id 
and denied-smsc-id configuration directives. 

For example, to set it so that only messages carrying the smsc-id 'sonera' will be 
sent to the cgw gateway, and that it will be the first choise to route a message with 
that smsc-id to, set your group like this :

group = smsc
smsc = cgw
host = xxx
port = yyy
receive-port = zzz
appname = send
smsc-id = sonera
allowed-smsc-id = sonera
preferred-smsc-id = sonera

note that with this configuration, message containing the smsc-id 'sonera' that are 
received while the 'sonera's connection is down will still be routed to the AT2 modem. 
in order to prevent that - setup allowed-smsc-id rule on the AT2 module too, which 
will specify a different smsc-id.

The important thing to remember here is that smsc-id set in each message (either by 
the caller or by the sendsms configuration) is not the same as the smsc-id set in the 
smsc group configuration, but rather a routing hint for kannel.

I think an answer to that question should go in the FAQ, as it's quite common.

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

::..
Jim, it's Jack. I'm at the airport. I'm going to Tokyo and wanna pay you the 
five-hundred I owe you. Catch you next year when I get back!
-- "The Rockford Files"


> -Original Message-
> From: Kari Asikainen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: forced-smsc not working?
> 
> 
> Hello,
> 
> I have the configured two sms-centers like this in my kannel.conf:
> 
> group = smsc
> smsc = at2
> modemtype = siemens_m20
> device = /dev/ttyS0
> speed = 19200
> sim-buffering = false
> smsc-id = M20
> 
> group = smsc
> smsc = cgw
> host = xxx
> port = yyy
> receive-port = zzz
> appname = send
> smsc-id = sonera
> 
> And I my sendsms-user is configured this way:
> 
> group = sendsms-user
> username = some.user
> password = some.pass
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1"
> forced-smsc = sonera
> 
> And still messages sent by my application are coming from 
> both the CGW and
> AT2 modules. (Every other comes from my AT2 (Siemens M20) and 
> every other
> from the CGW interface (a short number)). This is quite 
> annoying because I'd
> like to keep the M20 around for testing purposes - removing 
> it of course
> makes all messages to appear from the short number. I'm also 
> in a process of
> adding another SMSC (CIMD2) and I'd like to be sure that 
> routing works for
> sendsms-users.
> 
> I have also tried setting the default-smsc -parameter with no 
> luck - kannel
> just complains in log that my configuration contains 
> reduntant information.
> 
> I am quite puzzled about what am I doing wrong or is this a 
> bug? Seems to
> obvious to me. I'm using the 1.1.6 release.
> 
> -Kari A.
> 
> 
> 




Problem with Wavecom WMOD2 GSM Modem

2002-06-05 Thread Raphaela and Shai Shilo

Please help !

I am struggling with getting Kannel to work with the Wavecom WDMOD2 GSM
modem. Everything seems to be working fine except for receiving SMS
messages. It seems that Kannel does not get the incoming SMS message from
the modem.

I can send messages no problem and I have tried different configuration file
entries, etc. but nothing seems to work. I have looked at the documentation
but cannot find any answers.

The configuration I have:

Linux Red Hat 7.2
Kannel 1.0.3

Any suggestions ?   Any help will be much appreciated !!!

Regards,

Shai





RE: Problem with Wavecom WMOD2 GSM Modem

2002-06-05 Thread Oded Arbel

My first suggestion would be to upgrade to the latest CVS snapshot - there have been 
some major rewrites in the AT2 module conserning support for wavecom modems, which are 
not included even in the "official" 1.1.6 version.

Also, next time when you post technical questions about problems with kannel, please 
show your configuration file (as most problems are caused by misconfiguration - the 
Kannel documentation leaves much to be desired in configuration help), and parts of 
the relevant logs.

Good luck

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

::..
"My mother never saw the irony in calling me a son-of-a-bitch."
-- Jack Nicholson


> -Original Message-
> From: Raphaela and Shai Shilo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: Problem with Wavecom WMOD2 GSM Modem
> 
> 
> Please help !
> 
> I am struggling with getting Kannel to work with the Wavecom 
> WDMOD2 GSM
> modem. Everything seems to be working fine except for receiving SMS
> messages. It seems that Kannel does not get the incoming SMS 
> message from
> the modem.
> 
> I can send messages no problem and I have tried different 
> configuration file
> entries, etc. but nothing seems to work. I have looked at the 
> documentation
> but cannot find any answers.
> 
> The configuration I have:
> 
> Linux Red Hat 7.2
> Kannel 1.0.3
> 
> Any suggestions ?   Any help will be much appreciated !!!
> 
> Regards,
> 
> Shai
> 
> 
> 




dlr-url through cgi-bin/sendsms

2002-06-05 Thread Hani Mustafa

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&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









My Kannel WAP gateway will only accept WMLC, but not WML, how to config it?

2002-06-05 Thread Peiyuan Zhou


Hi, 

Sorry to send it the 2nd time, since the 1st one was held for approval
as a non-member message.

I'm a new user of Kannel gateway. I compiled and installed WAP gateway
on Solaris 2.8 box, with libxml2 installed as well.

The gateway works when I send a request for wmlc document from a Nokia
WAP toolkit 2.0 browser.  But seems to have problem to accept requests
for wml document. 


--
Here is the WSP stack dump for "accept field":
2002-06-03 20:32:12 [1] DEBUG: WSP: decoded headers:
2002-06-03 20:32:12 [1] DEBUG: Accept-Charset: utf-8
2002-06-03 20:32:12 [1] DEBUG: Accept-Charset: iso-8859-1
2002-06-03 20:32:12 [1] DEBUG: Accept-Charset: iso-10646-ucs-2
2002-06-03 20:32:12 [1] DEBUG: Accept: application/vnd.wap.wmlc
2002-06-03 20:32:12 [1] DEBUG: Accept: application/vnd.wap.wmlscriptc
2002-06-03 20:32:12 [1] DEBUG: Accept: text/x-vCard
2002-06-03 20:32:12 [1] DEBUG: Accept: text/x-vCard
2002-06-03 20:32:12 [1] DEBUG: Accept: text/x-vcal
2002-06-03 20:32:12 [1] DEBUG: Accept: text/x-vCalendar
2002-06-03 20:32:12 [1] DEBUG: Accept: text/x-vCalendar
2002-06-03 20:32:12 [1] DEBUG: Accept: image/vnd.wap.wbmp
2002-06-03 20:32:12 [1] DEBUG: Accept: application/vnd.wap.wbxml
2002-06-03 20:32:12 [1] DEBUG: Accept: image/gif
2002-06-03 20:32:12 [1] DEBUG: Accept: image/jpeg
2002-06-03 20:32:12 [1] DEBUG: User-Agent: Nokia-WAP-Toolkit/2.0
2002-06-03 20:32:12 [1] DEBUG: WSP: End of decoded headers.


On other side, Openwave gateway has a much wider set of acceptance:
Accept-Language=en
x-up-devcap-smartdialing=1
Cookie=AWHS_SID=0C8A1044; JSESSIONID=To1010mC5827819644965162At
x-up-devcap-msize=8,18
Accept-Charset=US-ASCII, UTF-8, *
x-up-devcap-screenpixels=171,108
Content-Type=application/x-www-form-urlencoded
x-up-devcap-screendepth=1
Accept=application/x-hdmlc, application/x-up-alert,
application/x-up-cacheop, application/x-up-device,
application/x-up-digestentry, application/vnd.wap.wml, text/x-wap.wml,
text/vnd.wap.wml, application/vnd.wap.wmlscript, text/vnd.wap.wmlscript,
application/vnd.uplanet.channel, application/vnd.uplanet.list,
text/x-hdml, text/plain, image/vnd.wap.wbmp, image/bmp,
application/remote-printing text/x-hdml;version=3.1,
text/x-hdml;version=3.0, text/x-hdml;version=2.0, image/bmp,text/html
x-up-devcap-charset=US-ASCII
User-Agent=OWG1 UP/4.1.20a UP.Browser/4.1.20a-
UP.Link/4.1.HTTP-DIRECT

-

>From Kannel site, as well as from common sense, I know wml document is
supported by Kannel gateway, particularly Kannel has a wml compiler
build in. But I could not find any documentation about how to
config/compile/install so that wml will be accepted/compiled.

Any insight will be greatly appreciated.

Thanks a lot

--pei

from Lightbridge, Inc




How to properly open userguide.xml?

2002-06-05 Thread Mauricio Ramos






Getting date/time with %t

2002-06-05 Thread erick.fuentes

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




Thank you all

2002-06-05 Thread Troy Kelly



Hi 
All,
 
Thank you very much 
to those of you that helped with my issues in the last couple of 
weeks.
 
Our C developers 
here have created a 'hack' to get kannel to work with the Vodafone Australia 
SMPP gateway - but it isn't very pretty so I don't really want to submit 
it.  For those of you though who are using a carrier that only delivers the 
message text in the 'message_payload' field (SMPP) - give me a yell and I am 
more then happy to give you a copy of the source.
 
When we have a 
little bit more development time, we should be able to fix up our hackery into 
something nice - then I will send it across.
 
And again, without 
sounding too bitter, if you are looking for an SMPP gateway in Australia - at 
the moment Vodafone is probably not the best choice.
 
Regards,
Troy Kelly
WebCentral Pty Ltd
+61-7-3249-2500
1800-800-099
 


smpp unbind

2002-06-05 Thread Wayne Smithers

What happened to this code from 1.0.3 in 1.1.6

smsc_smpp.c:/* Push a UNBIND PDU on the [smsc->fifo_r_out] stack. */
smsc_smpp.c:pdu->id = SMPP_UNBIND;
smsc_smpp.c:/* Push a UNBIND PDU on the [smsc->fifo_t_out] stack. */
smsc_smpp.c:pdu->id = SMPP_UNBIND;
smsc_smpp.c:/* Write out the UNBIND PDUs. */
smsc_smpp.c:/* If states are BOUND then push UNBIND messages to
smsc_smpp.c:case SMPP_UNBIND_RESP:
smsc_smpp.c:case SMPP_UNBIND_RESP:
smsc_smpp.c:case SMPP_UNBIND_RESP:
smsc_smpp.c:case SMPP_UNBIND:
smsc_smpp.c:case SMPP_UNBIND_RESP:
smsc_smpp.c:*  UNBIND, UNBIND_RESP
smsc_smpp.h:#define SMPP_UNBIND   0x0006
smsc_smpp.h:#define SMPP_UNBIND_RESP  0x8006

Was this replaced with something else ?

I need to send an unbind notification to a SMSC which was done by default in
1.0.3 when certain signals were received by the bearerbox process.
In the dev version 1.1.5 & 1.1.6 the connection is just terminated, no
unbind is sent.


Wayne






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