Fwd: sms-service get-url

2008-01-05 Thread L S Ropia
kannel sms-service get-url problem
when typed into browser:
http://localhost.localdomain/anr/sms.php?sender=testSenderrecipient=testRecipienttimestamp=2007-12-30+16:30smstext=This+is+test+SMS
One row is added in the corresponding mysql table, as per sms.php script.

kannel is working OK. It can record DLR correctly into mysql. I want
to store in/ out SMS in mysql. For this I have defined the service as:

group = sms-service
keyword = default
max-messages = 0
catch-all = yes
get-url = 
http://localhost/anr/sms.php?sender=%Precipient=%ptimestamp=%tsmstext=%a;

But when I send SMS to my mobile by typing into my browser:
http://localhost:13013/cgi-bin/sendsms?username=smsUserpassword=smsUserPassdlr-mask=31to=+9199text=Hello+world+into+MySQL

+9199 is also the number connected to kannel as SMSC, so the
message gets delivered back into my mobile. But, the message does not
get stored into mysql, the http address defined in group =
sms-service and that typed directly in the browser to see the effect
on mysql, are the same. It seems that kannel is not receiving the in
SMS's.

Kindly help, as I have given this problem many days and readings.

My configuration:
Fedora Core 8
Kannel 1.4.1
N70 (nokiaphone n70 as SMSC)

Please help.



http smsc patch help

2008-01-05 Thread Willy Mularto
Hi,
I have situation where my telco requires a http connection with my
server. I found that kannel supports this kind of connection, but
unfortunatelly I must do some patches with kannel first. What I want
to know is which files should be patched to accept MO from telco and
send back the MT and also get the DLR from the telco. FYI, my telco
send us a custom or additional parameters which carried during the MO
and MT phase i.e
http://url?msisdn=12345sms=testtrxid=090807ctype=1. Many thanks for
your kind help and replies.


Regards,



Willy



Re: http smsc patch help

2008-01-05 Thread Stipe Tolj

Willy Mularto schrieb:

Hi,
I have situation where my telco requires a http connection with my
server. I found that kannel supports this kind of connection, but
unfortunatelly I must do some patches with kannel first. What I want
to know is which files should be patched to accept MO from telco and
send back the MT and also get the DLR from the telco. FYI, my telco
send us a custom or additional parameters which carried during the MO
and MT phase i.e
http://url?msisdn=12345sms=testtrxid=090807ctype=1. Many thanks for
your kind help and replies.


what you are looking for is to add another 'type' for the SMSC HTTP module. 
Please refer to the Kannel user's guide first, and then add the specific type via to


  gw/smsc/smsc_http.c

You will find there several type implementations of specific HTTP APIs. Simply 
add your variant there.


Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---



RE: clearing sim messages (was Re: error encoding pdu)

2008-01-05 Thread Alvaro Cornejo
Hi Ian

Yes and No.

Kannel deletes the messages after it is able to read the incomming message;
however as in this cases, it receives an error regarding no message found,
kannel think there are no messages thus does not delete anything, thus those
messages stay in sim

Regards

-Mensaje original-
De: Iain Dooley [mailto:[EMAIL PROTECTED] 
Enviado el: Viernes, 04 de Enero de 2008 21:03
Para: Alvaro Cornejo
CC: users@kannel.org
Asunto: clearing sim messages (was Re: error encoding pdu)


Hi Alvaro,

 Regarding the +CMTI error, I do receive them when the incomming 
 message get corrupted somehow -don´t know the reason yet- but it seems 
 to be related to another error I get from my modem: SIM BUSY. The 
 effect of this is that after all modem memories locations get full, 
 the modem stop receiving messages.

 The workarround I use is to stop kannel, read all modem memory 
 locations (AT+CMGL) then delete memories (AT+CMGD=x, Where x is the 
 memory location to be deleted. Varies according to the modem), then 
 start kannel. After that I do manually insert the messages to my 
 system in order to process the received message.

hmm in the past i never had to worry about the sim memory because i kannel 
seemed to just delete messages as soon as it read them. is that not the 
case?

 You might also want to add AT+CMEE=x into modem init string to enable 
 modem error verbose to help debugging.

okay i'll try this as well.

cheers

iain




Re: http smsc patch help

2008-01-05 Thread [EMAIL PROTECTED]
Hi Stipe,
Thanks alot for the help and reply.

Regards,


Willy
On Sat, 2008-01-05 at 23:49 +0100, Stipe Tolj wrote:
 Willy Mularto schrieb:
  Hi,
  I have situation where my telco requires a http connection with my
  server. I found that kannel supports this kind of connection, but
  unfortunatelly I must do some patches with kannel first. What I want
  to know is which files should be patched to accept MO from telco and
  send back the MT and also get the DLR from the telco. FYI, my telco
  send us a custom or additional parameters which carried during the MO
  and MT phase i.e
  http://url?msisdn=12345sms=testtrxid=090807ctype=1. Many thanks for
  your kind help and replies.
 
 what you are looking for is to add another 'type' for the SMSC HTTP module. 
 Please refer to the Kannel user's guide first, and then add the specific type 
 via to
 
gw/smsc/smsc_http.c
 
 You will find there several type implementations of specific HTTP APIs. 
 Simply 
 add your variant there.
 
 Stipe
 
 ---
 Kölner Landstrasse 419
 40589 Düsseldorf, NRW, Germany
 
 tolj.org system architecture  Kannel Software Foundation (KSF)
 http://www.tolj.org/  http://www.kannel.org/
 
 mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
 ---