Routing SMS by sender id

2022-11-18 Thread christopher kamutumwa
Hello Users,
Can i route messages in kannel by sender id per SMSC connection like the
way denied-prefix is? if not is they any best way to achieve this?

Regards

Chris


Re: octstr_url_decode: corrupted end-of-string <%>

2022-06-23 Thread christopher kamutumwa
Where is that?

On Wed, Jun 22, 2022 at 4:22 PM Alvaro Cornejo 
wrote:

> Hi
>
> I guess you need to urleconde your string.
>
> Regards,
>
> Alvaro
>
> ||
>  Stay safe / Cuídate/  Reste sécurisé
> *7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
> mesure.
>  *q *Recycle always / Recicla siempre / Recyclez toujours
>  P Print only if absolutely necessary / Imprime solo si es necesario /
> Imprimez seulement si nécessaire
>
>
> Le mer. 22 juin 2022 à 02:23, christopher kamutumwa <
> chriskamutu...@gmail.com> a écrit :
>
>> Hello team,
>> I get this when % sign is put in message . Advise how to resolve.
>>
>> Thanks in advances
>>
>> chris
>>
>


octstr_url_decode: corrupted end-of-string <%>

2022-06-22 Thread christopher kamutumwa
Hello team,
I get this when % sign is put in message . Advise how to resolve.

Thanks in advances

chris


Re: Routing DLR to ESME using OpenSMPPBox

2022-05-08 Thread christopher kamutumwa
Thank you ruben,
added that line but still getting below in logs please advise

2022-05-09 03:45:12 [20164] [11] INFO: We received an SMS message.
2022-05-09 03:45:12 [20164] [11] DEBUG: DLR[mysql]: Looking for DLR
smsc=smpp1, ts=a70c7834-3a07-43c0-9749-89cebfeedc85, dst=+260976198318,
type=1
2022-05-09 03:45:12 [23636] [24] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2022-05-09 03:45:12 [20164] [11] DEBUG: sql: SELECT `mask`, `service`,
`url`, `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND
`ts`=?  LIMIT 1
2022-05-09 03:45:12 [20164] [11] DEBUG: column=mask buffer_type=253
max_length=0 length=4
2022-05-09 03:45:12 [20164] [11] DEBUG: column=service buffer_type=253
max_length=0 length=16
2022-05-09 03:45:12 [20164] [11] DEBUG: column=url buffer_type=253
max_length=0 length=2048
2022-05-09 03:45:12 [20164] [11] DEBUG: column=source buffer_type=253
max_length=0 length=32
2022-05-09 03:45:12 [20164] [11] DEBUG: column=destination buffer_type=253
max_length=0 length=32
2022-05-09 03:45:12 [20164] [11] DEBUG: column=boxcid buffer_type=253
max_length=0 length=16
2022-05-09 03:45:12 [20164] [11] WARNING: DLR[mysql]: DLR from SMSC
for DST<+260976198318> not found.
2022-05-09 03:45:12 [20164] [11] WARNING: msg_to_pdu failed, sending
negative ack

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sun, May 8, 2022 at 12:03 PM Ruben Melikyan  wrote:

> Try to set in smsc config the following line:
> reroute-dlr=true
>
> Best regards,
> Ruben Melikyan
>
> On 8 May 2022, at 10:32, christopher kamutumwa 
> wrote:
>
> 
>
> I have configured my servers to send from ESME to SMSC through OpenSMPPBox,
> i have applied the below flow
> ESME -->> OpenSMPPBox -->> SQLBox -->>Bearerbox -->> SMSC
>
> I have succeeded in sending the sms from ESME to the SMSC but my problem is
> related to the DLR.
> The Bearerbox actually received the DLR from the SMSC but it didn't route
> it to the ESME.
>
> What is the required configurations that could resolve the above issue. i
> need to route the DLR to the ESME
>
> Your help in this regard is highly appreciated and thanks in advance.i can 
> see entries in db when i send msg
>
> Below are my config files and log error,
> 2022-05-07 14:36:47 [3023] [7] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp1, 
> ts=1a11039a-901d-43e3-8f99-1b42fa14aacb, dst=+260976198318, type=1
> 2022-05-07 14:36:47 [3023] [7] DEBUG: sql: SELECT `mask`, `service`, `url`, 
> `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND `ts`=?  LIMIT 
> 1
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=mask buffer_type=253 
> max_length=0 length=4
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=service buffer_type=253 
> max_length=0 length=16
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=url buffer_type=253 max_length=0 
> length=2048
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=source buffer_type=253 
> max_length=0 length=32
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=destination buffer_type=253 
> max_length=0 length=32
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=boxcid buffer_type=253 
> max_length=0 length=16
> 2022-05-07 14:36:47 [3023] [7] WARNING: DLR[mysql]: DLR from SMSC for 
> DST<+260976198318> not found.
> 2022-05-07 14:36:47 [3023] [7] WARNING: msg_to_pdu failed, sending negative 
> ack
>
> *** Kannel.conf 
> #-
> # core setup
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> wapbox-port = 13002
> admin-password = admin123
> status-password = status123
> wdp-interface-name = "*"
> log-file = "/usr/local/kannel/bearerbox.log"
> log-level = 3
> access-log = "/usr/local/kannel/bearerboxaccess.log"
> store-type = spool
> store-location = "/usr/local/kannel/store"
> store-dump-freq = 60
> #-
> # smsc setup
>
> group = smsc
> smsc = smpp
> smsc-id = VFSMPP1
> host = "x.x.x.x"
> port = 
> smsc-username = egypt321
> smsc-password = egypt321
> system-type = "egypt321"
> address-range = ""
> dest-addr-ton=1
> dest-addr-npi=1
> interface-version = 34
> enquire-link-interval = 25
> reconnect-delay = 15
> transceiver-mode = 1
> #max-pending-submits = 8
> throughput = 6
> #-
> # smsbox setup
>
> group = smsbox
> smsbox-id = smsbox1
> bearer

Routing DLR to ESME using OpenSMPPBox

2022-05-08 Thread christopher kamutumwa
I have configured my servers to send from ESME to SMSC through OpenSMPPBox,
i have applied the below flow
ESME -->> OpenSMPPBox -->> SQLBox -->>Bearerbox -->> SMSC

I have succeeded in sending the sms from ESME to the SMSC but my problem is
related to the DLR.
The Bearerbox actually received the DLR from the SMSC but it didn't route
it to the ESME.

What is the required configurations that could resolve the above issue. i
need to route the DLR to the ESME

Your help in this regard is highly appreciated and thanks in advance.i
can see entries in db when i send msg

Below are my config files and log error,
2022-05-07 14:36:47 [3023] [7] DEBUG: DLR[mysql]: Looking for DLR
smsc=smpp1, ts=1a11039a-901d-43e3-8f99-1b42fa14aacb,
dst=+260976198318, type=1
2022-05-07 14:36:47 [3023] [7] DEBUG: sql: SELECT `mask`, `service`,
`url`, `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND
`ts`=?  LIMIT 1
2022-05-07 14:36:47 [3023] [7] DEBUG: column=mask buffer_type=253
max_length=0 length=4
2022-05-07 14:36:47 [3023] [7] DEBUG: column=service buffer_type=253
max_length=0 length=16
2022-05-07 14:36:47 [3023] [7] DEBUG: column=url buffer_type=253
max_length=0 length=2048
2022-05-07 14:36:47 [3023] [7] DEBUG: column=source buffer_type=253
max_length=0 length=32
2022-05-07 14:36:47 [3023] [7] DEBUG: column=destination
buffer_type=253 max_length=0 length=32
2022-05-07 14:36:47 [3023] [7] DEBUG: column=boxcid buffer_type=253
max_length=0 length=16
2022-05-07 14:36:47 [3023] [7] WARNING: DLR[mysql]: DLR from
SMSC for DST<+260976198318> not found.
2022-05-07 14:36:47 [3023] [7] WARNING: msg_to_pdu failed, sending negative ack

*** Kannel.conf 
#-
# core setup

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = admin123
status-password = status123
wdp-interface-name = "*"
log-file = "/usr/local/kannel/bearerbox.log"
log-level = 3
access-log = "/usr/local/kannel/bearerboxaccess.log"
store-type = spool
store-location = "/usr/local/kannel/store"
store-dump-freq = 60
#-
# smsc setup

group = smsc
smsc = smpp
smsc-id = VFSMPP1
host = "x.x.x.x"
port = 
smsc-username = egypt321
smsc-password = egypt321
system-type = "egypt321"
address-range = ""
dest-addr-ton=1
dest-addr-npi=1
interface-version = 34
enquire-link-interval = 25
reconnect-delay = 15
transceiver-mode = 1
#max-pending-submits = 8
throughput = 6
#-
# smsbox setup

group = smsbox
smsbox-id = smsbox1
bearerbox-host = "127.0.0.1"
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
log-file = "/usr/local/kannel/smsbox.log"
log-level = 3
access-log = "/usr/local/kannel/smsboxaccess.log"
mo-recode = true
http-request-retry = 1000
max-pending-requests = 33000
#-
# smsbox-route setup

group = smsbox-route
smsbox-id = smsc1
smsc-id = VFSMPP1
###

*** OpenSMPPBox.conf **
group = core
dlr-storage = internal

group = opensmppbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13005
opensmppbox-id = opensmppbox1
opensmppbox-port = 13003
log-file = "/usr/local/kannel/smppbox.log"
#log-level = 3
our-system-id = Inaccess
#route-to-smsc = cardboard
smpp-logins = /usr/local/kannel/smpplogins.txt
###

*** smpplogins.txt***
test testpw smsc1 *.*.*.*
###

*** SQLBox.conf ***
group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
global-sender = ""
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/usr/local/kannel/kannel-sqlbox.log"

# MYSQL Connection
group = mysql-connection
id = sqlbox-db
host = localhost
username = root
password = root
database = mysqlbox
###



Regards,



Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


OPEN SMPP MANAGEMENT

2022-05-06 Thread christopher kamutumwa
Hello,
How does one calculate traffic from a specific smpp connection in opensmpp.
Can someone hint how this can be managed

Chris


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: opensmpp failing to install

2022-04-27 Thread christopher kamutumwa
Hello
I am getting below error\\root@ubuntu:/etc/kannel/trunk# ./bootstrap.sh
-bash: ./bootstrap.sh: No such file or directory
root@ubuntu:/etc/kannel/trunk# ls
acinclude.m4  bootstrap COPYING  INSTALL  README  VERSION
aclocal.m4ChangeLog doc  Makefile.am  rpm
AUTHORS   configure example  Makefile.in  sb-config.h.in
autotools configure.in  gw   NEWS UPGRADE

On Tue, Apr 12, 2022 at 8:18 PM Loyc Cossou  wrote:

> Hi,
>
> Have you done * ./bootstrap.sh* before ./configure?
>
> --
> loyc Cossou
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality11;>
>  Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality11;>
>  12/04/22,
> 19:17:25
>
> Le mar. 12 avr. 2022 à 15:56, christopher kamutumwa <
> chriskamutu...@gmail.com> a écrit :
>
>>
>>
>> -- Forwarded message -
>> From: christopher kamutumwa 
>> Date: Sun, Apr 10, 2022 at 4:18 AM
>> Subject: opensmpp failing to install
>> To: users 
>>
>>
>> Hello Support,
>> Need help with installing opensmpp on ubuntu server below is error i
>> receive when installing
>>
>> root@ubuntu:~/trunk# make
>> make  all-recursive
>> make[1]: Entering directory `/root/trunk'
>> Making all in gw
>> make[2]: Entering directory `/root/trunk/gw'
>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
>> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -Wall -g -O2
>> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
>>  -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
>> -Winline -Wformat -Wformat-security -Wmissing-format-attribute
>> -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -MT
>> opensmppbox.o -MD -MP -MF ".deps/opensmppbox.Tpo" -c -o opensmppbox.o
>> opensmppbox.c; \
>> then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else
>> rm -f ".deps/opensmppbox.Tpo"; exit 1; fi
>> opensmppbox.c:81:26: fatal error: gw/meta_data.h: No such file or
>> directory
>>  #include "gw/meta_data.h"
>>   ^
>> compilation terminated.
>> make[2]: *** [opensmppbox.o] Error 1
>> make[2]: Leaving directory `/root/trunk/gw'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/root/trunk'
>> make: *** [all] Error 2
>>
>> thanks in advance
>>
>> chris
>>
>


opensmpp failing to install

2022-04-12 Thread christopher kamutumwa
Hello Support,
Need help with installing opensmpp on ubuntu server below is error i
receive when installing

root@ubuntu:~/trunk# make
make  all-recursive
make[1]: Entering directory `/root/trunk'
Making all in gw
make[2]: Entering directory `/root/trunk/gw'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -Wall -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -Wformat -Wformat-security -Wmissing-format-attribute
-I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -MT
opensmppbox.o -MD -MP -MF ".deps/opensmppbox.Tpo" -c -o opensmppbox.o
opensmppbox.c; \
then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else rm
-f ".deps/opensmppbox.Tpo"; exit 1; fi
opensmppbox.c:81:26: fatal error: gw/meta_data.h: No such file or directory
 #include "gw/meta_data.h"
  ^
compilation terminated.
make[2]: *** [opensmppbox.o] Error 1
make[2]: Leaving directory `/root/trunk/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trunk'
make: *** [all] Error 2

thanks in advance

chris


Fwd: opensmpp failing to install

2022-04-12 Thread christopher kamutumwa
-- Forwarded message -
From: christopher kamutumwa 
Date: Sun, Apr 10, 2022 at 4:18 AM
Subject: opensmpp failing to install
To: users 


Hello Support,
Need help with installing opensmpp on ubuntu server below is error i
receive when installing

root@ubuntu:~/trunk# make
make  all-recursive
make[1]: Entering directory `/root/trunk'
Making all in gw
make[2]: Entering directory `/root/trunk/gw'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -Wall -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -Wformat -Wformat-security -Wmissing-format-attribute
-I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -MT
opensmppbox.o -MD -MP -MF ".deps/opensmppbox.Tpo" -c -o opensmppbox.o
opensmppbox.c; \
then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else rm
-f ".deps/opensmppbox.Tpo"; exit 1; fi
opensmppbox.c:81:26: fatal error: gw/meta_data.h: No such file or directory
 #include "gw/meta_data.h"
  ^
compilation terminated.
make[2]: *** [opensmppbox.o] Error 1
make[2]: Leaving directory `/root/trunk/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trunk'
make: *** [all] Error 2

thanks in advance

chris


Fwd: SMS QUEUEING AND NOT SENDING SMS

2019-01-01 Thread christopher kamutumwa
-- Forwarded message -
From: christopher kamutumwa 
Date: Tue, Jan 1, 2019 at 8:13 AM
Subject: SMS QUEUEING AND NOT SENDING SMS
To: users 


Hello,
Am trying to send messages from kannel and the seem not to go or go at a
very slow rate. Need you help with making send faster and also what do
these statuses mean SMS receieved 0 (1022847 queued) and store size is
2012238. how do I reduce those sizes

regards

chris


[no subject]

2018-12-26 Thread christopher kamutumwa
hello users,

I have a problem with kannel sending mail when I check status below is what
am getting when I check status. message is being delivered to handset but
not logging. My queued messages are large as well as store size. But sent
messages is 0. it was working well before. Please advise what not right

SMS: received 0 (529358 queued), sent 0 (1015487 queued), store size 1548093
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: received 11, sent 0
DLR: inbound (0.02,0.04,0.04) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 691673 queued, using mysql storage

Regards

Chris


sqlbox.log error

2018-12-13 Thread christopher kamutumwa
Dear users,
I have messages stuck in send_sms in sqlbox when I inject a message
containing a percent(%) character below is errors from sqlbox.log. how can
this be resolved as file is growing bigger fast

 WARNING: octstr_url_decode: garbage detected (%at) skipping.

Regards,

Chris


DLRs getting deleted from Msql

2018-12-11 Thread christopher kamutumwa
I have kannel v1.4.4 running properly am able to sending messages and
receive dlrs as per access log.

but I cant see it getting saved to msql as table dlr in temp_dlr is empty.
I have checked bearerbox.log and am getting below action that dlr is
getting deleted. How do I resolve this?

Bearerbox.log below
….
removing DLR from database
2018-12-11 14:34:08 [16289] [7] DEBUG: sql: DELETE FROM `dlr` WHERE
`smsc`=? AND `ts`=?  LIMIT 1

………

Thanks in advance
Chris


Re: [PATCH] allow setting service-type for SMPP SMSC

2018-11-12 Thread christopher kamutumwa
this hasn't worked I did but same error

On Mon, Nov 12, 2018 at 9:02 PM Web Min  wrote:

> try to match the below
>
> # SMSC
> group = smsc
> smsc = smpp
> smsc-id = myid
> allowed-smsc-id = myid
> preferred-smsc-id = myid
> interface-version = 34
> host = xx.xx.xx.xx.
> port = 
> receive-port = 0
> transceiver-mode = 0
> smsc-username = user
> smsc-password = pass
> system-type = VMA
> source-addr-ton = 5
> source-addr-npi = 1
> dest-addr-ton = 0
> dest-addr-npi = 0
> keepalive = 600
> reconnect-delay = 3
> enquire-link-interval = 30
> esm-class = 0
> #max-pending-submits = 50
> #throughput = 50
> #wait-ack = 240
> #wait-ack-expire = 0x00
> msg-id-type = 0x01
> log-level = 0
> log-file = /var/log/kannel/myid.log
>
> On Mon, Nov 12, 2018 at 9:47 PM christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> Below are variables and operator says the are ok; just the variable for
>> service-type which is not parsing the correct variable
>>
>> group = smsc
>> smsc = smpp
>> smsc-id = zoned
>> host = 172.xx.xx.xxx
>> port = 5001
>> interface-version = 34
>> smsc-username = xx
>> smsc-password = xx
>> system-type = "smpp"
>> service-type = smpp
>> #allowed-prefix = 26097
>> source-addr-ton = 5
>> source-addr-npi = 0
>> dest-addr-ton = 1
>> dest-addr-npi = 1
>> transceiver-mode = true
>> throughput = 40
>>
>> Thanks in advance
>>
>> Chris
>>
>> On Mon, Nov 12, 2018 at 8:17 PM Web Min  wrote:
>>
>>> what is your smsc variables? in kannel.conf
>>>
>>> On Mon, Nov 12, 2018 at 9:13 PM christopher kamutumwa <
>>> chriskamutu...@gmail.com> wrote:
>>>
>>>> hello,
>>>> where can I find this patch I have noticed when service-type= smpp is
>>>> put in config log shows NOBAL instead of smpp. hence getting error INVALID
>>>> SERVICE_TYPE. does anyone have a patch to make it work. or a fix to this
>>>> problem
>>>>
>>>> Thanks
>>>>
>>>> Chris
>>>>
>>>


Re: [PATCH] allow setting service-type for SMPP SMSC

2018-11-12 Thread christopher kamutumwa
Below are variables and operator says the are ok; just the variable for
service-type which is not parsing the correct variable

group = smsc
smsc = smpp
smsc-id = zoned
host = 172.xx.xx.xxx
port = 5001
interface-version = 34
smsc-username = xx
smsc-password = xx
system-type = "smpp"
service-type = smpp
#allowed-prefix = 26097
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
transceiver-mode = true
throughput = 40

Thanks in advance

Chris

On Mon, Nov 12, 2018 at 8:17 PM Web Min  wrote:

> what is your smsc variables? in kannel.conf
>
> On Mon, Nov 12, 2018 at 9:13 PM christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> hello,
>> where can I find this patch I have noticed when service-type= smpp is put
>> in config log shows NOBAL instead of smpp. hence getting error INVALID
>> SERVICE_TYPE. does anyone have a patch to make it work. or a fix to this
>> problem
>>
>> Thanks
>>
>> Chris
>>
>


[PATCH] allow setting service-type for SMPP SMSC

2018-11-12 Thread christopher kamutumwa
hello,
where can I find this patch I have noticed when service-type= smpp is put
in config log shows NOBAL instead of smpp. hence getting error INVALID
SERVICE_TYPE. does anyone have a patch to make it work. or a fix to this
problem

Thanks

Chris


Re: INVALID SERVICE-TYPE KANNEL

2018-11-09 Thread christopher kamutumwa
hasn't worked boss

On Fri, Nov 9, 2018 at 2:54 PM Bendon Murgor  wrote:

> Hi Chris,
>
> Change system type as below and advise.
> *system-type = DEFAULT*
>
>
>
> Best Regards,
> *Bendon Murgor *: Systems Engineer/IT Systems Auditor.
> *Phone*: Kenya:  +254-720529868
> Twitter: @bendonmurgor <http://twitter.com/bendonmurgor>
>
>
> On Fri, Nov 9, 2018 at 3:36 PM christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> Hello,
>> I have an issue I have configured kannel and am able to bind to SMSC
>> provider. Not when I send message to SMSc Provider am getting an
>> error message in log as below
>> 2018-11-09 14:00:20 Receive DLR [SMSC:airtel] [SVC:] [ACT:] [BINF:]
>> [FID:] [META:?smpp_resp?] [from:] [to:260976298808]
>> [flags:-1:-1:-1:-1:16] [msg:36:NACK/0x0015/Invalid Service Type]
>> [udh:0:]
>>
>>
>> My question where is that put?
>>
>> I have asked SMSC provider and the have told me service-type=smpp
>>
>> I added to config file but still get same error
>>
>> TCPDUMP from smsc provider show they are receiving NOBAL as service type
>> from our end.
>> please help below is config
>>
>> group = smsc
>> smsc = smpp
>> smsc-id = zoned
>> host = 172.xx.xx.xx
>> port = 5xx
>> interface-version = 34
>> smsc-username = xx
>> smsc-password = xx
>> system-type = smpp
>> service-type = smpp
>> source-addr-ton = 5
>> source-addr-npi = 0
>> dest-addr-ton = 1
>> dest-addr-npi = 1
>> transceiver-mode = true
>> throughput = 40
>>
>>
>> Thanks
>>
>> Chris Kamutumwa
>>
>


INVALID SERVICE-TYPE KANNEL

2018-11-09 Thread christopher kamutumwa
Hello,
I have an issue I have configured kannel and am able to bind to SMSC
provider. Not when I send message to SMSc Provider am getting an
error message in log as below
2018-11-09 14:00:20 Receive DLR [SMSC:airtel] [SVC:] [ACT:] [BINF:] [FID:]
[META:?smpp_resp?] [from:] [to:260976298808] [flags:-1:-1:-1:-1:16]
[msg:36:NACK/0x0015/Invalid Service Type] [udh:0:]


My question where is that put?

I have asked SMSC provider and the have told me service-type=smpp

I added to config file but still get same error

TCPDUMP from smsc provider show they are receiving NOBAL as service type
from our end.
please help below is config

group = smsc
smsc = smpp
smsc-id = zoned
host = 172.xx.xx.xx
port = 5xx
interface-version = 34
smsc-username = xx
smsc-password = xx
system-type = smpp
service-type = smpp
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
transceiver-mode = true
throughput = 40


Thanks

Chris Kamutumwa


Re: low success Rate Only 25k of 100k sms being sent ??

2018-04-08 Thread christopher kamutumwa
Hi how are you determining success rate?
regards

On Sat, Apr 7, 2018 at 11:13 PM, nashwan Al-Mawri 
wrote:

> dear all
>
> I am using kannel to send sms to  our subscribers through the telecom
> company , the problem is i have 200,00 subscriber but the success  rate
> between 25k and 30k which is very small number , i looked into the logs
> file but   could not figure out what i am missing , is the configuration
> ,or the kannel ,or it is the sms center , does the network infrastructure
> also play role in this .
>
> i really appropriate any one point me where to start looking to solve the
> problem
>
>
> Attached is my kannel configuration
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = mavas
> status-password = mavas
> sms-combine-concatenated-mo = true
> log-file = "/usr/local/gateway/mavas.log"
> #log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> dlr-storage = spool
> dlr-spool =/var/spool/kannel/dlr
> #unified-prefix = "+358,00358,0;+,00"
> access-log = "/usr/local/gateway/access.log"
> store-type = spool
> store-location=/var/spool/kannel/store
>
> #-
> # SMSC CONNECTIONS
> group = smsc
> smsc = smpp
> smsc-id = "mavastel"
> host = *.*.*.*
> port = *
> transceiver-mode =true
> #receive-port = 8313
> smsc-username = "0"
> smsc-password = "000"
> system-type = "SMPP"
> throughput = 30
> #reconnect-delay = 60
> allowed-smsc-id= "mavastel"
> preferred-smsc-id ="mavastel"
> log-file = "/usr/local/gateway/mavastel.log"
> #address-range = ""
>
>
>
>
> #-
> # SMSBOX
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> #global-sender = 8208
> mo-recode=true
> #sendsms-chars = "0123456789 +-"
> log-file = "/usr/local/gateway/smsbox.log"
> #log-level = 0
> access-log = "/usr/local/gateway/access1.log"
>
> #-
> # SEND-SMS USERS
> group = sendsms-user
> username = mavas
> password = tdPwD
> max-messages = 10
> concatenation= true
> default-smsc = none
>
>
> #-
> # SERVICES
> group = sms-service
> keyword = default
> get-url = "http://localhost/vms/getsms.php?sender=%p=%P=%k=%d
> =%t=%q=%a=%i=%I"
> max-messages = 3
> concatenation = true
> omit-empty = true
>
>
>


DLR queued, using mysql storage

2018-01-17 Thread christopher kamutumwa
Hello support,

Am wondering how to delete/flush queued dlrs as its showing in my status
and seems to be slowing down things

DLR: received 1109, sent 0
DLR: inbound (0.51,0.51,0.54) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 2339007 queued, using mysql storage

your assistance would be of greatvalue

Chris


Delivery report STATUS

2017-08-28 Thread christopher kamutumwa
Hello support,
Kannel l not receiving DLR report. Provider says my system is not
requesting DLR "*registered_delivery: 0" *and has debugged below; My query
where is this changed from? see in red below from operator end

*SMPP PDU dump (submit_sm) - 24685*

*Header:*

*  command_id: 4*

*  command_status: 0*

*  sequence_nr: 24685*

*Mandatory Parameters:*

*  service_type: null*

*  source_addr_ton: 5*

*  source_addr_npi: 0*

*  source_addr: kris*

*  dest_addr_ton: 1*

*  dest_addr_npi: 0*

*  destination_addr: 2908*

*  esm_class: 3*

*  protocol_id: 0*

*  priority_flag: 0*

*  schedule_delivery_time: null*

*  validity_period: null*

  *registered_delivery: 0*

*  replace_if_present_flag: 0*

*  data_coding: 0*

*  sm_default_msg_id: 0*

*  sm_length: 9*

*  short_message:*


*regards*


*Chris*


2 SMSC IDs with 1 url question

2017-08-13 Thread christopher kamutumwa
hello all,

I have a query I have two SMSC ids with using 1 service. How can I have 1
url and route traffic to each smsc rather than having 2

SERVICE=BANGO

SMSC ZAMTELBANGO
http://xx.xx.xx.xx:13022/cgi-bin/sendsms?username=tet=zamtelbango==BANGO=26095


SMSC AIRTELBANGO
http://xx.xx.xx.xx:13022/cgi-bin/sendsms?username=tet=zamtelbango==BANGO=26097


your help would be of great value

chris


2 System ids with 2 different services using the same prefix in Kannel configuration

2017-08-09 Thread christopher kamutumwa
Hello support,

I am connecting to 1 SMSC. I have 2 different system ids which have
separate services. They all use the same prefix 26095. the only difference
is the sender id. how can i specify which sender id should use which system
id in kannel conf. below are configurations;

1st CONNECTION

group = smsc
smsc = smpp
smsc-id = zamteltech
host = 41.72.105.130
host = 200.32.63.160
host = 41.72.105.176
receive-port = 5016
transceiver-mode = false
interface-version = 34
smsc-username = af
smsc-password = txxd
system-type = smpp
msg-id-type = 1
source-addr-ton = 1
source-addr-npi = 1
source-addr-autodetect = yes
dest-addr-ton = 0
dest-addr-npi = 0
my-number = 26090456
log-file = /var/log/kannel/tunes.log

2nd CONNECTION

..

group = smsc
smsc = smpp
smsc-id = zamtelacc
host = 41.72.105.130
host = 200.32.63.160
host = 41.72.105.176
receive-port = 5016
transceiver-mode = false
interface-version = 34
smsc-username = uytyut
smsc-password = txxdll
system-type = smpp
msg-id-type = 1
source-addr-ton = 1
source-addr-npi = 1
source-addr-autodetect = yes
dest-addr-ton = 0
dest-addr-npi = 0
my-number = 26090456
log-file = /var/log/kannel/tunes2.log


your response would be of great value,


Chris


HUGE DRL QUEUE MYSQL STORAGE

2017-07-07 Thread christopher kamutumwa
Hello Team

I have  DLRs being queued which seems to be big as below status in Kannel;
My query is what causes this? and how can i resolve queue issue? any
assistance would be of great help

DLR: received 41, sent 0
DLR: inbound (0.01,0.00,0.01) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 753643 queued, using mysql storage


Regards,

Chris


SMS Content odnmobile phones receiving null data

2016-11-14 Thread christopher kamutumwa
Hello  support,

I have an issue with handsets on a network that receive null data is some
sort of box appearance on certain phones.

When i lynx dump http://XX.XX.XX.XX:13022/cgi-bin/sendsms? with other
parameters with same content content appears on phone properly using sendsms.php

but when I inject data into sqlbox sent_sms table from in DB i get
null data on mobile phone. Question is why is it that when the content
passes through sent_sms in sql box getting null content or is it a
setting in kannel that needs to be set?

Any help will be greatly appreciated.

Kind Regards,

Chris Kamutumwa



Opensmpp shuts down after panic twice a day

2016-11-10 Thread christopher kamutumwa
hello all ,

i have a problem with opensmpp it randomly shuts down after panic below is
error from logs please advise whats causing this and solution

[root@smpp01 sbin]# 2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox() [0x46493c]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0xf7e0)
[0x7f04bbc667e0]
2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox() [0x458deb]
2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox(octstr_destroy+0x1d) [0x45b17d]
2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox() [0x40ed03]
2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox() [0x413f3e]
2016-11-09 09:44:12 [21810] [13] PANIC:
/usr/local/kannel/sbin/opensmppbox() [0x44e7d9]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0x7aa1)
[0x7f04bbc5eaa1]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libc.so.6(clone+0x6d)
[0x7f04baab5aad]


regards chris


SMS CONTENT SENT TO SOME MOBILE PHONES APPEARS NULL KANNEL

2016-10-10 Thread christopher kamutumwa
Hello there,

I have a problem/query Mobile originated message from mobile phone
fetches for content and is content returns to mobile phone shows null
data in message without SMS content. two things observed below"

If I change sim card and put in a different phone content shows
properly which makes me conclude that its the type of phone.

When i look at kannel log i see content is sent out properly. Question
is it a setting in kannel which controls the type of SMS content to be
sent to a particular phone?

Query is how do i go about this?

Your respnose would be of great value

Thanks and regards

Chris



KANNEL QUERY

2016-08-16 Thread christopher kamutumwa
Hello
How you doing. Hope we are well. I have a problem as numbers from the
operator(recieved by kannel) are coming with a plus sign. when I post
to an application results are below with a plus sign;

"POST 
/scripts/ratsa.php?shortcode=3737=+260950641540=RTSA+HELP+9882
HTTP/1.1" 200 - "-" "-"

now from the mobile= above i would like to remove the + so it posts like below;

"POST 
/scripts/ratsa.php?shortcode=3737=260950641540=RTSA+HELP+9882
HTTP/1.1" 200 - "-" "-"


Can this be controlled from kannel?

if yes how?

Regards,

Chris



Re: cannot connect to smsc center (christopher kamutumwa)

2016-04-07 Thread christopher kamutumwa
SMSC not being helpful how do we help them locate the issue?

On 4/7/16, Rajiv <rajiiv...@gmail.com> wrote:
> As the response error code is 0x0017 (Unknown/Reserved), you have to
> contact SMSC team regarding explanation.
>
> On Thu, Apr 7, 2016 at 3:30 PM, <users-requ...@kannel.org> wrote:
>
>> Send users mailing list submissions to
>> users@kannel.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://www.kannel.org/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>> users-requ...@kannel.org
>>
>> You can reach the person managing the list at
>> users-ow...@kannel.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of users digest..."
>>
>>
>> Today's Topics:
>>
>>1. Re: cannot connect to smsc center (christopher kamutumwa)
>>
>>
>> --
>>
>> Message: 1
>> Date: Thu, 7 Apr 2016 11:11:21 +0200
>> From: christopher kamutumwa <chriskamutu...@gmail.com>
>> To: Murgor Bendon <bendonmur...@gmail.com>
>> Cc: users <users@kannel.org>
>> Subject: Re: cannot connect to smsc center
>> Message-ID:
>> <CADdH5aNeA+sm--DAgF3B9rJOAnZs_8-MWD9WAKfMzKAxu=
>> 7...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> credentials are the same on both end and its up and waiting for linkage
>> on
>> the SMSC telco side so its active
>>
>> On Thu, Apr 7, 2016 at 9:41 AM, Murgor Bendon <bendonmur...@gmail.com>
>> wrote:
>>
>> > Hello Chris,
>> >
>> > Your Zamtel SMSC login details could wrong or they have disabled your
>> > account.
>> > Check and connect again.
>> >
>> >
>> >
>> >
>> > Best Regards,
>> > *Bendon Murgor *: Systems Engineer/IT Systems Auditor.
>> > *Phone*: Kenya:  +254-720529868
>> > Twitter: @bendonmurgor <http://twitter.com/bendonmurgor>
>> >
>> > On Thu, Apr 7, 2016 at 10:34 AM, christopher kamutumwa <
>> > chriskamutu...@gmail.com> wrote:
>> >
>> >> hi
>> >> what causes this error;
>> >>
>> >> [2016/04/06 06:33:43 PM] crystalik: HI
>> >> [2016/04/06 06:33:45 PM | Edited 06:34:33 PM] crystalik: 2016-04-06
>> >> 18:32:19 [1884] [7] DEBUG: SMPP[zamtel]: Sending PDU:
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU 0x7f6fec000a00 dump:
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   type_name: bind_receiver
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_id: 1 = 0x0001
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_status: 0 = 0x
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   sequence_number: 1 =
>> >> 0x0001
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   system_id: "crystaline"
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   password: "cxxx"
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   system_type: "SMPP"
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   interface_version: 52 =
>> 0x0034
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_ton: 0 = 0x
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_npi: 0 = 0x
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG:   address_range: NULL
>> >> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU dump ends.
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP[zamtel]: Sending PDU:
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU 0x7f6fe8000a00 dump:
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   type_name: bind_transmitter
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_id: 2 = 0x0002
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_status: 0 = 0x
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   sequence_number: 1 =
>> >> 0x0001
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   system_id: "crystaline"
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   password: "c"
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   system_type: "SMPP"
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   interface_version: 52 =
>> 0x0034
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_ton: 0 = 0x
>> >> 2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_npi: 0 = 0x
&

Re: cannot connect to smsc center

2016-04-07 Thread christopher kamutumwa
credentials are the same on both end and its up and waiting for linkage on
the SMSC telco side so its active

On Thu, Apr 7, 2016 at 9:41 AM, Murgor Bendon <bendonmur...@gmail.com>
wrote:

> Hello Chris,
>
> Your Zamtel SMSC login details could wrong or they have disabled your
> account.
> Check and connect again.
>
>
>
>
> Best Regards,
> *Bendon Murgor *: Systems Engineer/IT Systems Auditor.
> *Phone*: Kenya:  +254-720529868
> Twitter: @bendonmurgor <http://twitter.com/bendonmurgor>
>
> On Thu, Apr 7, 2016 at 10:34 AM, christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> hi
>> what causes this error;
>>
>> [2016/04/06 06:33:43 PM] crystalik: HI
>> [2016/04/06 06:33:45 PM | Edited 06:34:33 PM] crystalik: 2016-04-06
>> 18:32:19 [1884] [7] DEBUG: SMPP[zamtel]: Sending PDU:
>> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU 0x7f6fec000a00 dump:
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   type_name: bind_receiver
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_id: 1 = 0x0001
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_status: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   sequence_number: 1 = 0x0001
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   system_id: "crystaline"
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   password: "cxxx"
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   system_type: "SMPP"
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   interface_version: 52 = 0x0034
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_ton: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_npi: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   address_range: NULL
>> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU dump ends.
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP[zamtel]: Sending PDU:
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU 0x7f6fe8000a00 dump:
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   type_name: bind_transmitter
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_id: 2 = 0x0002
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_status: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   sequence_number: 1 = 0x0001
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   system_id: "crystaline"
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   password: "c"
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   system_type: "SMPP"
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   interface_version: 52 = 0x0034
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_ton: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_npi: 0 = 0x
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   address_range: NULL
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU dump ends.
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP[zamtel]: Got PDU:
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU 0x7f6fe8000a50 dump:
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   type_name: bind_transmitter_resp
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_id: 2147483650 =
>> 0x8002
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   command_status: 23 = 0x0017
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   sequence_number: 1 = 0x0001
>> 2016-04-06 18:32:19 [1884] [8] DEBUG:   system_id: "crystaline"
>> 2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU dump ends.
>> 2016-04-06 18:32:19 [1884] [8] ERROR: SMPP[zamtel]: SMSC rejected login
>> to transmit, code 0x0017 (Unknown/Reserved).
>> 2016-04-06 18:32:19 [1884] [8] ERROR: SMPP[zamtel]: Couldn't connect to
>> SMS center (retrying in 10 seconds).
>> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP[zamtel]: Got PDU:
>> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU 0x7f6fec000a50 dump:
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   type_name: bind_receiver_resp
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_id: 2147483649 =
>> 0x8001
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   command_status: 23 = 0x0017
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   sequence_number: 1 = 0x0001
>> 2016-04-06 18:32:19 [1884] [7] DEBUG:   system_id: "crystaline"
>> 2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU dump ends.
>> 2016-04-06 18:32:19 [1884] [7] ERROR: SMPP[zamtel]: SMSC rejected login
>> to receive, code 0x0017 (Unknown/Reserved).
>> 2016-04-06 18:32:19 [1884] [7] ERROR: SMPP[zamtel]: Couldn't connect to
>> SMS center (retrying in 10 seconds).
>>
>
>


cannot connect to smsc center

2016-04-07 Thread christopher kamutumwa
hi
what causes this error;

[2016/04/06 06:33:43 PM] crystalik: HI
[2016/04/06 06:33:45 PM | Edited 06:34:33 PM] crystalik: 2016-04-06
18:32:19 [1884] [7] DEBUG: SMPP[zamtel]: Sending PDU:
2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU 0x7f6fec000a00 dump:
2016-04-06 18:32:19 [1884] [7] DEBUG:   type_name: bind_receiver
2016-04-06 18:32:19 [1884] [7] DEBUG:   command_id: 1 = 0x0001
2016-04-06 18:32:19 [1884] [7] DEBUG:   command_status: 0 = 0x
2016-04-06 18:32:19 [1884] [7] DEBUG:   sequence_number: 1 = 0x0001
2016-04-06 18:32:19 [1884] [7] DEBUG:   system_id: "crystaline"
2016-04-06 18:32:19 [1884] [7] DEBUG:   password: "cxxx"
2016-04-06 18:32:19 [1884] [7] DEBUG:   system_type: "SMPP"
2016-04-06 18:32:19 [1884] [7] DEBUG:   interface_version: 52 = 0x0034
2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_ton: 0 = 0x
2016-04-06 18:32:19 [1884] [7] DEBUG:   addr_npi: 0 = 0x
2016-04-06 18:32:19 [1884] [7] DEBUG:   address_range: NULL
2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU dump ends.
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP[zamtel]: Sending PDU:
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU 0x7f6fe8000a00 dump:
2016-04-06 18:32:19 [1884] [8] DEBUG:   type_name: bind_transmitter
2016-04-06 18:32:19 [1884] [8] DEBUG:   command_id: 2 = 0x0002
2016-04-06 18:32:19 [1884] [8] DEBUG:   command_status: 0 = 0x
2016-04-06 18:32:19 [1884] [8] DEBUG:   sequence_number: 1 = 0x0001
2016-04-06 18:32:19 [1884] [8] DEBUG:   system_id: "crystaline"
2016-04-06 18:32:19 [1884] [8] DEBUG:   password: "c"
2016-04-06 18:32:19 [1884] [8] DEBUG:   system_type: "SMPP"
2016-04-06 18:32:19 [1884] [8] DEBUG:   interface_version: 52 = 0x0034
2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_ton: 0 = 0x
2016-04-06 18:32:19 [1884] [8] DEBUG:   addr_npi: 0 = 0x
2016-04-06 18:32:19 [1884] [8] DEBUG:   address_range: NULL
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU dump ends.
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP[zamtel]: Got PDU:
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU 0x7f6fe8000a50 dump:
2016-04-06 18:32:19 [1884] [8] DEBUG:   type_name: bind_transmitter_resp
2016-04-06 18:32:19 [1884] [8] DEBUG:   command_id: 2147483650 = 0x8002
2016-04-06 18:32:19 [1884] [8] DEBUG:   command_status: 23 = 0x0017
2016-04-06 18:32:19 [1884] [8] DEBUG:   sequence_number: 1 = 0x0001
2016-04-06 18:32:19 [1884] [8] DEBUG:   system_id: "crystaline"
2016-04-06 18:32:19 [1884] [8] DEBUG: SMPP PDU dump ends.
2016-04-06 18:32:19 [1884] [8] ERROR: SMPP[zamtel]: SMSC rejected login to
transmit, code 0x0017 (Unknown/Reserved).
2016-04-06 18:32:19 [1884] [8] ERROR: SMPP[zamtel]: Couldn't connect to SMS
center (retrying in 10 seconds).
2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP[zamtel]: Got PDU:
2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU 0x7f6fec000a50 dump:
2016-04-06 18:32:19 [1884] [7] DEBUG:   type_name: bind_receiver_resp
2016-04-06 18:32:19 [1884] [7] DEBUG:   command_id: 2147483649 = 0x8001
2016-04-06 18:32:19 [1884] [7] DEBUG:   command_status: 23 = 0x0017
2016-04-06 18:32:19 [1884] [7] DEBUG:   sequence_number: 1 = 0x0001
2016-04-06 18:32:19 [1884] [7] DEBUG:   system_id: "crystaline"
2016-04-06 18:32:19 [1884] [7] DEBUG: SMPP PDU dump ends.
2016-04-06 18:32:19 [1884] [7] ERROR: SMPP[zamtel]: SMSC rejected login to
receive, code 0x0017 (Unknown/Reserved).
2016-04-06 18:32:19 [1884] [7] ERROR: SMPP[zamtel]: Couldn't connect to SMS
center (retrying in 10 seconds).


HTTP admin page not coming up

2016-04-06 Thread christopher kamutumwa
Hi,
am trying to open http admid and page just loads without opening results
what can be the problem

root@ctlgate:~# ps aux | grep box
root 31008  0.0  0.4 503768  4260 pts/4Tl   11:14   0:00 bearerbox
-v 0 /etc/kannel/kannel.conf
root 31204  0.0  0.0   7240   732 pts/4T11:21   0:00 tail -f
bearerbox.log
root 31489  0.0  0.3 413184  3872 pts/4Sl+  11:40   0:00 smsbox -v
0 /etc/kannel/kannel.conf
root 31576  0.0  0.3 112028  3976 pts/5Sl+  11:43   0:00 sqlbox -v
0 /etc/kannel/sqlbox.conf
root 31630  0.0  0.2  11752  2220 pts/7S+   11:44   0:00 grep
--color=auto box
root@ctlgate:~# lynx -dump "
http://localhost:13022/shutdown?password=nochange;
   Unknown request.


Re: SMSBox not starting

2016-04-06 Thread christopher kamutumwa
gt;
>
>
> *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *christopher
> kamutumwa
> *Sent:* Wednesday, April 06, 2016 2:08 PM
> *To:* users
> *Subject:* SMSBox not starting
>
>
>
>
>
> -- Forwarded message --
> From: *christopher kamutumwa* <chriskamutu...@gmail.com>
> Date: Wed, Apr 6, 2016 at 11:07 AM
> Subject:
> To: users <users@kannel.org>
>
> hi am failing to start smsbox error below as well as conf file;
>
>
>
> root@ctlgate:~# smsbox -v 0 /etc/kannel/kannel.conf
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Debug_lvl = 0, log_file = ,
> log_lvl = 0
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version `1.5.0'.
>
> Build `Mar 25 2016 13:06:48', compiler `4.8.4'.
>
> System Linux, release 4.5.0-x86_64-linode65, version #2 SMP Mon Mar 14
> 18:01:58 EDT 2016, machine x86_64.
>
> Hostname localhost, IP 127.0.0.1.
>
> Libxml version 2.9.1.
>
> Compiled with MySQL 5.5.47, using MySQL 5.5.47.
>
> Using native malloc.
>
>
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Starting to log to file
> /var/log/kannel/smsbox.log level 0
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Added logfile
> `/var/log/kannel/smsbox.log' with level `0'.
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Logging accesses to
> '/var/log/kannel/smsbox-access.log'.
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Started access logfile
> `/var/log/kannel/smsbox-access.log'.
>
> 2016-04-06 11:04:00 [30724] [0] INFO: HTTP: Opening server at port 13022.
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
>
> 2016-04-06 11:04:00 [30724] [0] INFO: Set up send sms service at port 13022
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 3
> (gw/smsbox.c:sendsms_thread)
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:
> --
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version 1.5.0 starting
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:   dumping group (sendsms-user):
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = <6>
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 4
> (gw/smsbox.c:obey_request_thread)
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_thread)
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_thread)
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
>
> 2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
>
> 2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
>
> 2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
>
> 2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
>
> 2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
>
> 2016-04-06 11:04:00 [30724] [0] ERROR: error connecting to server
> `localhost' at port `13001'
>
> 2016-04-06 11:04:00 [30724] [0] PANIC: Couldn't connect to the bearerbox.
>
> 2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(gw_panic+0x16b) [0x43c28b]
>
> 2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(main+0xc1a) [0x40d14a]
>
> 2016-04-06 11:04:00 [30724] [0] PANIC:
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f4122e07ec5]
>
>
>
> # CORE
>
> group = core
>
> admin-port = 13000
>
> smsbox-port = 13001
>
> admin-password = angenoch
>
> #admin-deny-ip = "*.*.*.*"
>
> #admin-allow-ip = "127.0.0.1"
>
> log-file = /var/log/kannel/gateway.log
>
> log-level = 0
>
> access-log = /var/log/kannel/access.log
>
> store-type = file
>
> store-file = /var/log/kannel/kannel.store
>
> unified-prefix = "-,+"
>
> #unified-prefix = "+,00"
>
> #store-type = spool
>
> #store-location = /var/spool/kannel/store
>
> #smsbox-max-pending = 100
>
> #dlr-storage = mysql
>
>
>
> # SMSBOX
>
> group = smsbox
>
> smsbox-id = admin
>
> bearerbox-host = localhost
>
> sendsms-port = 13022
>
> bearerbox-port = 13001
>
> #sendsms-chars = "0123456789 +- "
>
> log-file = /var/log/kannel/smsbox.log
>
> log-level = 0
>
> access-log = /var/log/kannel/smsbox-access.log
>
>
>
> # SENDSMS-USER
>
> group = sendsms-user
>
> username = kris
>
> password = kreeper
>
> max-messages = 6
>
> concatenation = true
>
> default-smsc = crs
>
>
>
>
>
>
>
>
>


SMSBox not starting

2016-04-06 Thread christopher kamutumwa
-- Forwarded message --
From: christopher kamutumwa <chriskamutu...@gmail.com>
Date: Wed, Apr 6, 2016 at 11:07 AM
Subject:
To: users <users@kannel.org>


hi am failing to start smsbox error below as well as conf file;

root@ctlgate:~# smsbox -v 0 /etc/kannel/kannel.conf
2016-04-06 11:04:00 [30724] [0] INFO: Debug_lvl = 0, log_file = ,
log_lvl = 0
2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version `1.5.0'.
Build `Mar 25 2016 13:06:48', compiler `4.8.4'.
System Linux, release 4.5.0-x86_64-linode65, version #2 SMP Mon Mar 14
18:01:58 EDT 2016, machine x86_64.
Hostname localhost, IP 127.0.0.1.
Libxml version 2.9.1.
Compiled with MySQL 5.5.47, using MySQL 5.5.47.
Using native malloc.

2016-04-06 11:04:00 [30724] [0] INFO: Starting to log to file
/var/log/kannel/smsbox.log level 0
2016-04-06 11:04:00 [30724] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2016-04-06 11:04:00 [30724] [0] INFO: Logging accesses to
'/var/log/kannel/smsbox-access.log'.
2016-04-06 11:04:00 [30724] [0] INFO: Started access logfile
`/var/log/kannel/smsbox-access.log'.
2016-04-06 11:04:00 [30724] [0] INFO: HTTP: Opening server at port 13022.
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2016-04-06 11:04:00 [30724] [0] INFO: Set up send sms service at port 13022
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG:
--
2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version 1.5.0 starting
2016-04-06 11:04:00 [30724] [0] DEBUG:   dumping group (sendsms-user):
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = <6>
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
2016-04-06 11:04:00 [30724] [0] ERROR: error connecting to server
`localhost' at port `13001'
2016-04-06 11:04:00 [30724] [0] PANIC: Couldn't connect to the bearerbox.
2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(gw_panic+0x16b) [0x43c28b]
2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(main+0xc1a) [0x40d14a]
2016-04-06 11:04:00 [30724] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f4122e07ec5]

# CORE
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = angenoch
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = /var/log/kannel/gateway.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = file
store-file = /var/log/kannel/kannel.store
unified-prefix = "-,+"
#unified-prefix = "+,00"
#store-type = spool
#store-location = /var/spool/kannel/store
#smsbox-max-pending = 100
#dlr-storage = mysql

# SMSBOX
group = smsbox
smsbox-id = admin
bearerbox-host = localhost
sendsms-port = 13022
bearerbox-port = 13001
#sendsms-chars = "0123456789 +- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/smsbox-access.log

# SENDSMS-USER
group = sendsms-user
username = kris
password = kreeper
max-messages = 6
concatenation = true
default-smsc = crs


[no subject]

2016-04-06 Thread christopher kamutumwa
hi am failing to start smsbox error below as well as conf file;

root@ctlgate:~# smsbox -v 0 /etc/kannel/kannel.conf
2016-04-06 11:04:00 [30724] [0] INFO: Debug_lvl = 0, log_file = ,
log_lvl = 0
2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version `1.5.0'.
Build `Mar 25 2016 13:06:48', compiler `4.8.4'.
System Linux, release 4.5.0-x86_64-linode65, version #2 SMP Mon Mar 14
18:01:58 EDT 2016, machine x86_64.
Hostname localhost, IP 127.0.0.1.
Libxml version 2.9.1.
Compiled with MySQL 5.5.47, using MySQL 5.5.47.
Using native malloc.

2016-04-06 11:04:00 [30724] [0] INFO: Starting to log to file
/var/log/kannel/smsbox.log level 0
2016-04-06 11:04:00 [30724] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2016-04-06 11:04:00 [30724] [0] INFO: Logging accesses to
'/var/log/kannel/smsbox-access.log'.
2016-04-06 11:04:00 [30724] [0] INFO: Started access logfile
`/var/log/kannel/smsbox-access.log'.
2016-04-06 11:04:00 [30724] [0] INFO: HTTP: Opening server at port 13022.
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2016-04-06 11:04:00 [30724] [0] INFO: Set up send sms service at port 13022
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG:
--
2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version 1.5.0 starting
2016-04-06 11:04:00 [30724] [0] DEBUG:   dumping group (sendsms-user):
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = <6>
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG:  = 
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1>
2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed
2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused
2016-04-06 11:04:00 [30724] [0] ERROR: error connecting to server
`localhost' at port `13001'
2016-04-06 11:04:00 [30724] [0] PANIC: Couldn't connect to the bearerbox.
2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(gw_panic+0x16b) [0x43c28b]
2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(main+0xc1a) [0x40d14a]
2016-04-06 11:04:00 [30724] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f4122e07ec5]

# CORE
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = angenoch
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = /var/log/kannel/gateway.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = file
store-file = /var/log/kannel/kannel.store
unified-prefix = "-,+"
#unified-prefix = "+,00"
#store-type = spool
#store-location = /var/spool/kannel/store
#smsbox-max-pending = 100
#dlr-storage = mysql

# SMSBOX
group = smsbox
smsbox-id = admin
bearerbox-host = localhost
sendsms-port = 13022
bearerbox-port = 13001
#sendsms-chars = "0123456789 +- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/smsbox-access.log

# SENDSMS-USER
group = sendsms-user
username = kris
password = kreeper
max-messages = 6
concatenation = true
default-smsc = crs


Re: gateway error and netstat results

2016-04-04 Thread christopher kamutumwa
thanks now msgs not arriving http test;

[02:56:18 PM] chris kamutumwa: 2016-04-04 14:55:38 [12291] [1] DEBUG:
Thread 1 (gwlib/fdset.c:poller) maps to pid 12291.
2016-04-04 14:55:50 [12291] [2] DEBUG: HTTP: Creating HTTPClient for
`41.72.121.54'.
2016-04-04 14:55:50 [12291] [2] DEBUG: HTTP: Created HTTPClient area
0x7f2c1c000ac0.
2016-04-04 14:55:50 [12291] [3] INFO: smsbox: Got HTTP request
 from <41.72.121.54>
2016-04-04 14:55:50 [12291] [3] INFO: sendsms used by 
2016-04-04 14:55:50 [12291] [3] INFO: sendsms sender:
(41.72.121.54) to:<260976198318> msg:
2016-04-04 14:55:50 [12291] [3] DEBUG: Stored UUID
d6ea9a52-23ed-46e5-a6bf-3fc04dc21268
2016-04-04 14:55:50 [12291] [3] DEBUG: message length 18, sending 1 messages
2016-04-04 14:55:50 [12291] [3] DEBUG: Status: 202 Answer: 
2016-04-04 14:55:50 [12291] [3] DEBUG: Delayed reply - wait for bearerbox





On Mon, Apr 4, 2016 at 2:25 PM, Otandeka Simon Peter <sotand...@gmail.com>
wrote:

>
> Hi,
>
> Please make sure you kill all the instances of bearberbox and smsbox
> before you do a restart.
> There is one still occupying port 13000 or any other port that are you are
> using..
>
> Simon
> @sotandeka
>
> On Mon, Apr 4, 2016 at 3:10 PM, christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> hello i need help with below error
>>
>> 2016-04-04 13:51:59 [10949] [0] WARNING: 'store-file' option deprecated,
>> please use 'store-location' and 'store-type' instead.
>> 2016-04-04 13:51:59 [10949] [0] INFO: HTTP: Opening server at port 13000.
>> 2016-04-04 13:51:59 [10949] [0] ERROR: bind failed
>> 2016-04-04 13:51:59 [10949] [0] ERROR: System error 98: Address already
>> in use
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 1
>> (gw/bb_http.c:httpadmin_run)
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: starting smsbox connection module
>> 2016-04-04 13:51:59 [10949] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>> using default (100).
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 2
>> (gw/bb_boxc.c:sms_to_smsboxes)
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 3
>> (gw/bb_boxc.c:smsboxc_run)
>> 2016-04-04 13:51:59 [10949] [0] INFO: Set SMS resend frequency to 60
>> seconds.
>> 2016-04-04 13:51:59 [10949] [0] INFO: SMS resend retry set to unlimited.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: smsbox MO concatenated message
>> handling enabled
>> 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <(null)>
>> disabled.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 4
>> (gw/smsc/smsc_fake.c:fake_listener)
>> 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
>> disabled.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 5
>> (gw/smsc/smsc_smpp.c:io_thread)
>> 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id
>>  disabled.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 6
>> (gw/smsc/smsc_smpp.c:io_thread)
>> 2016-04-04 13:51:59 [10949] [0] INFO: Set throughput to 70.000 for smsc
>> id 
>> 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
>> disabled.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 7
>> (gw/smsc/smsc_smpp.c:io_thread)
>> 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
>> disabled.
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 8
>> (gw/smsc/smsc_smpp.c:io_thread)
>> 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 9
>> (gw/bb_smscconn.c:sms_router)
>> 2016-04-04 13:51:59 [10949] [0] INFO:
>> 
>> 2016-04-04 13:51:59 [10949] [0] INFO: Kannel bearerbox II version 1.4.3
>> starting
>> 2016-04-04 13:51:59 [10949] [4] DEBUG: Thread 4
>> (gw/smsc/smsc_fake.c:fake_listener) maps to pid 10949.
>> 2016-04-04 13:51:59 [10949] [3] DEBUG: Thread 3
>> (gw/bb_boxc.c:smsboxc_run) maps to pid 10949.
>> 2016-04-04 13:51:59 [10949] [3] ERROR: bind failed
>> 2016-04-04 13:51:59 [10949] [3] ERROR: System error 98: Address already
>> in use
>> 2016-04-04 13:51:59 [10949] [3] PANIC: Could not open smsbox port 13001
>> 2016-04-04 13:51:59 [10949] [3] PANIC:
>> /usr/sbin/bearerbox(gw_panic+0x17b) [0x47fdab]
>> 2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x410e28]
>> 2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x4779be]
>> 2016-04-04 13:51:59 [10949] [3] PANIC:
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f25d3df8182]
>> 2016-04-04 13:51:59 [10949] [3] PANIC:
>> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f25d297d47d]
>>
>>
>>
>> Active Internet conn

gateway error and netstat results

2016-04-04 Thread christopher kamutumwa
hello i need help with below error

2016-04-04 13:51:59 [10949] [0] WARNING: 'store-file' option deprecated,
please use 'store-location' and 'store-type' instead.
2016-04-04 13:51:59 [10949] [0] INFO: HTTP: Opening server at port 13000.
2016-04-04 13:51:59 [10949] [0] ERROR: bind failed
2016-04-04 13:51:59 [10949] [0] ERROR: System error 98: Address already in
use
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 1
(gw/bb_http.c:httpadmin_run)
2016-04-04 13:51:59 [10949] [0] DEBUG: starting smsbox connection module
2016-04-04 13:51:59 [10949] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 2
(gw/bb_boxc.c:sms_to_smsboxes)
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 3
(gw/bb_boxc.c:smsboxc_run)
2016-04-04 13:51:59 [10949] [0] INFO: Set SMS resend frequency to 60
seconds.
2016-04-04 13:51:59 [10949] [0] INFO: SMS resend retry set to unlimited.
2016-04-04 13:51:59 [10949] [0] DEBUG: smsbox MO concatenated message
handling enabled
2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 4
(gw/smsc/smsc_fake.c:fake_listener)
2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
disabled.
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 5
(gw/smsc/smsc_smpp.c:io_thread)
2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
disabled.
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 6
(gw/smsc/smsc_smpp.c:io_thread)
2016-04-04 13:51:59 [10949] [0] INFO: Set throughput to 70.000 for smsc id

2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
disabled.
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 7
(gw/smsc/smsc_smpp.c:io_thread)
2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id 
disabled.
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 8
(gw/smsc/smsc_smpp.c:io_thread)
2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 9
(gw/bb_smscconn.c:sms_router)
2016-04-04 13:51:59 [10949] [0] INFO:

2016-04-04 13:51:59 [10949] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2016-04-04 13:51:59 [10949] [4] DEBUG: Thread 4
(gw/smsc/smsc_fake.c:fake_listener) maps to pid 10949.
2016-04-04 13:51:59 [10949] [3] DEBUG: Thread 3 (gw/bb_boxc.c:smsboxc_run)
maps to pid 10949.
2016-04-04 13:51:59 [10949] [3] ERROR: bind failed
2016-04-04 13:51:59 [10949] [3] ERROR: System error 98: Address already in
use
2016-04-04 13:51:59 [10949] [3] PANIC: Could not open smsbox port 13001
2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox(gw_panic+0x17b)
[0x47fdab]
2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x410e28]
2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x4779be]
2016-04-04 13:51:59 [10949] [3] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f25d3df8182]
2016-04-04 13:51:59 [10949] [3] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f25d297d47d]



Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
PID/Program name
tcp0  0 0.0.0.0:13000   0.0.0.0:*   LISTEN
 9465/bearerbox
tcp0  0 0.0.0.0:13001   0.0.0.0:*   LISTEN
 9465/bearerbox
tcp0  0 127.0.0.1:3306  0.0.0.0:*   LISTEN
 3576/mysqld
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN
 3506/sshd
tcp1  0 185.3.95.94:13000   41.72.122.101:53250
CLOSE_WAIT  -
tcp   23  0 127.0.0.1:13000 127.0.0.1:49112
CLOSE_WAIT  -
tcp0336 185.3.95.94:22  41.72.122.101:61928
ESTABLISHED 8987/3
tcp   34  0 127.0.0.1:13001 127.0.0.1:42372
CLOSE_WAIT  -
tcp   34  0 127.0.0.1:13001 127.0.0.1:42348
CLOSE_WAIT  -
tcp1  0 127.0.0.1:13000 127.0.0.1:49120
CLOSE_WAIT  -
tcp   17  0 185.3.95.94:35446   54.77.180.254:2775
 CLOSE_WAIT  9465/bearerbox
tcp   23  0 127.0.0.1:13000 127.0.0.1:49116
CLOSE_WAIT  -
tcp0848 185.3.95.94:22  183.3.202.199:48552
ESTABLISHED 11005/sshd: [accept
tcp1  0 185.3.95.94:13000   41.72.122.101:54779
CLOSE_WAIT  -
tcp   34  0 127.0.0.1:13001 127.0.0.1:42370
CLOSE_WAIT  -
tcp1  0 185.3.95.94:13000   41.72.122.101:2226
 CLOSE_WAIT  -
tcp1  0 185.3.95.94:13000   41.72.122.101:35596
CLOSE_WAIT  -
tcp  484  0 127.0.0.1:13001 127.0.0.1:42332
CLOSE_WAIT  -
tcp   34  0 127.0.0.1:13001 127.0.0.1:42390
CLOSE_WAIT  -
tcp  425  0 185.3.95.94:13000   41.72.122.101:38846
ESTABLISHED -
tcp0  0 185.3.95.94:22  182.176.93.98:55343
ESTABLISHED 2647/0
tcp  271  0 127.0.0.1:13001 127.0.0.1:42334
CLOSE_WAIT  -
tcp0  0 185.3.95.94:22  

Re: sqlbox make error

2016-03-25 Thread christopher kamutumwa
Now when configuring sqlbox. I get below error anything am missing

root@ctlgate:~/sqlbox# make
make  all-recursive
make[1]: Entering directory `/root/sqlbox'
Making all in gw
make[2]: Entering directory `/root/sqlbox/gw'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/sqlbox/gw'
make[2]: Entering directory `/root/sqlbox'
make[2]: Leaving directory `/root/sqlbox'
make[1]: Leaving directory `/root/sqlbox'


On 3/25/16, Беляев Владимир Николаевич <v.bely...@sngb.ru> wrote:
> I did so:
>
> # kannel
> ./configure --with-mysql
> # opensmppbox, sqlbox
> ./configure --with-kannel-dir=/home/u3850/gateway-1.5.0
>
> -Original Message-
> From: users [mailto:users-boun...@kannel.org] On Behalf Of christopher
> kamutumwa
> Sent: Friday, March 25, 2016 1:48 PM
> To: spameden
> Cc: users
> Subject: Re: sqlbox make error
>
> Hi below is what am getting now. please advise
>
>
> Configuring DB support ...
> checking whether to compile with MySQL support... disabled checking whether
> to compile with LibSDB support... disabled checking whether to compile with
> SQLite2 support... disabled checking whether to compile with SQLite3
> support... disabled checking whether to compile with Oracle support...
> disabled checking whether to compile with PostgresSQL support... disabled
> checking whether to compile with Redis support... disabled checking whether
> to compile with FreeTDS Ct-Lib support... disabled
>
>
> chris
> On 3/24/16, spameden <spame...@gmail.com> wrote:
>> 2016-03-24 22:52 GMT+03:00 christopher kamutumwa
>> <chriskamutu...@gmail.com>:
>>
>>> hello,
>>>
>>> Ive installed kannel on ubuntu. now i want to install sqlbox i get
>>> below error kindly advise how to resolve this? i aready have mysql on
>>> server;
>>>
>>> sqlbox.c:98:2: error: #error You need support for at least one DB
>>> engine. Please recompile Kannel.
>>>  #error You need support for at least one DB engine. Please recompile
>>> Kannel.
>>>
>>
>> Error is self-explanatory. Recompile kannel with mysql support:
>>
>> ./configure --with-mysql
>> make; make install
>>
>> after that try compiling sqlbox again.
>>
>>>
>>>
>>> regards chris
>>>
>>>
>>
>
>
>



Re: sqlbox make error

2016-03-25 Thread christopher kamutumwa
#
 ./configure --with-mysql

gives error;
root@ctlgate:~/gateway-1.5.0# ./configure -–with-mysql
configure: error: unrecognized option: -–with-mysql
Try `./configure --help' for more information.
root@ctlgate:~/gateway-1.5.0# sudo ./configure -–with-mysql
configure: error: unrecognized option: -–with-mysql
Try `./configure --help' for more information.

but when i do
# ./configure --with-mysql-dir=etc/mysql
i get
Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
checking whether to compile with FreeTDS Ct-Lib support... disabled

Generating output files ...
configure: creating ./config.status
config.status: creating gwlib/gw_uuid_types.h
config.status: creating Makefile
config.status: creating gw-config.h
config.status: gw-config.h is unchanged
configure: WARNING: unrecognized options: --enable-mysql

License information ...
++
| License:   |
| This software is subject to the Kannel Software License, available |
| in this distribution in the file LICENSE. By continuing this   |
| installation process, you are bound by the terms of this license   |
| agreement. If you do not agree with the terms of this license, you |
| must abort the installation process at this point. |
||
|  The Kannel Group <http://www.kannel.org/> |
++

does "checking whether to compile with MySQL support... disabled"
affect nothing? if it does how do i enable it?


chris

On 3/25/16, Беляев Владимир Николаевич <v.bely...@sngb.ru> wrote:
> I did so:
>
> # kannel
> ./configure --with-mysql
> # opensmppbox, sqlbox
> ./configure --with-kannel-dir=/home/u3850/gateway-1.5.0
>
> -Original Message-
> From: users [mailto:users-boun...@kannel.org] On Behalf Of christopher
> kamutumwa
> Sent: Friday, March 25, 2016 1:48 PM
> To: spameden
> Cc: users
> Subject: Re: sqlbox make error
>
> Hi below is what am getting now. please advise
>
>
> Configuring DB support ...
> checking whether to compile with MySQL support... disabled checking whether
> to compile with LibSDB support... disabled checking whether to compile with
> SQLite2 support... disabled checking whether to compile with SQLite3
> support... disabled checking whether to compile with Oracle support...
> disabled checking whether to compile with PostgresSQL support... disabled
> checking whether to compile with Redis support... disabled checking whether
> to compile with FreeTDS Ct-Lib support... disabled
>
>
> chris
> On 3/24/16, spameden <spame...@gmail.com> wrote:
>> 2016-03-24 22:52 GMT+03:00 christopher kamutumwa
>> <chriskamutu...@gmail.com>:
>>
>>> hello,
>>>
>>> Ive installed kannel on ubuntu. now i want to install sqlbox i get
>>> below error kindly advise how to resolve this? i aready have mysql on
>>> server;
>>>
>>> sqlbox.c:98:2: error: #error You need support for at least one DB
>>> engine. Please recompile Kannel.
>>>  #error You need support for at least one DB engine. Please recompile
>>> Kannel.
>>>
>>
>> Error is self-explanatory. Recompile kannel with mysql support:
>>
>> ./configure --with-mysql
>> make; make install
>>
>> after that try compiling sqlbox again.
>>
>>>
>>>
>>> regards chris
>>>
>>>
>>
>
>
>



Re: sqlbox make error

2016-03-25 Thread christopher kamutumwa
Hi below is what am getting now. please advise


Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
checking whether to compile with Redis support... disabled
checking whether to compile with FreeTDS Ct-Lib support... disabled


chris
On 3/24/16, spameden <spame...@gmail.com> wrote:
> 2016-03-24 22:52 GMT+03:00 christopher kamutumwa
> <chriskamutu...@gmail.com>:
>
>> hello,
>>
>> Ive installed kannel on ubuntu. now i want to install sqlbox i get
>> below error kindly advise how to resolve this? i aready have mysql on
>> server;
>>
>> sqlbox.c:98:2: error: #error You need support for at least one DB
>> engine. Please recompile Kannel.
>>  #error You need support for at least one DB engine. Please recompile
>> Kannel.
>>
>
> Error is self-explanatory. Recompile kannel with mysql support:
>
> ./configure --with-mysql
> make; make install
>
> after that try compiling sqlbox again.
>
>>
>>
>> regards chris
>>
>>
>



sqlbox make error

2016-03-24 Thread christopher kamutumwa
hello,

Ive installed kannel on ubuntu. now i want to install sqlbox i get
below error kindly advise how to resolve this? i aready have mysql on
server;

sqlbox.c:98:2: error: #error You need support for at least one DB
engine. Please recompile Kannel.
 #error You need support for at least one DB engine. Please recompile Kannel.


regards chris



Re: ERROR: connect failed kannel

2016-03-11 Thread christopher kamutumwa
hi results from

# su - kannel
> $ bearerbox /etc/kannel/kannel.conf. so what next

2016-03-11 13:29:24 [10158] [0] INFO: Added logfile
`/var/log/kannel/gateway.log' with level `0'.
2016-03-11 13:29:24 [10158] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2016-03-11 13:29:24 [10158] [0] WARNING: 'store-file' option
deprecated, please use 'store-location' and 'store-type' instead.
2016-03-11 13:29:24 [10158] [0] PANIC: You MUST set HTTP admin-password
2016-03-11 13:29:24 [10158] [0] PANIC:
/usr/sbin/bearerbox(gw_panic+0x17b) [0x47fdab]
2016-03-11 13:29:24 [10158] [0] PANIC:
/usr/sbin/bearerbox(httpadmin_start+0x25c) [0x41424c]
2016-03-11 13:29:24 [10158] [0] PANIC: /usr/sbin/bearerbox(main+0x634)
[0x40e1d4]
2016-03-11 13:29:24 [10158] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7fdb1db93ec5]
2016-03-11 13:29:24 [10158] [0] PANIC: /usr/sbin/bearerbox() [0x40e9d5]
2016-03-11 13:29:27 [10168] [0] INFO: Added logfile
`/var/log/kannel/gateway.log' with level `0'.


On 3/11/16, spameden <spame...@gmail.com> wrote:
> Your log indicates there is a problem with bearearbox, try running
> berarebox from the console and see what's the problem there:
>
> # su - kannel
> $ bearerbox /etc/kannel/kannel.conf
>
> 2016-03-11 18:10 GMT+03:00 christopher kamutumwa
> <chriskamutu...@gmail.com>:
>
>> Hi
>> Ive installed kannel on my ubuntu machine LTS14 and kannel starts
>> properly. but fails to connect to the bearer box below is error and
>> conf file;will appreciate if this is sorted thanks
>>
>> 2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 5
>> (gw/smsbox.c:url_result_thread)
>> 2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 6
>> (gw/smsbox.c:http_queue_thread)
>> 2016-03-11 11:22:24 [7362] [0] ERROR: connect failed
>> 2016-03-11 11:22:24 [7362] [0] ERROR: System error 111: Connection
>> refused
>> 2016-03-11 11:22:24 [7362] [0] ERROR: error connecting to server
>> `localhost' at port `13001'
>> 2016-03-11 11:22:24 [7362] [0] PANIC: Couldn't connect to the bearerbox.
>> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(gw_panic+0x17b)
>> [0x43e14b]
>> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(main+0xcbc)
>> [0x40e0fc]
>> 2016-03-11 11:22:24 [7362] [0] PANIC:
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
>> [0x7f750a6daec5]
>> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox() [0x40ea35]
>>
>> # CORE
>> group = core
>> admin-port = 13000
>> smsbox-port = 13001
>> #admin-password = nochange
>> #admin-deny-ip = "*.*.*.*"
>> #admin-allow-ip = "127.0.0.1"
>> log-file = /var/log/kannel/gateway.log
>> log-level = 0
>> access-log = /var/log/kannel/access.log
>> store-type = file
>> store-file = /var/log/kannel/kannel.store
>> unified-prefix = "-,+"
>> #unified-prefix = "+,00"
>> #store-type = spool
>> #store-location = /var/spool/kannel/store
>> #smsbox-max-pending = 100
>> #dlr-storage = mysql
>>
>> # SMSBOX
>> group = smsbox
>> smsbox-id = admin
>> bearerbox-host = localhost
>> sendsms-port = 13022
>> bearerbox-port = 13001
>> #sendsms-chars = "0123456789 +- "
>> log-file = /var/log/kannel/smsbox.log
>> log-level = 0
>> access-log = /var/log/kannel/smsbox-access.log
>>
>> # the following is just standard dlr configuration
>>
>> group = mysql-connection
>> id = mydlr
>> host = localhost
>> username = 
>> password = x
>> database = kannel
>> # you can increase this upon a higher load
>> max-connections = 100
>>
>> group = dlr-db
>> id = mydlr
>> table = 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 Links
>> ##
>>
>> group = smsc
>> smsc = fake
>> port = 1
>> connect-allow-ip = 127.0.0.1
>> denied-smsc-id = cvd
>>
>>
>> group = smsc
>> smsc-id = vbv
>> smsc = smpp
>> system-type = ""
>> interface-version = 34
>> host = xxx
>> port = 2779
>> #receive-port = 2779
>> smsc-username = abc
>> smsc-password = abc
>> transceiver-mode = true
>> bind-addr-ton = 1
>> bind-addr-npi = 0
>> source-addr-ton = 5
>> source-addr-npi = 0
>> dest-addr-ton = 1
>> dest-addr-n

ERROR: connect failed kannel

2016-03-11 Thread christopher kamutumwa
Hi
Ive installed kannel on my ubuntu machine LTS14 and kannel starts
properly. but fails to connect to the bearer box below is error and
conf file;will appreciate if this is sorted thanks

2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2016-03-11 11:22:24 [7362] [0] ERROR: connect failed
2016-03-11 11:22:24 [7362] [0] ERROR: System error 111: Connection refused
2016-03-11 11:22:24 [7362] [0] ERROR: error connecting to server
`localhost' at port `13001'
2016-03-11 11:22:24 [7362] [0] PANIC: Couldn't connect to the bearerbox.
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(gw_panic+0x17b)
[0x43e14b]
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(main+0xcbc) [0x40e0fc]
2016-03-11 11:22:24 [7362] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7f750a6daec5]
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox() [0x40ea35]

# CORE
group = core
admin-port = 13000
smsbox-port = 13001
#admin-password = nochange
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = /var/log/kannel/gateway.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = file
store-file = /var/log/kannel/kannel.store
unified-prefix = "-,+"
#unified-prefix = "+,00"
#store-type = spool
#store-location = /var/spool/kannel/store
#smsbox-max-pending = 100
#dlr-storage = mysql

# SMSBOX
group = smsbox
smsbox-id = admin
bearerbox-host = localhost
sendsms-port = 13022
bearerbox-port = 13001
#sendsms-chars = "0123456789 +- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/smsbox-access.log

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = 
password = x
database = kannel
# you can increase this upon a higher load
max-connections = 100

group = dlr-db
id = mydlr
table = 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 Links ##

group = smsc
smsc = fake
port = 1
connect-allow-ip = 127.0.0.1
denied-smsc-id = cvd


group = smsc
smsc-id = vbv
smsc = smpp
system-type = ""
interface-version = 34
host = xxx
port = 2779
#receive-port = 2779
smsc-username = abc
smsc-password = abc
transceiver-mode = true
bind-addr-ton = 1
bind-addr-npi = 0
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
denied-smsc-id = xyz
denied-prefix = "26097"
msg-id-type = 0x00


group = smsc
smsc-id = clx
smsc = smpp
system-type = ""
interface-version = 34
host = xxx
port = 3600
#receive-port = 3600
smsc-username = abc
smsc-password = abc
transceiver-mode = true
bind-addr-ton = 1
bind-addr-npi = 0
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
throughput = 70
#max-pending-submit = 18
#denied-smsc-id = xxx
denied-smsc-id = xxx
denied-prefix = "26097;26096"

#
# SENDSMS-USER
group = sendsms-user
username = smsgw
password = pass123
max-messages = 6
concatenation = true
default-smsc = crs

#group = sendsms-user
#username = kannel
#password = crueT39
#user-deny-ip = "*.*.*.*"
#user-allow-ip = "usr-public-ip"
#max-messages = 6
#concatenation = true

# Default servide
#group = sms-service
#keyword = default
#text = "You have entered the wrong command. Please try again with
correct syntax."


group = sms-service
keyword = default
get-url = 
"http://185.3.90.96/innov8/index.php?app=call=gateway=kannel=geturl=%t=%q=%a=%Q;
accept-x-kannel-headers = true
max-messages = 1000
concatenation = true
catch-all = true
text = "this is kreeper"
omit-empty = true



Re: ERROR: connect failed kannel

2016-03-11 Thread christopher kamutumwa
not working . what will resolve my issue?


On 3/11/16, Беляев Владимир Николаевич <v.bely...@sngb.ru> wrote:
> Try the script:
>
> [u3850@sms-gw ~]$ cat kannel_start
> #!/bin/bash
>
> /usr/local/sbin/bearerbox -d /etc/kannel/kannel.conf
> /usr/local/sbin/sqlbox -d /etc/kannel/sqlbox.conf
> /usr/local/sbin/opensmppbox -d /etc/kannel/opensmppbox.conf
> sleep 3
> /usr/local/sbin/smsbox -d /etc/kannel/kannel.conf
>
>
> -Original Message-
> From: users [mailto:users-boun...@kannel.org] On Behalf Of christopher
> kamutumwa
> Sent: Friday, March 11, 2016 5:14 PM
> To: users
> Subject: ERROR: connect failed kannel
>
> Hi
> Ive installed kannel on my ubuntu machine LTS14 and kannel starts properly.
> but fails to connect to the bearer box below is error and conf file;will
> appreciate if this is sorted thanks
>
> 2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_thread)
> 2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_thread)
> 2016-03-11 11:22:24 [7362] [0] ERROR: connect failed
> 2016-03-11 11:22:24 [7362] [0] ERROR: System error 111: Connection refused
> 2016-03-11 11:22:24 [7362] [0] ERROR: error connecting to server `localhost'
> at port `13001'
> 2016-03-11 11:22:24 [7362] [0] PANIC: Couldn't connect to the bearerbox.
> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(gw_panic+0x17b)
> [0x43e14b]
> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(main+0xcbc)
> [0x40e0fc]
> 2016-03-11 11:22:24 [7362] [0] PANIC:
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
> [0x7f750a6daec5]
> 2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox() [0x40ea35]
>
> # CORE
> group = core
> admin-port = 13000
> smsbox-port = 13001
> #admin-password = nochange
> #admin-deny-ip = "*.*.*.*"
> #admin-allow-ip = "127.0.0.1"
> log-file = /var/log/kannel/gateway.log
> log-level = 0
> access-log = /var/log/kannel/access.log
> store-type = file
> store-file = /var/log/kannel/kannel.store unified-prefix = "-,+"
> #unified-prefix = "+,00"
> #store-type = spool
> #store-location = /var/spool/kannel/store #smsbox-max-pending = 100
> #dlr-storage = mysql
>
> # SMSBOX
> group = smsbox
> smsbox-id = admin
> bearerbox-host = localhost
> sendsms-port = 13022
> bearerbox-port = 13001
> #sendsms-chars = "0123456789 +- "
> log-file = /var/log/kannel/smsbox.log
> log-level = 0
> access-log = /var/log/kannel/smsbox-access.log
>
> # the following is just standard dlr configuration
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = 
> password = x
> database = kannel
> # you can increase this upon a higher load max-connections = 100
>
> group = dlr-db
> id = mydlr
> table = 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 Links ##
>
> group = smsc
> smsc = fake
> port = 1
> connect-allow-ip = 127.0.0.1
> denied-smsc-id = cvd
>
>
> group = smsc
> smsc-id = vbv
> smsc = smpp
> system-type = ""
> interface-version = 34
> host = xxx
> port = 2779
> #receive-port = 2779
> smsc-username = abc
> smsc-password = abc
> transceiver-mode = true
> bind-addr-ton = 1
> bind-addr-npi = 0
> source-addr-ton = 5
> source-addr-npi = 0
> dest-addr-ton = 1
> dest-addr-npi = 1
> denied-smsc-id = xyz
> denied-prefix = "26097"
> msg-id-type = 0x00
>
>
> group = smsc
> smsc-id = clx
> smsc = smpp
> system-type = ""
> interface-version = 34
> host = xxx
> port = 3600
> #receive-port = 3600
> smsc-username = abc
> smsc-password = abc
> transceiver-mode = true
> bind-addr-ton = 1
> bind-addr-npi = 0
> source-addr-ton = 5
> source-addr-npi = 0
> dest-addr-ton = 1
> dest-addr-npi = 1
> throughput = 70
> #max-pending-submit = 18
> #denied-smsc-id = xxx
> denied-smsc-id = xxx
> denied-prefix = "26097;26096"
>
> #
> # SENDSMS-USER
> group = sendsms-user
> username = smsgw
> password = pass123
> max-messages = 6
> concatenation = true
> default-smsc = crs
>
> #group = sendsms-user
> #username = kannel
> #password = crueT39
> #user-deny-ip = "*.*.*.*"
> #user-allow-ip = "usr-public-ip"
> #max-messages = 6
> #concatenation = true
>
> # Default servide
> #group = sms-service
> #keyword = default
> #text = "You have entered the wrong command. Please try again with correct
> syntax."
>
>
> group = sms-service
> keyword = default
> get-url =
> "http://185.3.90.96/innov8/index.php?app=call=gateway=kannel=geturl=%t=%q=%a=%Q;
> accept-x-kannel-headers = true
> max-messages = 1000
> concatenation = true
> catch-all = true
> text = "this is kreeper"
> omit-empty = true
>
>
>



ERROR: connect failed kannel

2016-03-11 Thread christopher kamutumwa
Hi
Ive installed kannel on my ubuntu machine LTS14 and kannel starts
properly. but fails to connect to the bearer box below is error and
conf file;will appreciate if this is sorted thanks

2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2016-03-11 11:22:24 [7362] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2016-03-11 11:22:24 [7362] [0] ERROR: connect failed
2016-03-11 11:22:24 [7362] [0] ERROR: System error 111: Connection refused
2016-03-11 11:22:24 [7362] [0] ERROR: error connecting to server
`localhost' at port `13001'
2016-03-11 11:22:24 [7362] [0] PANIC: Couldn't connect to the bearerbox.
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(gw_panic+0x17b)
[0x43e14b]
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox(main+0xcbc) [0x40e0fc]
2016-03-11 11:22:24 [7362] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7f750a6daec5]
2016-03-11 11:22:24 [7362] [0] PANIC: /usr/sbin/smsbox() [0x40ea35]

# CORE
group = core
admin-port = 13000
smsbox-port = 13001
#admin-password = nochange
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = /var/log/kannel/gateway.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = file
store-file = /var/log/kannel/kannel.store
unified-prefix = "-,+"
#unified-prefix = "+,00"
#store-type = spool
#store-location = /var/spool/kannel/store
#smsbox-max-pending = 100
#dlr-storage = mysql

# SMSBOX
group = smsbox
smsbox-id = admin
bearerbox-host = localhost
sendsms-port = 13022
bearerbox-port = 13001
#sendsms-chars = "0123456789 +- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/smsbox-access.log

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = 
password = x
database = kannel
# you can increase this upon a higher load
max-connections = 100

group = dlr-db
id = mydlr
table = 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 Links ##

group = smsc
smsc = fake
port = 1
connect-allow-ip = 127.0.0.1
denied-smsc-id = cvd


group = smsc
smsc-id = vbv
smsc = smpp
system-type = ""
interface-version = 34
host = xxx
port = 2779
#receive-port = 2779
smsc-username = abc
smsc-password = abc
transceiver-mode = true
bind-addr-ton = 1
bind-addr-npi = 0
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
denied-smsc-id = xyz
denied-prefix = "26097"
msg-id-type = 0x00


group = smsc
smsc-id = clx
smsc = smpp
system-type = ""
interface-version = 34
host = xxx
port = 3600
#receive-port = 3600
smsc-username = abc
smsc-password = abc
transceiver-mode = true
bind-addr-ton = 1
bind-addr-npi = 0
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
throughput = 70
#max-pending-submit = 18
#denied-smsc-id = xxx
denied-smsc-id = xxx
denied-prefix = "26097;26096"

#
# SENDSMS-USER
group = sendsms-user
username = smsgw
password = pass123
max-messages = 6
concatenation = true
default-smsc = crs

#group = sendsms-user
#username = kannel
#password = crueT39
#user-deny-ip = "*.*.*.*"
#user-allow-ip = "usr-public-ip"
#max-messages = 6
#concatenation = true

# Default servide
#group = sms-service
#keyword = default
#text = "You have entered the wrong command. Please try again with
correct syntax."


group = sms-service
keyword = default
get-url = 
"http://185.3.90.96/innov8/index.php?app=call=gateway=kannel=geturl=%t=%q=%a=%Q;
accept-x-kannel-headers = true
max-messages = 1000
concatenation = true
catch-all = true
text = "this is kreeper"
omit-empty = true