problem with siemens s55

2003-02-06 Thread Airo Ville
Hi,

Does anybody know what causes the following error msg (wapbox log) while connecting to 
kannel with siemens s55:

[2] WARNING: WSP PDU with unknown type -1

We are using kannel version 1.2.0. and other phones which we use work ok (several 
Nokia & Ericsson models).

-ville




SMPP or UCP?

2003-02-06 Thread Bas A. Schulte
Hi all,

I intend to setup a connection to a telco using Kannel. It's going to be 
the first time that we will run Kannel in a production environment. I 
have done some testing using both UCP and SMPP, I both got them working. 
The telco I need to connect to offers both options, they use a Logica 
SMS-C.

I wonder what choice to pick. Can anyone give some recommendations? 
Would one of the options be a better choice when I use Kannel or are 
both options sufficiently stable/working/conformant so that as far as 
Kannel goes, it doesn't matter?

Hope to get some feedback,

regards,

Bas.





bug report

2003-02-06 Thread Leos Literak
version 1.3.0:

we set delivery report and URL. report comes, it is parsed, found,
kannel tries to create URL to report it, but it core dumps because
of segfault. It seems like bug in memory alocation for URL.

2003-02-06 11:12:13 [5] DEBUG: EMI2[62.141.2.131:5005]: Got packet from 
the main socket
2003-02-06 11:12:13 [5] DEBUG: EMI2[62.141.2.131:5005]: emi2 parsing 
packet: <02/00047/R/51/A//00420605849087:06020304/01>
2003-02-06 11:12:13 [5] DEBUG: Looking for DLR smsc=62.141.2.131:5005, 
ts=62.141.2.131:5005-2, dst=00420605849087, type=8
2003-02-06 11:12:13 [5] DEBUG: created DLR message for URL 


here it dies

   Leos

--
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!





Re: sending SMS using HTTP interface

2003-02-06 Thread alviN
just to give you an update ...
i still receive 'Autorization failed on sendsms' whenever i try:
lynx -dump 
http://localhost:13013/cgi-bin/sendsms?username=smstester&password=alvin&from=207&to=639189350886&text=Helloworld


take a look at my kannel.conf, am i missing something? :

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = AdminPass1
status-password = StatPass1
#admin-deny-ip = ""
admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel.log"
log-level = 4
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
access-log = "/tmp/kannel.access.log"
store-file = "/tmp/kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# SMSC CONNECTIONS

# group = smsc
# smsc = fake
# smsc-id = FAKE
# port = 1
# connect-allow-ip = 127.0.0.1

group = smsc
smsc = cimd2
smsc-id = PHS
host = xxx.xxx.xx.xxx
port = 
smsc-username = myusername
smsc-password = mypass
keepalive = 5
connect-allow-ip = 127.0.0.1
#sender-prefix = ""


# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 207
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 4
access-log = "/tmp/smsbox.access.log"


# SEND-SMS USERS

group = sendsms-user
username = smstester
password = alvin
#user-deny-ip = ""
#user-allow-ip = ""
max-messages = 3
concatenation = false

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

group = sms-service
keyword = help
text = "This should contain some hElP."

group = sms-service
catch-all = true
keyword = default
get-url = "http://www.mydomain.com/sms.asp?sender=%q&receiver=%P&text=%a";
max-messages = 2



Nils Münnekhoff wrote:

Hello alviN!

The error message depend on the fact that you haven´t define a core- and
smsc-group.

You have to define group=core (for bearerbox) and group=smsc in your config
additionally.
As you are using http-request for sending short messages you have to choice
a smsc where
your can send your messages to.

Hope that helps,
Nils



- Original Message -
From: "alviN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 8:02 AM
Subject: sending SMS using HTTP interface




a newbie question:
do i need to have a web server running to be able to send SMS messages
using the HTTP interface?

i have this config:

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

group = sendsms-user
username = foo
password = bar
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"


when i tried to go to this URL:



http://smsbox.host.name:13013/cgi-bin/sendsms?username=foo&password=bar&to=0
123456&text=Hello+world


is returned 'Authorization Failed on sendsms'

any help would be appreciated.


alviN











Re: Is the SMSC scene in the UK any good yet?

2003-02-06 Thread David Holland
On Wed, Feb 05, 2003 at 06:22:46PM -, David Tully wrote:
> You don't necessarily need a direct connection to an SMSC for 1000 messages
> a week - you could always send via a mobile phone/modem.

Yep, I'm quite comfortable with that method. However, the project I'm
looking at has a requirement for sending out a batch of messages in as
short a time as possible, and a GSM modem is a bit of a bottleneck
there.

Cheers,
Dave
-- 
:: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900 ::
"When we said that you needed to cut the wires for ultimate security,
we didn't mean that you should go wireless instead." -- Casper Dik




Push Proxy Gateway

2003-02-06 Thread sunil baburaoji
Hi users,
 
I want to initiate push from kannel gateway, in both
unconfirmed and confirmed mode to send to client
which is running on linux machine. Can anybody 
help me ?
 
Rgds
sunil







dumb sms-service question

2003-02-06 Thread David Holland
I would like to be able to specify an sms service by use of two keywords
rather than one. I've tried:

group = sms-service
keyword = get item
url = "http:// ... .cgi?sender=%p&text=%s"

but it doesn't match. Am I doing something dumb, or is what I want
simply not possible?

TIA

Dave
-- 
:: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900 ::
"It's one of those irregular verbs, isn't it: I have a change management
issue; you are too busy; he is too lazy." -- George Hills




RE: dumb sms-service question

2003-02-06 Thread Anupama R
Hi,
%k - represents the first keyword
%s - represents the second word
%r - represents all the rest of the words, not taken by %s, if %s is used.

there is an example in the userguide.
In FOO BAR ETC - FOO is %k,
BAR is %s
ETC (and what follows) is %r

Hope that helps.

Anu

-Original Message-
From: David Holland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 5:56 PM
To: [EMAIL PROTECTED]
Subject: dumb sms-service question


I would like to be able to specify an sms service by use of two keywords
rather than one. I've tried:

group = sms-service
keyword = get item
url = "http:// ... .cgi?sender=%p&text=%s"

but it doesn't match. Am I doing something dumb, or is what I want
simply not possible?

TIA

Dave
-- 
:: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900 ::
"It's one of those irregular verbs, isn't it: I have a change management
issue; you are too busy; he is too lazy." -- George Hills




Re: dumb sms-service question

2003-02-06 Thread David Holland
On Thu, Feb 06, 2003 at 06:14:57PM +0530, Anupama R wrote:
> %k - represents the first keyword
> %s - represents the second word

Yes, understood, but I want to have two services, differentiated by the
*second* keyword (not the first one). e.g.:

group = sms-service
keyword = get item
url = "http:// ... item.cgi?sender=%p&text=%s"

group = sms-service
keyword = get fish
url = "http:// ... fish.cgi?sender=%p&text=%s"

This doesn't seem to be possible. I'd like to be proved wrong. :-)

(I know it's possible to just match on "get" in this case, and do some
parsing in a cgi before passing control to the relevant service script,
but I'd rather not do that unless necessary.)

Dave
-- 
:: David Holland :: Systems Manager :: 3G Lab :: +44 01223 478900 ::
"Disney does mediated experiences better than anyone. If they understood
what OSes are ... they could crush Microsoft in a year or two." -- NS




OTON and EMI

2003-02-06 Thread Leos Literak
Hi,

telco just requested us to use 1139 as OTON (originator
type of number) (5th from end of EMI request). I haven't
found any way, how to set this in kannel.

How can I do this? If there is no way to specify this,
shall I modify sources and recompile?

Thanks

   Leos

--
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!






Downloading MMS form WAP page

2003-02-06 Thread Pawel
Hi
is it possible to download "binary MMS" from WAP page?

Ive got example WAP page:


http://www.wapforum.org/DTD/wml_1.1.xml";>



  http://host.com/mms/file.mms\";>Download MMS




file.mms returns content-type: application/vnd.wap.mms-message
Does phone recognize MMS after "click" on "Download MMS" ?

Regards,
Pawel