Re: ways to write sms application?

2003-02-14 Thread Shridhar Raju
Hi Navjot,

Check gateway/contrib/php-admin/sendsms.php. You can use the same code and
build upon that.

Web Browser -- CGI Var -- Web Server (Apache/IIS) -- Sendsms
Interface -- Kannel Gateway -- GSM Modem

 As a novice user, i wish to provide my company users to send SMSes from
the
 web browser. Now, what i know is that i need to pass control to sendsms
 program and it will send SMS.

 Do i have to go this way?

 http---values---http---connectsend
 User---my program-sendsmsgsm phone

 OR

 User---my programgsm phone

 which one do you guys follow?

This would be easy to build and can be used by all users across the network
(LAN).

 waiting for your answers before i start coding ;-)
 -navjot


Regards
Shridhar Raju




Re: c++ database connectivity using mysql++ api

2003-02-14 Thread Anamika Kumari
Hi Paulo,

great to hear that !!!

I am making changes in smsbox where I have the sms. now from here I want to
call functions which will update my database. I have another file which can
update the database. But i am unable to call these functions from kannel.
can you tell me where did your database updation files were placed so that
they could access the sql libraries and be included in the kannel gateway
also

maybe you can send your makefiles.

thanks

Anamika

paolo wrote:

 I've tried few weks ago modifying the dlr.c or sms_bearerbox.c or creating
 sql.c.

 The best way is modify the sms_bearerbox.c because all the sms pass through
 this module.

 -Messaggio Originale-
 Da: Anamika Kumari [EMAIL PROTECTED]
 A: [EMAIL PROTECTED]
 Data invio: domenica 16 febbraio 2003 15.41
 Oggetto: c++ database connectivity using mysql++ api

  hi Users,
 
  Has anyone used the api mySQL++ to store incoming and outgoing sms in a
  database.
  I need urgent help.
 
  Please write back as to how to make changes in the make file to
  incorporate the api libraries with kannel.
 
  thanks in advance
  Anamika
 
 
 





Re: ways to write sms application?

2003-02-14 Thread Navjot Singh
oops! sridhar, i forgot the list ;-)

thanks a ton. you got my problem right. and i got the solution right. May 
be i will be able to wrap the things in next 2 days.

Can i seek one more help? I know java and python as a language. Can i 
better use them instead of Perl / PHP.

thanks again
-navjot

Shridhar Raju wrote:

Hi Navjot,

Check gateway/contrib/php-admin/sendsms.php. You can use the same code and
build upon that.

Web Browser -- CGI Var -- Web Server (Apache/IIS) -- Sendsms
Interface -- Kannel Gateway -- GSM Modem

 As a novice user, i wish to provide my company users to send SMSes from
the
 web browser. Now, what i know is that i need to pass control to sendsms
 program and it will send SMS.

 Do i have to go this way?

 http---values---http---connectsend
 User---my program-sendsmsgsm phone

 OR

 User---my programgsm phone

 which one do you guys follow?

This would be easy to build and can be used by all users across the network
(LAN).

 waiting for your answers before i start coding ;-)
 -navjot


Regards
Shridhar Raju








MMS NotifResp.ind post-response

2003-02-14 Thread Mads Kristiansen
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]




removing suffix appended by CIMD

2003-02-14 Thread alviN
the smsc of the telco my kannel is connected to, is using CIMD and each 
message sent to it will have extra numbers appended on the sender number 
of the reply message. what should i do to get rid of the extra numbers? 
i can do it by setting global-sender= but there are some cases where i 
want my sms application to have a sender of 
smsc_access_code+some_digits. and this will fail because global-sender 
is set to null. is there any way i could fix this?


alviN





kannel for the first time

2003-02-14 Thread Erich Marth
hi everybody, i just about the kannel project and i was really glad that
there is a free wap gateway available.

i was searching for such an alternative since i had to cause of my o-level 
exam. i'm working on a large porject cotaining the possibility of wap 
services.

i downloaded kannel, installed it correctly and try to set it up. everything 
was going well but as i tried to open a wap connection using my ericsson t65, 
for the first time, the only reply was a request failure.

the arch of my webserver is simple:

its a apache web server (about 1.3) i'm sure about
php 4.03
suse linux 8.0

i don't know how to handle this
please help

attachments (1) kannel configuration file

group = core
admin-port = 13000
wapbox-port = 13002
smsbox-port = 13001
admin-password = linux
wdp-interface-name = *
log-file = /var/log/bearerbox.log
log-level = 1
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1

group = wapbox
bearerbox-host = localhost
log-file = /var/log/wapbox.log
log-level = 0
syslog-level = none
map-url = http://icesenor/* httop://localhost/*

group = smsc
smsc = at2
modemtype = wavecom
device = /dev/ttyS0
speed = 19200

group = modems
id = wavecom
no-pin = true

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = 0123456789 
global-sender = 123456
access-log = kannel.access
log-file = smsbox.log
log-level = 0

group = sms-service
keyword = default
get-url = http://localhost/%S;
post-url = http://localhost/%S;




Fwd: Mail delivery failed: returning message to sender

2003-02-14 Thread LeoChiu


Dear Sir

I already get the

C compiler
Apple Development Kit

Gnome XML lib
http://www.zveno.com/open_source/libxml2xslt.html for OSX
provided by Steve Ball

GUN MAKE
run make -version

GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for powerpc-apple-darwin6.0
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to [EMAIL PROTECTED].

BISON

run bison --version
GNU Bison version 1.28

NO DocBook (Only manual generation, I no need )

I type ./configure --disable-docs
But I still get error

As follow
Configuring for Kannel gateway version 1.3.0 ...

Running system checks ...
configure: error: can not run ./config.sub
what's wrong ? Could you Help ?

Tks

Leo
--Apple-Mail-2--164698026
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Dear Sir


I already get the


C compiler

Apple Development Kit


Gnome XML lib

http://www.zveno.com/open_source/libxml2xslt.html for OSX

provided by Steve Ball

fontfamilyparamVerdana/parambigger

/bigger/fontfamilyGUN MAKE

run make -version


colorparam,0EE9,/paramGNU Make version 3.79, by Richard
Stallman and Roland McGrath.

Built for powerpc-apple-darwin6.0

Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99

Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.


Report bugs to [EMAIL PROTECTED]./color


BISON


run bison --version

colorparam,247B,/paramGNU Bison version 1.28/color


NO DocBook (Only manual generation, I no need )


I type ./configure --disable-docs

But I still get error


As follow

colorparam,158B,/paramConfiguring for Kannel gateway
version 1.3.0 ...


Running system checks ...

configure: error: can not run ./config.sub

/colorwhat's wrong ? Could you Help ?


Tks


Leo
--Apple-Mail-2--164698026--

_
½ì©Ç¯d¨¥«H½c ·s¦~¼é¬y¤è¦V
http://voicemail.yahoo.com.hk



_
½ì©Ç¯d¨¥«H½c ·s¦~¼é¬y¤è¦V
http://voicemail.yahoo.com.hk




RE: Question about CIMD compatibility

2003-02-14 Thread Bishop, Corin
Hi Anamika, 

Kannel itself buffers messages in a .store text file but this is only for
internal use. 

The only way to store messages further is to develop your own application
(don't forget Kannel is only a Gateway, not a content application suite).
For example I pass incoming messages via a default group keyword which
triggers a get-url (see example below). I then use apache web server, php
and mysql to process the message and store it in a database. Likewise for
outgoing messages I use a php script running on apache that takes a message
from a database and then sends it using the kannel push proxy. 

There are many ways of acheiving the database in/out thing but it's really
down to what suits your needs, environment and abilities.

Cheers

Corin



Example incoming group:

group = sms-service
keyword = default
get-url = http://192.168.28.61/scripts/in.php?msisdn=%ptext=%k+%s+%r;
max-messages = 0

In this example all messages are passed to a script via Apache and PHP
storing the originator MSISDN and the full text of the message. The
max-messages = 0 makes sure that no response from the get-url goes back to
the originator.




-Original Message-
From: Anamika Kumari [mailto:[EMAIL PROTECTED]]
Sent: 09 February 2003 15:57
To: Bishop, Corin; [EMAIL PROTECTED]
Subject: Re: Question about CIMD compatibility


I have a question since this is the first time i am using CIMD2 .
The changes made in the configuration file will have 2 groups one for the
smsc.
Can we specify the database to store the incoming and outgoing sms

your help will be highly appreciated

best rgds
Anamika


Bishop, Corin wrote:

 Hi All,

 I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get
 kannel to specify the originator address when submitting. I've tried using
 the 'from' field, global-send, faxed-sender etc. but nothing will work.

 Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia
 CIMD2.

 Also, are there any plans to add the alpha-number originator parameter to
 the submit operation.

 Regards,

 Corin.

 __
 Mr. Corin Bishop
 VAS Platform Manager
 Ben NL
 [EMAIL PROTECTED]
 +31624096813

 N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke
 VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer

 This e-mail and its contents are subject to a DISCLAIMER with important
 RESERVATIONS: see http://www.ben.nl/disclaimer


N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke
VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer 

This e-mail and its contents are subject to a DISCLAIMER with important
RESERVATIONS: see http://www.ben.nl/disclaimer 






Kannel XML error

2003-02-14 Thread Szegedi, István 2, VF-Hungary
Dear All,

Sorry to bother you but I downloaded Kannel 1.2.1 and run some basic
tests on my own. 

I have faced to some problems and hope you might be able to advise me
how to solve it.

The problem is that when I try to download Vodafone Hungary's official
WAP page (wap.vodafone.hu) using a Nokia 7650, the page is not encoded
but sent to the mobile phone as pure WML text file. It results that the
content is not displayed properly but the WML file can be seen as is.

In the wapbox.log file I can see the following error messages:

2003-02-10 12:57:28 [10] DEBUG: HTTP: Opening connection to
`wap.vodafone.hu:80' (fd=29).
2003-02-10 12:57:28 [10] DEBUG: HTTP: Sending request:
2003-02-10 12:57:28 [10] DEBUG: Octet string at 0x811af30:
2003-02-10 12:57:28 [10] DEBUG:   len:  1743
2003-02-10 12:57:28 [10] DEBUG:   size: 1744
2003-02-10 12:57:28 [10] DEBUG:   immutable: 0
2003-02-10 12:57:28 [10] DEBUG:   data: 47 45 54 20 2f 20 48 54   GET /
HT
2003-02-10 12:57:28 [10] DEBUG:   data: 54 50 2f 31 2e 31 0d 0a
TP/1.1..
2003-02-10 12:57:28 [10] DEBUG:   data: 48 6f 73 74 3a 20 77 61   Host:
wa
2003-02-10 12:57:28 [10] DEBUG:   data: 70 2e 76 6f 64 61 66 6f
p.vodafo
2003-02-10 12:57:28 [10] DEBUG:   data: 6e 65 2e 68 75 0d 0a 41
ne.hu..A
2003-02-10 12:57:28 [10] DEBUG:   data: 63 63 65 70 74 2d 43 68
ccept-Ch
2003-02-10 12:57:28 [10] DEBUG:   data: 61 72 73 65 74 3a 20 69   arset:
i
2003-02-10 12:57:28 [10] DEBUG:   data: 73 6f 2d 38 38 35 39 2d
so-8859-
2003-02-10 12:57:28 [10] DEBUG:   data: 31 0d 0a 41 63 63 65 70
1..Accep
2003-02-10 12:57:28 [10] DEBUG:   data: 74 2d 43 68 61 72 73 65
t-Charse
2003-02-10 12:57:28 [10] DEBUG:   data: 74 3a 20 75 73 2d 61 73   t:
us-as
2003-02-10 12:57:28 [10] DEBUG:   data: 63 69 69 0d 0a 41 63 63
cii..Acc
2003-02-10 12:57:28 [10] DEBUG:   data: 65 70 74 2d 43 68 61 72
ept-Char
2003-02-10 12:57:28 [10] DEBUG:   data: 73 65 74 3a 20 75 74 66   set:
utf
2003-02-10 12:57:28 [10] DEBUG:   data: 2d 38 3b 20 71 3d 30 2e   -8;
q=0.
2003-02-10 12:57:28 [10] DEBUG:   data: 38 0d 0a 41 63 63 65 70
8..Accep
2003-02-10 12:57:28 [10] DEBUG:   data: 74 2d 43 68 61 72 73 65
t-Charse
2003-02-10 12:57:28 [10] DEBUG:   data: 74 3a 20 69 73 6f 2d 31   t:
iso-1
2003-02-10 12:57:28 [10] DEBUG:   data: 30 36 34 36 2d 75 63 73
0646-ucs
2003-02-10 12:57:28 [10] DEBUG:   data: 2d 32 3b 20 71 3d 30 2e   -2;
q=0.
2003-02-10 12:57:28 [10] DEBUG:   data: 36 0d 0a 41 63 63 65 70
6..Accep
2003-02-10 12:57:28 [10] DEBUG:   data: 74 2d 4c 61 6e 67 75 61
t-Langua
2003-02-10 12:57:28 [10] DEBUG:   data: 67 65 3a 20 65 6e 0d 0a   ge:
en..
2003-02-10 12:57:28 [10] DEBUG:   data: 41 63 63 65 70 74 2d 4c
Accept-L
2003-02-10 12:57:28 [10] DEBUG:   data: 61 6e 67 75 61 67 65 3a
anguage:
2003-02-10 12:57:28 [10] DEBUG:   data: 20 66 69 0d 0a 41 63 63
fi..Acc
2003-02-10 12:57:28 [10] DEBUG:   data: 65 70 74 3a 20 74 65 78   ept:
tex
2003-02-10 12:57:28 [10] DEBUG:   data: 74 2f 58 2d 43 61 6c 79
t/X-Caly
2003-02-10 12:57:28 [10] DEBUG:   data: 70 73 6f 4c 69 6e 6b 0d
psoLink.
2003-02-10 12:57:28 [10] DEBUG:   data: 0a 41 63 63 65 70 74 3a
.Accept:
2003-02-10 12:57:28 [10] DEBUG:   data: 20 74 65 78 74 2f 78 2d
text/x-
2003-02-10 12:57:28 [10] DEBUG:   data: 76 43 61 6c 65 6e 64 61
vCalenda
2003-02-10 12:57:28 [10] DEBUG:   data: 72 0d 0a 41 63 63 65 70
r..Accep
2003-02-10 12:57:28 [10] DEBUG:   data: 74 3a 20 74 65 78 74 2f   t:
text/
2003-02-10 12:57:28 [10] DEBUG:   data: 63 61 6c 65 6e 64 61 72
calendar
2003-02-10 12:57:28 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74
..Accept
2003-02-10 12:57:28 [10] DEBUG:   data: 3a 20 74 65 78 74 2f 58   :
text/X
2003-02-10 12:57:28 [10] DEBUG:   data: 2d 76 43 61 72 64 0d 0a
-vCard..
2003-02-10 12:57:28 [10] DEBUG:   data: 41 63 63 65 70 74 3a 20
Accept:
2003-02-10 12:57:28 [10] DEBUG:   data: 74 65 78 74 2f 70 6c 61
text/pla
2003-02-10 12:57:28 [10] DEBUG:   data: 69 6e 0d 0a 41 63 63 65
in..Acce
2003-02-10 12:57:28 [10] DEBUG:   data: 70 74 3a 20 61 70 70 6c   pt:
appl
2003-02-10 12:57:28 [10] DEBUG:   data: 69 63 61 74 69 6f 6e 2f
ication/
2003-02-10 12:57:28 [10] DEBUG:   data: 76 6e 64 2e 77 61 70 2e
vnd.wap.
2003-02-10 12:57:28 [10] DEBUG:   data: 77 74 6c 73 2d 63 61 2d
wtls-ca-
2003-02-10 12:57:28 [10] DEBUG:   data: 63 65 72 74 69 66 69 63
certific
2003-02-10 12:57:28 [10] DEBUG:   data: 61 74 65 0d 0a 41 63 63
ate..Acc
2003-02-10 12:57:28 [10] DEBUG:   data: 65 70 74 3a 20 61 70 70   ept:
app
2003-02-10 12:57:28 [10] DEBUG:   data: 6c 69 63 61 74 69 6f 6e
lication
2003-02-10 12:57:28 [10] DEBUG:   data: 2f 76 6e 64 2e 73 79 6d
/vnd.sym
2003-02-10 12:57:28 [10] DEBUG:   data: 62 69 61 6e 2e 69 6e 73
bian.ins
2003-02-10 12:57:28 [10] DEBUG:   data: 74 61 6c 6c 0d 0a 41 63
tall..Ac
2003-02-10 12:57:28 [10] DEBUG:   data: 63 65 70 74 3a 20 61 70   cept:
ap
2003-02-10 12:57:28 [10] DEBUG:   data: 70 6c 69 63 61 74 69 6f
plicatio
2003-02-10 12:57:28 [10] DEBUG:   data: 6e 2f 76 6e 64 2e 6e 6f
n/vnd.no
2003-02-10 12:57:28 [10] DEBUG:   data: 6b 69 61 2e 72 69 6e 67
kia.ring

SAR

2003-02-14 Thread Rene Vellekoop
Title: Message



Hi,

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?

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

Thanks!

Rene




Member ?

2003-02-14 Thread vijaykrishna
Title: PervasiveOne





  
  

  

  Hi all , 
  
  how to become 
  a member , how to register.
  i have 
  question
  I am testing 
  kannel gateway with the smsc server of our own.
   I want 
  to know how to configurethe following parameters for UCP 
  protocol,
   Oadc , OTON, ONPI , STYP, and OPID 
..
  
  vijay.
  

  

  Germany: Am 
  Manfredhof 43, 83646 Bad Toelz; Ph: +49 89 693 723 70 FAX +49 89 693 723 
  80 India: C-071 
  B, DLF Supermart I, DLF City Phase IV, Gurgaon, Haryana, 122 002 India; 
  Ph: +91 124 8942538 Fax: +91 124 8942539 UK: 1, Sabin Gates, 
  Old Bracknell Lane East, Bracknell Berkshire RG12 7AG UK; Ph: +44 1344 
  409320 Fax: +44-1344-862263www.PervasiveOne.com E-mail: 
  [EMAIL PROTECTED] 
  

  This email and any 
  attachments are sent in confidence, subject to applicable legal privilege 
  and upon the basis that the recipient will conduct appropriate virus 
  checks. If you receive this email in error, please contact us upon 
  receipt: you are strictly prohibited from using, copying or disseminating 
  it or any information contained in it save to the intended recipient. 
  Internet communications are not secure and PervasiveOne Solutions 
  Limited, formerly known as Telcon Limited, is not responsible for their 
  abuse by third parties, nor for any alteration or corruption in 
  transmission, nor for any damage or loss caused by any virus or other 
  defect. 



Virtual SMSC

2003-02-14 Thread asif

Hi All,
I 'm setting up kannel to use SMS to send my one time passwords from a
server- MID server to mobile phones. Has any one done it .Help needed

What is a virtual SMSC? and
How do i set up a virtual SMSC i.i what are the hardware and software
requirements.
thanks Asif
GESl