RE: reading received messages in kannel

2013-06-04 Thread Rene Kluwen
Sagar, Please always copy the list when asking for support.

 

Something is wrong with your init string in that case.

 

 

From: Sagar Deshpande [mailto:sdeshpa...@ravy.co.in] 
Sent: dinsdag 4 juni 2013 7:27
To: Rene Kluwen
Subject: Re: reading received messages in kannel

 

Thanks for your response, 

As you told i made sim-buffering = true but when i make this my bearerbox is
not connecting to the device it is giving me error as:

 

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Generic error: ERROR

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Initialization of device
failed.

2013-06-04 10:56:15 [3904] [6] INFO: AT2[Nokia]: Closing device

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Couldn't connect (retrying
in 10 seconds).

 

Thanking You.

On Jun 3, 2013, at 6:03 PM, Rene Kluwen wrote:





There's two options:


Set sim-buffering = true in your group = smsc.

Or find the proper CNMI setting for your phone. Look in the users manual for
an explanation.

 

== Rene

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Sagar Deshpande
Sent: maandag 3 juni 2013 13:17
To: users@kannel.org
Subject: reading received messages in kannel

 

Dear Kannel Users,

 

Whenever message is received to my mobile i.e Nokia 5233 it is not showing
in Log and also it is not calling get-url but i can send sms from the same
device. If you find it could you please reply me as soon as possible. My
configuration file is as below.

 

group = core

 admin-port = 13003

 admin-password =

 admin-allow-ip = 127.0.0.1

 dlr-storage = mysql

 smsbox-port = 13016

 log-file = /var/log/kannel/bearerbox.log

 access-log = /var/log/kannel/access.log

 box-allow-ip = 127.0.0.1

 log-level = 0

 

group = smsc

 smsc-id = Nokia

 smsc = at

 modemtype = USB Modem

 device= /dev/ttyACM0

 my-number = xx

 connect-allow-ip = 127.0.0.1

 sim-buffering = false

 log-level = 0

 

group = mysql-connection

 id = mydlr

 host = localhost

 username = root

 password = 

 database = kannel

 

group = dlr-db

 id = mydlr

 table = dlr

 field-smsc = smsc

 field-timestamp = ts

 field-source=source

 field-destination = destination

 field-service = service

 field-url = url

 field-mask = mask

 field-status = status

 field-boxc-id = boxc

 

group = modems

 id = Nokia

 name = Nokia

 detect-string = Nokia

 init-string = ATZ

 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

 message-storage = SM

 

group = smsbox

 smsbox-id = mysmsbox

 bearerbox-host = localhost

 bearerbox-port = 13020

 sendsms-port = 13013

 global-sender = x

 access-log = /var/log/kannel/smsbox-access.log

 log-file = /var/log/kannel/smsbox.log

 log-level = 0

 mo-recode = true

 

group = smsbox-route

 smsbox-id = mysmsbox

 smsc-id = Nokia

 

group = sendsms-user

 username = kannel

 password = kannelPass

 concatenation= true

 max-messages = 1

 

group = sms-service

 keyword = default

 catch-all = yes

 max-messages = 10

 get-url = http://localhost/sms.php?phone=%p
http://localhost/sms.php?phone=%25ptext=%25a text=%a

 

Thank you in advance.

 



reading received messages in kannel

2013-06-03 Thread Sagar Deshpande
Dear Kannel Users,

Whenever message is received to my mobile i.e Nokia 5233 it is not showing in 
Log and also it is not calling get-url but i can send sms from the same device. 
If you find it could you please reply me as soon as possible. My configuration 
file is as below.

group = core
 admin-port = 13003
 admin-password =
 admin-allow-ip = 127.0.0.1
 dlr-storage = mysql
 smsbox-port = 13016
 log-file = /var/log/kannel/bearerbox.log
 access-log = /var/log/kannel/access.log
 box-allow-ip = 127.0.0.1
 log-level = 0

group = smsc
 smsc-id = Nokia
 smsc = at
 modemtype = USB Modem
 device= /dev/ttyACM0
 my-number = xx
 connect-allow-ip = 127.0.0.1
 sim-buffering = false
 log-level = 0

group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = 
 database = kannel

group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-source=source
 field-destination = destination
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc

group = modems
 id = Nokia
 name = Nokia
 detect-string = Nokia
 init-string = ATZ
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 message-storage = SM

group = smsbox
 smsbox-id = mysmsbox
 bearerbox-host = localhost
 bearerbox-port = 13020
 sendsms-port = 13013
 global-sender = x
 access-log = /var/log/kannel/smsbox-access.log
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 mo-recode = true

group = smsbox-route
 smsbox-id = mysmsbox
 smsc-id = Nokia

group = sendsms-user
 username = kannel
 password = kannelPass
 concatenation= true
 max-messages = 1

group = sms-service
 keyword = default
 catch-all = yes
 max-messages = 10
 get-url = http://localhost/sms.php?phone=%ptext=%a;

Thank you in advance.


RE: reading received messages in kannel

2013-06-03 Thread Rene Kluwen
There's two options:


Set sim-buffering = true in your group = smsc.

Or find the proper CNMI setting for your phone. Look in the users manual for
an explanation.

 

== Rene

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Sagar Deshpande
Sent: maandag 3 juni 2013 13:17
To: users@kannel.org
Subject: reading received messages in kannel

 

Dear Kannel Users,

 

Whenever message is received to my mobile i.e Nokia 5233 it is not showing
in Log and also it is not calling get-url but i can send sms from the same
device. If you find it could you please reply me as soon as possible. My
configuration file is as below. 

 

group = core

 admin-port = 13003

 admin-password =

 admin-allow-ip = 127.0.0.1

 dlr-storage = mysql

 smsbox-port = 13016

 log-file = /var/log/kannel/bearerbox.log

 access-log = /var/log/kannel/access.log

 box-allow-ip = 127.0.0.1

 log-level = 0

 

group = smsc

 smsc-id = Nokia

 smsc = at

 modemtype = USB Modem

 device= /dev/ttyACM0

 my-number = xx

 connect-allow-ip = 127.0.0.1

 sim-buffering = false

 log-level = 0

 

group = mysql-connection

 id = mydlr

 host = localhost

 username = root

 password = 

 database = kannel

 

group = dlr-db

 id = mydlr

 table = dlr

 field-smsc = smsc

 field-timestamp = ts

 field-source=source

 field-destination = destination

 field-service = service

 field-url = url

 field-mask = mask

 field-status = status

 field-boxc-id = boxc

 

group = modems

 id = Nokia

 name = Nokia

 detect-string = Nokia

 init-string = ATZ

 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

 message-storage = SM

 

group = smsbox

 smsbox-id = mysmsbox

 bearerbox-host = localhost

 bearerbox-port = 13020

 sendsms-port = 13013

 global-sender = x

 access-log = /var/log/kannel/smsbox-access.log

 log-file = /var/log/kannel/smsbox.log

 log-level = 0

 mo-recode = true

 

group = smsbox-route

 smsbox-id = mysmsbox

 smsc-id = Nokia

 

group = sendsms-user

 username = kannel

 password = kannelPass

 concatenation= true

 max-messages = 1

 

group = sms-service

 keyword = default

 catch-all = yes

 max-messages = 10

 get-url = http://localhost/sms.php?phone=%p
http://localhost/sms.php?phone=%25ptext=%25a text=%a

 

Thank you in advance.



Re: reading received messages in kannel

2012-05-11 Thread Πετσούκα Τάνια

  
  
Be sure that you set    transceiver-mode = true   in your smsc
config.

On 11/5/2012 2:31 μμ, Kali Lupenga wrote:

  
  hi all,
  
  thanks for your continued support. however, i am still not able to
  receieve incoming messages in kannel. i am not talking delivery
  reports. i am talking about sending a message to the sim card in
  the huawei E620 modem connected to kannel. i would like help on
  how i can be able to view the messages sent to the number i am
  using for kannel. i am able to send by calling the URL;
  
  http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=0977875812from=kalitext=TEST
  
  is there a special url i can use for receiving as is the case for
  sending? also, Find attached my config file for your review and
  assist in case i am missing an important setting that can allow me
  to achieve this.
  
  regards
  
  Kali Lupenga
  Head - Operations  IT
  Savannacom LTD
  Lusaka.
  
  
  On 05/09/2012 12:12 PM, spameden wrote:
  you need to add 2 parameters, dlr-url  dlr-mask
to receive DLR (Delivery reports) messages from your smsc.

read user guide, there is an example how it works out.

2012/5/9 Πετσούκα Τάνια ta...@tessera.gr
  
 You have to pass a
  parameter,dlr-url,   for getting delivery reports.
  The value of this parameter(url) is going to be hitted
  with your delivery report data.
  Read UG about this.
  
  Tania
  

  
  
  
  
  
  
  On 9/5/2012 7:12 μμ, Kali Lupenga wrote:
  Hello all, 

KIndly assist in pointing me into the right
direction. i have installed kannel and able to send
out messages via; http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage.

what i would like to know is this, how can i check
the messages that have been received? i have
installed playsms as well and i am able to send
messages just fine but unable to pull any received
messages. 

Kindly assist with what i should look into to be
able to start viewing received messages 

Kind regards 

Kali Lupenga 
Head - Operations  IT 
Savannacom 
Lusaka 

  
  
  

  
  
  -- 
 Πετσούκα Τάνια
  Web Developer
  Tessera Multimedia Α.Ε.
  Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
  Τηλ. +302310889155
  Fax: +302310889156
   
  

  


  
  



-- 
  
Πετσούκα Τάνια
Web Developer
Tessera Multimedia Α.Ε.
Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
Τηλ. +302310889155
Fax: +302310889156

  

  



Re: reading received messages in kannel

2012-05-11 Thread Alvaro Cornejo
You need to configure your modem to fw incomming messages to kannel. Use
CNMI=xxx as per your modem requirements. Also you need to define an url in
your config so kannel will call it and pass the inc message to your app.

There is a section on this on the user guide.

Regards

Alvaro



|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Fri, May 11, 2012 at 6:31 AM, Kali Lupenga k...@savannacom.zm wrote:

  hi all,

 thanks for your continued support. however, i am still not able to
 receieve incoming messages in kannel. i am not talking delivery reports. i
 am talking about sending a message to the sim card in the huawei E620 modem
 connected to kannel. i would like help on how i can be able to view the
 messages sent to the number i am using for kannel. i am able to send by
 calling the URL;


 http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=0977875812from=kalitext=TEST

 is there a special url i can use for receiving as is the case for sending?
 also, Find attached my config file for your review and assist in case i am
 missing an important setting that can allow me to achieve this.


 regards

 Kali Lupenga
 Head - Operations  IT
 Savannacom LTD
 Lusaka.



 On 05/09/2012 12:12 PM, spameden wrote:

 you need to add 2 parameters, dlr-url  dlr-mask to receive DLR (Delivery
 reports) messages from your smsc.

 read user guide, there is an example how it works out.

 2012/5/9 Πετσούκα Τάνια ta...@tessera.gr

  You have to pass a parameter,dlr-url,   for getting delivery reports.
 The value of this parameter(url) is going to be hitted with your delivery
 report data.
 Read UG about this.

 Tania







 On 9/5/2012 7:12 μμ, Kali Lupenga wrote:

 Hello all,

 KIndly assist in pointing me into the right direction. i have installed
 kannel and able to send out messages via;
 http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage
 .

 what i would like to know is this, how can i check the messages that have
 been received? i have installed playsms as well and i am able to send
 messages just fine but unable to pull any received messages.

 Kindly assist with what i should look into to be able to start viewing
 received messages

 Kind regards

 Kali Lupenga
 Head - Operations  IT
 Savannacom
 Lusaka



   --
  Πετσούκα Τάνια
 Web Developer
 Tessera Multimedia Α.Ε.
 Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
 Τηλ. +302310889155
 Fax: +302310889156
  http://www.tessera.gr/




image/gif

Re: reading received messages in kannel

2012-05-10 Thread Kali Lupenga

  
  
hi all,

thanks for your continued support. however, i am still not able to
receieve incoming messages in kannel. i am not talking delivery
reports. i am talking about sending a message to the sim card in the
huawei E620 modem connected to kannel. i would like help on how i
can be able to view the messages sent to the number i am using for
kannel. i am able to send by calling the URL;

http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=0977875812from=kalitext=TEST

is there a special url i can use for receiving as is the case for
sending? also, Find attached my config file for your review and
assist in case i am missing an important setting that can allow me
to achieve this.

regards

Kali Lupenga
Head - Operations  IT
Savannacom LTD
Lusaka.


On 05/09/2012 12:12 PM, spameden wrote:
you need to add 2 parameters, dlr-url  dlr-mask
  to receive DLR (Delivery reports) messages from your smsc.
  
  read user guide, there is an example how it works out.
  
  2012/5/9 Πετσούκα Τάνια ta...@tessera.gr

   You have to pass a
parameter,dlr-url,   for getting delivery reports.
The value of this parameter(url) is going to be hitted with
your delivery report data.
Read UG about this.

Tania

  






On 9/5/2012 7:12 μμ, Kali Lupenga wrote:
Hello all, 
  
  KIndly assist in pointing me into the right direction.
  i have installed kannel and able to send out messages
  via;
  http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage.
  
  what i would like to know is this, how can i check the
  messages that have been received? i have installed
  playsms as well and i am able to send messages just
  fine but unable to pull any received messages. 
  
  Kindly assist with what i should look into to be able
  to start viewing received messages 
  
  Kind regards 
  
  Kali Lupenga 
  Head - Operations  IT 
  Savannacom 
  Lusaka 
  



  


-- 
   Πετσούκα Τάνια
Web Developer
Tessera Multimedia Α.Ε.
Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
Τηλ. +302310889155
Fax: +302310889156
 

  

  
  


  

# The Core Group (BearerBox) 

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = /var/log/kannel/bearerbox.log
log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1

include = /etc/kannel/smpp.conf
include = /etc/kannel/smsbox.conf
include = /etc/kannel/smsuser.conf
include = /etc/kannel/smsservices.conf
include = /etc/kannel/modems.conf

# The SMSC Connections ...

group = smsc
smsc = at
smsc-id = bms
#modemtype = auto
modemtype = huawei
device = /dev/ttyUSB_utps_modem
speed = 9600
my-number = +260962424244
sms-center = +26096060015
allowed-smsc-id = bms
preferred-smsc-id = bms
#validityperiod = 167
sim-buffering = true
#keepalive = 5

# SMS Service Group

group = sms-service
keyword = default
text = No services defined
get-url = 
http://localhost/playsms/web/plugin/gateway/kannel/geturl.php?keyword=%kkeyword_2=%skeyword_3=%rmobile_num=%pscode=%Pt=%tq=%qa$$
omit-empty = true

# modems

group = modems
id = huawei
name = huawei E620
detect-string = E620
init-string = AT+CNMI=1,2,0,1,0
#init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
#init-string = AT+CNMI=1,2,0,1,0
speed = 115200
#message-start = 0
message-storage = sm

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = 0123456789 +-
log-file = /var/log/kannel/smsbox.log
log-level = 4
http-request-retry = 5

# sms users

group = sendsms-user
username = kannel
password = kannel
concatenation = true
user-allow-ip = *.*.*.*
forced-smsc = bms


reading received messages in kannel

2012-05-09 Thread Kali Lupenga

Hello all,

KIndly assist in pointing me into the right direction. i have installed 
kannel and able to send out messages via; 
http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage.


what i would like to know is this, how can i check the messages that 
have been received? i have installed playsms as well and i am able to 
send messages just fine but unable to pull any received messages.


Kindly assist with what i should look into to be able to start viewing 
received messages


Kind regards

Kali Lupenga
Head - Operations  IT
Savannacom
Lusaka



Re: reading received messages in kannel

2012-05-09 Thread Πετσούκα Τάνια

  
  
You have to pass a parameter,dlr-url,   for getting delivery
reports.
The value of this parameter(url) is going to be hitted with your
delivery report data.
Read UG about this.

Tania






On 9/5/2012 7:12 μμ, Kali Lupenga wrote:
Hello
  all,
  
  
  KIndly assist in pointing me into the right direction. i have
  installed kannel and able to send out messages via;
http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage.
  
  what i would like to know is this, how can i check the messages
  that have been received? i have installed playsms as well and i am
  able to send messages just fine but unable to pull any received
  messages.
  
  
  Kindly assist with what i should look into to be able to start
  viewing received messages
  
  
  Kind regards
  
  
  Kali Lupenga
  
  Head - Operations  IT
  
  Savannacom
  
  Lusaka
  
  



-- 
  
Πετσούκα Τάνια
Web Developer
Tessera Multimedia Α.Ε.
Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
Τηλ. +302310889155
Fax: +302310889156

  

  



Re: reading received messages in kannel

2012-05-09 Thread spameden
you need to add 2 parameters, dlr-url  dlr-mask to receive DLR (Delivery
reports) messages from your smsc.

read user guide, there is an example how it works out.

2012/5/9 Πετσούκα Τάνια ta...@tessera.gr

  You have to pass a parameter,dlr-url,   for getting delivery reports.
 The value of this parameter(url) is going to be hitted with your delivery
 report data.
 Read UG about this.

 Tania







 On 9/5/2012 7:12 μμ, Kali Lupenga wrote:

 Hello all,

 KIndly assist in pointing me into the right direction. i have installed
 kannel and able to send out messages via;
 http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+260962424244from=text=testmessage
 .

 what i would like to know is this, how can i check the messages that have
 been received? i have installed playsms as well and i am able to send
 messages just fine but unable to pull any received messages.

 Kindly assist with what i should look into to be able to start viewing
 received messages

 Kind regards

 Kali Lupenga
 Head - Operations  IT
 Savannacom
 Lusaka



 --
  Πετσούκα Τάνια
 Web Developer
 Tessera Multimedia Α.Ε.
 Βασ. Γεωργίου 24, Θεσσαλονίκη 54640
 Τηλ. +302310889155
 Fax: +302310889156
  http://www.tessera.gr/

tessera-logo.gif

RE: reading received messages in kannel

2012-05-09 Thread Rene Kluwen
Read userguide about sms service configuration:
http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN3
798
Especially the examples at the bottom will shine a light.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Kali Lupenga
Sent: Wednesday, 09 May, 2012 18:13
To: users@kannel.org
Subject: reading received messages in kannel

Hello all,

KIndly assist in pointing me into the right direction. i have installed 
kannel and able to send out messages via; 
http://localhost:13013/cgi-bin/sendsms?username=kannelpassword=kannelto=+2
60962424244from=text=testmessage.

what i would like to know is this, how can i check the messages that 
have been received? i have installed playsms as well and i am able to 
send messages just fine but unable to pull any received messages.

Kindly assist with what i should look into to be able to start viewing 
received messages

Kind regards

Kali Lupenga
Head - Operations  IT
Savannacom
Lusaka