SPAM control at kannel

2010-12-24 Thread Manoj B
Hi,

Anyone have any idea, how to stop spam messages at kannel level?
Thank you.

Regards,
Manoj


SMS not routed

2010-12-24 Thread David Ige: Cellulant
Hello users,

I have setup smppbox on a centOS server and i have created an esme-user in
the config which i use to connect to the server from another system. Each
time i send a message from this system using the sendsms url, it displays
Accepted for delivery' but when it gets to the server it does not route the
sms.

The Error in the log file is below;

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message
(0x95394f0 vs 0x95394f0)
2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message
(0x95394f0 vs 0x95394f0)
2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request
2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests.
2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL `
http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
':
2010-12-25 11:16:17 [4857] [3] DEBUG:   Scheme: http://
2010-12-25 11:16:17 [4857] [3] DEBUG:   Host: localhost
2010-12-25 11:16:17 [4857] [3] DEBUG:   Port: 23013
2010-12-25 11:16:17 [4857] [3] DEBUG:   Username: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Password: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Path: /cgi-bin/sendsms
2010-12-25 11:16:17 [4857] [3] DEBUG:   Query:
username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
2010-12-25 11:16:17 [4857] [3] DEBUG:   Fragment: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1
2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to
`localhost:23013' (fd=59).
2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting
2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket
2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected
2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch 
http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917

2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS
center (retrying in 10 seconds).
2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query


can someone please tell me what the problem is.

Thanks.


Elite not connected to kannel

2010-12-24 Thread David Ige: Cellulant
Hello users,

i have installed Elite SMS Gateway on a centOS Server. When i try to get the
status of kannel and smpp box it displays:

Kannel Control Error communicating with Kannel!
and


SMPPBox Control Error communicating with SMPPBox!
 

Can anybody tell me why i am getting this error. I have started kannel and
Smppbox sucessfully but i just cannot see there status from Elite.


Re: Is native dlr storage good to be used in production?

2010-12-24 Thread Oscar Cassetti
Thanks, that's quite comforting!

--
Oscar


On Mon, Dec 20, 2010 at 7:24 PM, Alejandro Guerrieri
alejandro.guerri...@gmail.com wrote:
 Well, performance-wise is the fastest of all, since everything's performed
 in memory.
 However, there are drawbacks:
 - If Kannel crashes, your pending DLRs are gone.
 - If you don't clean it up from time to time and you have unfinished DLR's,
 it'll eventually eat up all your memory.
 Regards,
 Alex

 On Mon, Dec 20, 2010 at 7:45 PM, Oscar Cassetti oscar.getstr...@gmail.com
 wrote:

 Hello,

 I was wondering if the native dlr storage is good to be used in
 production environment?
 What about the performances ?

 Thank you,

 --
 Oscar






Re: SMS not routed

2010-12-24 Thread Nikos Balkanas

Hi,

Looks like you have confused your sendsms interface with your SMSc 
definition in your configuration. You should post your configuration if you 
need more help.


BR,
Nikos
- Original Message - 
From: David Ige: Cellulant

To: users@kannel.org
Sent: Friday, December 24, 2010 1:30 PM
Subject: SMS not routed


Hello users,

I have setup smppbox on a centOS server and i have created an esme-user in 
the config which i use to connect to the server from another system. Each 
time i send a message from this system using the sendsms url, it displays 
Accepted for delivery' but when it gets to the server it does not route the 
sms.


The Error in the log file is below;

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message 
(0x95394f0 vs 0x95394f0)

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message 
(0x95394f0 vs 0x95394f0)

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request
2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests.
2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL 
`http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917':

2010-12-25 11:16:17 [4857] [3] DEBUG:   Scheme: http://
2010-12-25 11:16:17 [4857] [3] DEBUG:   Host: localhost
2010-12-25 11:16:17 [4857] [3] DEBUG:   Port: 23013
2010-12-25 11:16:17 [4857] [3] DEBUG:   Username: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Password: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Path: /cgi-bin/sendsms
2010-12-25 11:16:17 [4857] [3] DEBUG:   Query: 
username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917

2010-12-25 11:16:17 [4857] [3] DEBUG:   Fragment: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1
2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to 
`localhost:23013' (fd=59).

2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting
2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket
2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected
2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch 
http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS 
center (retrying in 10 seconds).

2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query


can someone please tell me what the problem is.

Thanks. 





Re: Elite not connected to kannel

2010-12-24 Thread Nikos Balkanas

Hi,

Make sure that both are up and running. If they do, it is not a kannel 
issue, and you should contact Elite SMS support for that.


BR,
Nikos
- Original Message - 
From: David Ige: Cellulant

To: users@kannel.org
Sent: Friday, December 24, 2010 1:34 PM
Subject: Elite not connected to kannel


Hello users,

i have installed Elite SMS Gateway on a centOS Server. When i try to get the 
status of kannel and smpp box it displays:



Kannel Control
Error communicating with Kannel!

and



SMPPBox Control
Error communicating with SMPPBox!


Can anybody tell me why i am getting this error. I have started kannel and 
Smppbox sucessfully but i just cannot see there status from Elite. 





SMS not routed

2010-12-24 Thread David Ige: Cellulant
Hello users,

I have setup smppbox on a centOS server and i have created an esme-user in
the config which i use to connect to the server from another system. Each
time i send a message from this system using the sendsms url, it displays
Accepted for delivery' but when it gets to the server it does not route the
sms.

The Error in the log file is below;

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message
(0x95394f0 vs 0x95394f0)
2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message
(0x95394f0 vs 0x95394f0)
2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request
2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests.
2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL `
http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
':
2010-12-25 11:16:17 [4857] [3] DEBUG:   Scheme: http://
2010-12-25 11:16:17 [4857] [3] DEBUG:   Host: localhost
2010-12-25 11:16:17 [4857] [3] DEBUG:   Port: 23013
2010-12-25 11:16:17 [4857] [3] DEBUG:   Username: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Password: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Path: /cgi-bin/sendsms
2010-12-25 11:16:17 [4857] [3] DEBUG:   Query:
username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
2010-12-25 11:16:17 [4857] [3] DEBUG:   Fragment: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1
2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to
`localhost:23013' (fd=59).
2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting
2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket
2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected
2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch 
http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917

2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS
center (retrying in 10 seconds).
2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query


Here is my kannel configuration:


---
bearerbox.conf
---

include=/opt/vsmsc/etc/kannel_include.conf

group=vsmsc-config
path=/opt/vsmsc/etc/vsmsc_bbox.conf

group=rr-list
id=rr-db
table=users
key-field=username
value-field=throughput

group=mysql-connection
id=rr-db
host=localhost
username=xx
password=xx
database=xx
max-connections=1

kannel_include.conf

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = foobar
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
log-file=/opt/vsmsc/logs/bearerbox.log
log-level=0
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
#admin-allow-ip = *.*.*.*


group = mysql-connection
id = kannel_dlr
host = localhost
username = xx
password = xx
database = xx
max-connections = 5

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

#-
# SMSC CONNECTIONS
#-

include=/opt/vsmsc/etc/smsc.d/
#include=/opt/vsmsc/etc/smsc.d/mo_relay.conf

#-
# SMSBOX SETUP
#-

group = smsbox
smsbox-id=VSMSC_HTTP
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file=/opt/vsmsc/logs/smsbox.log
log-level=0
access-log = /tmp/access.log

#-
# SEND-SMS USERS
#-



#-
# SERVICES
#-

group = 

Re: SPAM control at kannel

2010-12-24 Thread Alvaro Cornejo
Hi

Kannel itself does not have any feature like that. The only thing you
can use natively is white/black listing.

You should do that into your app that send/receive sms to/from network

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, Dec 24, 2010 at 5:02 AM, Manoj B kannel.ma...@gmail.com wrote:
 Hi,

 Anyone have any idea, how to stop spam messages at kannel level?
 Thank you.

 Regards,
 Manoj



Merry Christmas Happy New Year Kannel Community

2010-12-24 Thread Alvaro Cornejo
Hi All

I take a moment away from my normal duties to send all you my best
wishes for this end of year holidays.

Many of you probably do not celebrate Xmas; however, other than it
religious interpretation,  it is a time to remember and thanks all
people that one work, live  share with for all the good things you
had together and to forgive  forget the bad things or
misunderstandings you might also receive from someone.

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



Re: SMS not routed

2010-12-24 Thread Nikos Balkanas

Hi,

You don't define any smsc to route SMS to:

include=/opt/vsmsc/etc/smsc.d/

Include parameter doesn't take a directory as argument. Read UG about it.

BR,
Nikos
- Original Message - 
From: David Ige: Cellulant

To: users@kannel.org
Sent: Friday, December 24, 2010 3:39 PM
Subject: SMS not routed


Hello users,

I have setup smppbox on a centOS server and i have created an esme-user in 
the config which i use to connect to the server from another system. Each 
time i send a message from this system using the sendsms url, it displays 
Accepted for delivery' but when it gets to the server it does not route the 
sms.


The Error in the log file is below;

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message 
(0x95394f0 vs 0x95394f0)

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message 
(0x95394f0 vs 0x95394f0)

2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued.
2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs.
2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request
2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request
2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests.
2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL 
`http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917':

2010-12-25 11:16:17 [4857] [3] DEBUG:   Scheme: http://
2010-12-25 11:16:17 [4857] [3] DEBUG:   Host: localhost
2010-12-25 11:16:17 [4857] [3] DEBUG:   Port: 23013
2010-12-25 11:16:17 [4857] [3] DEBUG:   Username: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Password: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG:   Path: /cgi-bin/sendsms
2010-12-25 11:16:17 [4857] [3] DEBUG:   Query: 
username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917

2010-12-25 11:16:17 [4857] [3] DEBUG:   Fragment: (null)
2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1
2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to 
`localhost:23013' (fd=59).

2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting
2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket
2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected
2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch 
http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917
2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS 
center (retrying in 10 seconds).

2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update
2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query


Here is my kannel configuration:


---
bearerbox.conf
---

include=/opt/vsmsc/etc/kannel_include.conf

group=vsmsc-config
path=/opt/vsmsc/etc/vsmsc_bbox.conf

group=rr-list
id=rr-db
table=users
key-field=username
value-field=throughput

group=mysql-connection
id=rr-db
host=localhost
username=xx
password=xx
database=xx
max-connections=1

kannel_include.conf

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = foobar
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
log-file=/opt/vsmsc/logs/bearerbox.log
log-level=0
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
#admin-allow-ip = *.*.*.*


group = mysql-connection
id = kannel_dlr
host = localhost
username = xx
password = xx
database = xx
max-connections = 5

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

#-
# SMSC CONNECTIONS
#-

include=/opt/vsmsc/etc/smsc.d/
#include=/opt/vsmsc/etc/smsc.d/mo_relay.conf

#-
# SMSBOX SETUP
#-

group = smsbox
smsbox-id=VSMSC_HTTP
bearerbox-host = 127.0.0.1