Re: Newbie Quest

2002-04-10 Thread Shridhar Raju


- Original Message -
From: "Averroes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 11:06 AM
Subject: Newbie Quest


> Hi All,
>
> I am new in Kannel and for this first time
> I would like to know if they need special hardware

It depends what you want to setup, WAP Gateway or SMS Gateway or both.

> requirement for settting up SMS services?
>
> What is exactly a SMS Center?

SMSC is a server which handles short message(SM) generated by subscribers.
It takes SM from source and forwards it destination. Thus it store and
forward SM. It has many other functionalities.

>
> Does SMS Center need a subscription or not?
>

Yes, you need ESME (External Short Message Entity) connection from service
provider.

> As I want to experiment WTLS connection
> between a mobile and secure Wireless gateway,
> are they tools to create WTLS certificates?

No idea

>
> Links for these tools will be kind!
>
> Regards
>
> #--
> Averroes
>





kannel + Comverse SMSC

2002-04-10 Thread Otgo

Hi everybody

If someone use kannel with Comverse SMSC. Could you send a sample
configuration file, I've tried to use kannel with Comverse SMSC. I can't do
it :-( Please help me, I really need a help.

Otgo,
Ub,
Mgl.
---
Get paid cash every time you receive email!
Sign up FREE at: http://www.MintMail.com/?m=1977202





Newbie Quest

2002-04-10 Thread Averroes

Hi All,

I am new in Kannel and for this first time
I would like to know if they need special hardware
requirement for settting up SMS services?

What is exactly a SMS Center?

Does SMS Center need a subscription or not?

As I want to experiment WTLS connection
between a mobile and secure Wireless gateway,
are they tools to create WTLS certificates?

Links for these tools will be kind!

Regards

#--
Averroes





RE: Account variable doesn't work in configuration file

2002-04-10 Thread Mauricio Ramos

Hi Bruno,

You helped me alot.  Indeed the 'name' is the better choice for unstrusted
clients.  I believe 'account' is better to split the billing acorddingly to
the client's preference while 'name' will consolidated all the cdrs in the
gateway perspective.

Thank you very much.

-Original Message-
From: Bruno David Simões Rodrigues [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 5 de abril de 2002 22:05
To: Mauricio Ramos
Cc: '[EMAIL PROTECTED]'
Subject: Re: Account variable doesn't work in configuration file


On Thu, 2002-04-04 at 22:23, Mauricio Ramos wrote:
> Hi everybody,
> 
> I'm testing the Kannel 1.1.x CVS Cygwin Port for Win32 and the variable
> "account" (SendSMS-User group) in the kannel configuration file doesn't
work
> accordingly to the Userguide.  I configured this variable like this:
> 
> group = sendsms-user
> username = telemig
> password = foobar
> forced-smsc = TELCO
> faked-sender = 25100
> account = 25100
> #user-deny-ip = ""
> #user-allow-ip = ""
> 
> When I use it, the Bearerbox doesn't load raising these errors in the
> console:
> 
> 2002-04-03 00:14:43 [0] INFO: Debug_lvl = -1, log_file = , log_lvl =
0
> 2002-04-03 00:14:43 [0] ERROR: Group 'sendsms-user' may not contain field
> 'account'.
> 2002-04-03 00:14:43 [0] ERROR: Error found on 83 of file smskannel.conf.
> 2002-04-03 00:14:43 [0] PANIC: No configuration or bad configuration,
> aborting.
> 
> I'm curious about this because it should work since it's in the Userguide
> ("Table 5-8. SendSMS-User Group Variables") and an empty field "[ACT:] "
> appeared in the kannel.access file, like this:

Thanks for noticing it. The documentation is wrong and I've commited 
patch to fix it.

Account is a CGI variable that should be used to separate services for 
billing. 

For example, I have few services and I don't trust clients ;) and some 
services should have fixed from numbers, so I have several sendsms-users
to recognize them. (using the name field in configuration)

But if you trust the clients, the sendsms-users are alike and you need
alot of them, it's painfull to have several sendsms-users.

Then, you can have just one sendsms-user and ask the client to fill the
&account= with a keyword that you can, later, check in 
bearerbox_access.log and do the billing.


> 
> 2002-04-02 20:52:45 Log begins
> 2002-04-02 20:53:33 Sent SMS [SMSC:TELCO] [SVC:telemig] [ACT:]
[from:25200]
> [to:3199910003] [flags:0:1:0:0:0] [msg:5:Hello] [udh:0:]

I'm doing statistics based on SVC (sendsms-user name or smsservice
name).

You can use  AC(coun)t too for it.



BTW: People, how are your telco companies doing the billing using kannel
logs ? Are you generating CDR's with it ? and what about pre-paids ?




RE: Account variable doesn't work in configuration file

2002-04-10 Thread Mauricio Ramos

I've tried using variable 'name' and it works but it fills the field [SVC:]
rather than the field [ACT:] which now is being filled when I use the
variable 'account' in the querystring of the sendsms cgi.

-Original Message-
From: Ian Daly [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 5 de abril de 2002 06:51
To: [EMAIL PROTECTED]
Subject: RE: Account variable doesn't work in configuration file


Try using 'name' rather than 'account'. If this works, I think it's a typo
in the user guide.

Ian

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mauricio Ramos
> Sent: 04 April 2002 22:23
> To: '[EMAIL PROTECTED]'
> Subject: Account variable doesn't work in configuration file
>
>
> Hi everybody,
>
> I'm testing the Kannel 1.1.x CVS Cygwin Port for Win32 and
> the variable
> "account" (SendSMS-User group) in the kannel configuration
> file doesn't work
> accordingly to the Userguide.  I configured this variable like this:
>
> group = sendsms-user
> username = telemig
> password = foobar
> forced-smsc = TELCO
> faked-sender = 25100
> account = 25100
> #user-deny-ip = ""
> #user-allow-ip = ""
>
> When I use it, the Bearerbox doesn't load raising these errors in the
> console:
>
> 2002-04-03 00:14:43 [0] INFO: Debug_lvl = -1, log_file =
> , log_lvl = 0
> 2002-04-03 00:14:43 [0] ERROR: Group 'sendsms-user' may not
> contain field
> 'account'.
> 2002-04-03 00:14:43 [0] ERROR: Error found on 83 of file
> smskannel.conf.
> 2002-04-03 00:14:43 [0] PANIC: No configuration or bad configuration,
> aborting.
>
> I'm curious about this because it should work since it's in
> the Userguide
> ("Table 5-8. SendSMS-User Group Variables") and an empty
> field "[ACT:] "
> appeared in the kannel.access file, like this:
>
> 2002-04-02 20:52:45 Log begins
> 2002-04-02 20:53:33 Sent SMS [SMSC:TELCO] [SVC:telemig]
> [ACT:] [from:25200]
> [to:3199910003] [flags:0:1:0:0:0] [msg:5:Hello] [udh:0:]
> 2002-04-02 20:59:09 Log ends
>
> Any help would be very appreciated.
>
> Thanks.
>
> Maurício Collaça Ramos
> System Integration Manager
> w-Aura - www.waura.com.br
> Tel +55(21)3806-3377
>





SMPP error connecting Logica (MAR) which doesn't occur connecting CMG

2002-04-10 Thread Mauricio Ramos

The following lines are from the kannel.log (bearerbox).  They are only
appearing when connecting the Kannel's bearebox to a Logica's MAR (SMS
Router) before itself connects to a CMG's SMSC.  When connecting to a CMG's
SMSC directly these errors don't happen.

Any idea?

Tnx.

2002-04-10 20:42:36 [7] ERROR: Unknown SMPP_PDU type, internal error.
2002-04-10 20:42:36 [7] ERROR: SMPP: PDU unpacking failed.
2002-04-10 20:42:36 [7] DEBUG: SMPP: Failed PDU follows.
2002-04-10 20:42:36 [7] DEBUG: Octet string at 0x100d34d0:
2002-04-10 20:42:36 [7] DEBUG:   len:  12
2002-04-10 20:42:36 [7] DEBUG:   size: 13
2002-04-10 20:42:36 [7] DEBUG:   immutable: 0
2002-04-10 20:42:36 [7] DEBUG:   data: 80 00 00 00 00 00 00 03   
2002-04-10 20:42:36 [7] DEBUG:   data: 00 00 00 14   
2002-04-10 20:42:36 [7] DEBUG: Octet string dump ends.
2002-04-10 20:42:36 [7] ERROR: SMPP: I/O error or other error.
Re-connecting.




Does anybody know what these errors mean?

2002-04-10 Thread Mauricio Ramos

Is there any documentation about these errors:

BEARERBOX.LOG:

2002-04-10 20:23:26 [2] ERROR: Error reading from fd 36:
2002-04-10 20:23:26 [2] ERROR: System error 104: Connection reset by peer
2002-04-10 20:23:26 [2] ERROR: Error reading from fd 36:
2002-04-10 20:23:26 [2] ERROR: System error 104: Connection reset by peer

SMSBOX.LOG:

2002-04-10 20:24:11 [3] INFO: smsbox: Got HTTP request 
from <127.0.0.1>
2002-04-10 20:24:11 [3] INFO: sendsms used by 
2002-04-10 20:24:11 [3] INFO: sendsms sender: (127.0.0.1)
to:<99> msg:
2002-04-10 20:24:11 [3] DEBUG: message length 16, sending 1 messages
2002-04-10 20:24:11 [3] DEBUG: Status: 202 Answer: 
2002-04-10 20:24:11 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2002-04-10 20:25:11 [1] ERROR: Error reading from fd 21:
2002-04-10 20:25:11 [1] ERROR: System error 104: Connection reset by peer
2002-04-10 20:25:11 [1] ERROR: Error reading from fd 21:
2002-04-10 20:25:11 [1] ERROR: System error 104: Connection reset by peer
2002-04-10 20:25:11 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100e9c58.
2002-04-10 20:25:11 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'

Thanks in advance,

Mauricio.




WAP problem

2002-04-10 Thread Greger Norrman (GIS)

Hi all,
I'm new to the list and I have just installed the gateway and when I try
to use it I run in to following problem:
===
[root@vmlinux3 gateway-1.0.3]# ./wapbox-1.0.3 -v 0 kannel.conf
2002-04-10 12:37:24 [0] INFO: Debug_lvl = 0, log_file = , log_lvl = 0
2002-04-10 12:37:24 [0] INFO: Config dump begins:
2002-04-10 12:37:24 [0] INFO: filename = 
2002-04-10 12:37:24 [0] INFO: group:
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= <13000>
2002-04-10 12:37:24 [0] INFO:= <13002>
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= <*>
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= <0>
2002-04-10 12:37:24 [0] INFO:= <*.*.*.*>
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO: group:
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO:= <0>
2002-04-10 12:37:24 [0] INFO:= 
2002-04-10 12:37:24 [0] INFO: Config dump ends.
2002-04-10 12:37:24 [0] DEBUG: syslog parameter is none
2002-04-10 12:37:24 [0] INFO: Added logfile `/tmp/wapbox.log' with level `0'.
2002-04-10 12:37:24 [0] INFO: Starting to log to file /tmp/wapbox.log level 0
2002-04-10 12:37:24 [0] INFO: 

2002-04-10 12:37:24 [0] INFO: WAP box version 1.0.3 starting up.
2002-04-10 12:37:24 [0] DEBUG: Started thread 1 (gw/timers.c:watch_timers)
2002-04-10 12:37:24 [0] DEBUG: Started thread 2 (gw/wsp-session.c:main_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 3 (gw/wsp-unit.c:main_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 4 (gw/wtp_init.c:main_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 5 (gw/wtp_resp.c:main_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 6 (gw/wap-appl.c:main_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 7 (gw/wapbox.c:send_heartbeat_thread)
2002-04-10 12:37:24 [0] DEBUG: Started thread 8 (gw/wapbox.c:empty_queue_thread)
2002-04-10 12:38:38 [0] DEBUG: Connectionless Get Request Received.
2002-04-10 12:38:38 [0] DEBUG: WSP: decoding headers:
2002-04-10 12:38:38 [0] DEBUG: Octet string at 0x5750a8:
2002-04-10 12:38:38 [0] DEBUG:   len:  38
2002-04-10 12:38:38 [0] DEBUG:   size: 39
2002-04-10 12:38:38 [0] DEBUG:   immutable: 0
2002-04-10 12:38:38 [0] DEBUG:   data: 80 94 80 a9 80 95 80 80   
2002-04-10 12:38:38 [0] DEBUG:   data: 83 99 81 83 81 84 81 ea   
2002-04-10 12:38:38 [0] DEBUG:   data: 81 03 02 03 e8 a9 52 33   ..R3
2002-04-10 12:38:38 [0] DEBUG:   data: 38 30 20 32 2e 30 20 57   80 2.0 W
2002-04-10 12:38:38 [0] DEBUG:   data: 41 50 31 2e 31 00 AP1.1.
2002-04-10 12:38:38 [0] DEBUG: Octet string dump ends.
Segmentation fault
===

Does anyone know what the problem could be?

Best Reagrds,
Greger





Default web page

2002-04-10 Thread Erik Kærager
Title: Default web page





Hi


I am new to the wap so can anyone tell me how i setup the defaul webpage the browser will goto when Http://10.0.0.93 is used instead of Http://10.0.0.93/index.html .

And what port(s) do I need to open in the firewall to get wap to work. 


Kind regards Erik Kaerager
System Administrator





Kannel Configuration

2002-04-10 Thread SAAMIR NAEEM

Can any one send me his configuration file Kannel.conf. I need samples for sms-service 
section besides wjhat is given n the manual
.

Regards

Saamir.




System Error 113

2002-04-10 Thread Kalibjian, Jeff

My kannel gateway is allowing my cell phone access to some locally served pages.
One of those pages has some links to other wap served data on the internet.  However,
when I select the link, I get a System Error 113: No route to host.  It so happens that
to be safe I was actually referencing the wap site with a physical IP address.  Now, on
the same machine that the kannel gateway is on, I can successfully reach that IP 
address
using a Netscape browser.  So I guess I'm not understanding why Kannel should be
giving me this System Error 113?  

Has anyone encounter this 113 error before?  Thanks.


--Jeff




RE: Round robin on SMSCs

2002-04-10 Thread Oded Arbel

In the UserGuide, under 'SMS centers', in SMSC Group Variables, check
out the 'allowed' 'preferred' and 'denied' options. 
It doesn't say anything about load balancing, but if you setup the
config so that Kannel cannot determing exactly to which smsc to send
(for example - not setting 'preferred' , or setting 'preferred' to list
the ids of both modems), then Kannel will randomly choose an SMSC for
each message.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

Women like the simple things in life, like men.


> -Original Message-
> From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 9:56 AM
> To: Oded Arbel; [EMAIL PROTECTED]
> Subject: RE: Round robin on SMSCs
> 
> 
> Thanks, but I can't find anything about this in the online docs.
> Could you tell me where to look?
> 
> Jacob
> 
> > -Original Message-
> > From: Oded Arbel [mailto:[EMAIL PROTECTED]]
> > Sent: 10. april 2002 10:35
> > To: Jacob Vennervald Madsen; [EMAIL PROTECTED]
> > Subject: RE: Round robin on SMSCs
> > 
> > 
> > Depending on your setup (see the "prefered/allowed/whatever-smscid"
> > settings), Kannel will route messages to either of the two 
> > modems. using
> > the correct setup, Kannel will not do round-robin, but will instead
> > choose a modem for delivery in a random manner. being random, 
> > it is not
> > a very good solution for small scale setups (a few modem 
> > handling low to
> > medium traffic loads) but it is a fair solution for large 
> > scale setups.
> > 
> > 
> > --
> > Oded Arbel
> > m-Wise Inc.
> > [EMAIL PROTECTED]
> > 
> > As someone else said in the net, C++ has created a good market for
> > *medical* 
> > books. (He was calling C++ an illness). In a matter of days 
> > you get more
> > and 
> > more people write *just another cure-book* about C++ with names like
> > "Effective 
> > C++", "Practical C++", "Safe C++". 
> > -- Burak Bayramli
> > 
> > 
> > > -Original Message-
> > > From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 10, 2002 8:56 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Round robin on SMSCs
> > > 
> > > 
> > > Hi All
> > > 
> > > If I set up kannel with two GSM modems will it 
> > automatically do round
> > > robin on those modems?
> > > 
> > > Jacob Vennervald
> > > 
> > > 
> > 
> 




RE: Round robin on SMSCs

2002-04-10 Thread Jacob Vennervald Madsen

Thanks, but I can't find anything about this in the online docs.
Could you tell me where to look?

Jacob

> -Original Message-
> From: Oded Arbel [mailto:[EMAIL PROTECTED]]
> Sent: 10. april 2002 10:35
> To: Jacob Vennervald Madsen; [EMAIL PROTECTED]
> Subject: RE: Round robin on SMSCs
> 
> 
> Depending on your setup (see the "prefered/allowed/whatever-smscid"
> settings), Kannel will route messages to either of the two 
> modems. using
> the correct setup, Kannel will not do round-robin, but will instead
> choose a modem for delivery in a random manner. being random, 
> it is not
> a very good solution for small scale setups (a few modem 
> handling low to
> medium traffic loads) but it is a fair solution for large 
> scale setups.
> 
> 
> --
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> 
> As someone else said in the net, C++ has created a good market for
> *medical* 
> books. (He was calling C++ an illness). In a matter of days 
> you get more
> and 
> more people write *just another cure-book* about C++ with names like
> "Effective 
> C++", "Practical C++", "Safe C++". 
>   -- Burak Bayramli
> 
> 
> > -Original Message-
> > From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 10, 2002 8:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: Round robin on SMSCs
> > 
> > 
> > Hi All
> > 
> > If I set up kannel with two GSM modems will it 
> automatically do round
> > robin on those modems?
> > 
> > Jacob Vennervald
> > 
> > 
> 




RE: Round robin on SMSCs

2002-04-10 Thread Oded Arbel

Depending on your setup (see the "prefered/allowed/whatever-smscid"
settings), Kannel will route messages to either of the two modems. using
the correct setup, Kannel will not do round-robin, but will instead
choose a modem for delivery in a random manner. being random, it is not
a very good solution for small scale setups (a few modem handling low to
medium traffic loads) but it is a fair solution for large scale setups.


--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

As someone else said in the net, C++ has created a good market for
*medical* 
books. (He was calling C++ an illness). In a matter of days you get more
and 
more people write *just another cure-book* about C++ with names like
"Effective 
C++", "Practical C++", "Safe C++". 
-- Burak Bayramli


> -Original Message-
> From: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Round robin on SMSCs
> 
> 
> Hi All
> 
> If I set up kannel with two GSM modems will it automatically do round
> robin on those modems?
> 
> Jacob Vennervald
> 
>