Re: OPENSMPPBox issue.

2019-02-18 Thread Gert Tamm
2019-02-19 08:07:13 [13238] [0] INFO: Debug_lvl = 0, log_file = , 
log_lvl = 0
2019-02-19 08:07:13 [13238] [0] DEBUG: Loading include file 
`/etc/kannel/opensmppbox.conf' (on line 39 of file /etc/kannel/kannel.conf).
2019-02-19 08:07:13 [13238] [0] ERROR: Group 'opensmppbox' is no valid 
group identifier.
2019-02-19 08:07:13 [13238] [0] ERROR: Error found on line 5 of file 
`/etc/kannel/kannel.conf'.
2019-02-19 08:07:13 [13238] [0] PANIC: Couldn't read configuration from 
`/etc/kannel/kannel.conf'.

2019-02-19 08:07:13 [13238] [0] PANIC: bearerbox(gw_panic+0x16b) [0x48068b]
2019-02-19 08:07:13 [13238] [0] PANIC: bearerbox(main+0xe3a) [0x40d69a]
2019-02-19 08:07:13 [13238] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f9fe54d0830]

2019-02-19 08:07:13 [13238] [0] PANIC: bearerbox(_start+0x29) [0x40d759]


2019-02-19 08:07:15 [13239] [0] INFO: Debug_lvl = 0, log_file = , 
log_lvl = 0
2019-02-19 08:07:15 [13239] [0] DEBUG: Loading include file 
`/etc/kannel/opensmppbox.conf' (on line 39 of file /etc/kannel/kannel.conf).
2019-02-19 08:07:15 [13239] [0] ERROR: Group 'opensmppbox' is no valid 
group identifier.
2019-02-19 08:07:15 [13239] [0] ERROR: Error found on line 5 of file 
`/etc/kannel/kannel.conf'.
2019-02-19 08:07:15 [13239] [0] PANIC: Couldn't read configuration from 
`/etc/kannel/kannel.conf'.

2019-02-19 08:07:15 [13239] [0] PANIC: smsbox(gw_panic+0x16b) [0x439adb]
2019-02-19 08:07:15 [13239] [0] PANIC: smsbox(main+0x12b9) [0x40d7d9]
2019-02-19 08:07:15 [13239] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fbc458d8830]

2019-02-19 08:07:15 [13239] [0] PANIC: smsbox(_start+0x29) [0x40da69]

2/19/2019 09:05 Web Min kirjutas:

try the following instead

bearerbox -v 0 /etc/kannel/kannel.conf

smsbox -v 0 /etc/kannel/kannel.conf


and share the output


On Tue, Feb 19, 2019 at 10:03 AM Gert Tamm <mailto:g...@messenger.ee>> wrote:


I start all the parts of kannel like this :

sudo /usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_bearerbox.pid --no-extra-args
/usr/local/sbin/bearerbox -v 0 -- /etc/kannel/kannel.conf
sudo /usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_smsbox.pid --no-extra-args
/usr/local/sbin/smsbox -v 0 -- /etc/kannel/kannel.conf
sudo /usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_smppbox.pid --no-extra-args
/usr/local/sbin/opensmppbox -v 0 -- /etc/kannel/kannel.conf

2/18/2019 11:54 Web Min kirjutas:

How you are running both bearerbox and smsbox?

make sure to pico /etc/default/kannel
and then add

START_WAPBOX=1
START_SMSBOX=1

then restart the kannel service, after that check the status via
your brower


On Mon, Feb 18, 2019 at 12:49 PM Gert Tamm mailto:g...@messenger.ee>> wrote:

Hello,

When I start my bearerbox and smsbox with any configuration of
OpenSMPPBox, only SMPPBox starts, bearerbox and smsbox won't
start. And
I'm not getting any errors to log files.
What I might have done wrong?

-- 
Tervitades/Best Wishes,

    Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ


-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail:g...@messenger.ee  <mailto:g...@messenger.ee>
Direct Messenger OÜ


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Re: OPENSMPPBox issue.

2019-02-18 Thread Gert Tamm

I start all the parts of kannel like this :

sudo /usr/local/sbin/run_kannel_box --pidfile 
/var/run/kannel/kannel_bearerbox.pid --no-extra-args 
/usr/local/sbin/bearerbox -v 0 -- /etc/kannel/kannel.conf
sudo /usr/local/sbin/run_kannel_box --pidfile 
/var/run/kannel/kannel_smsbox.pid --no-extra-args /usr/local/sbin/smsbox 
-v 0 -- /etc/kannel/kannel.conf
sudo /usr/local/sbin/run_kannel_box --pidfile 
/var/run/kannel/kannel_smppbox.pid --no-extra-args 
/usr/local/sbin/opensmppbox -v 0 -- /etc/kannel/kannel.conf


2/18/2019 11:54 Web Min kirjutas:

How you are running both bearerbox and smsbox?

make sure to pico /etc/default/kannel
and then add

START_WAPBOX=1
START_SMSBOX=1

then restart the kannel service, after that check the status via your 
brower



On Mon, Feb 18, 2019 at 12:49 PM Gert Tamm <mailto:g...@messenger.ee>> wrote:


Hello,

When I start my bearerbox and smsbox with any configuration of
OpenSMPPBox, only SMPPBox starts, bearerbox and smsbox won't
start. And
I'm not getting any errors to log files.
What I might have done wrong?

-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ



--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



OPENSMPPBox issue.

2019-02-18 Thread Gert Tamm

Hello,

When I start my bearerbox and smsbox with any configuration of 
OpenSMPPBox, only SMPPBox starts, bearerbox and smsbox won't start. And 
I'm not getting any errors to log files.

What I might have done wrong?

--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ




Re: Kannel not starting up.

2018-12-17 Thread Gert Tamm
I think I found the problem. Instances variable was added to 1.4.5, 
while I'm using 1.4.3. How could I update it from 1.4.3 under Ubuntu safely?


12/17/2018 17:27 Willy Mularto kirjutas:
I'm not sure, but as per my experience it was a bug from old Kennel 
when you start smsbox with unsent message still in the queue.


Pada tanggal Sen, 17 Des 2018 22.21 Gert Tamm <mailto:g...@messenger.ee> menulis:


Am I using a wrong version or something else might be wrong?

12/17/2018 08:55 Gert Tamm kirjutas:


I'm using Kannel 1.4.3 and 14.04.1-Ubuntu.

12/17/2018 08:54 Willy Mularto kirjutas:

What version are you at? And what Linux does it run on? Is there
any queue left?


So Far Express VPN still the fastest

https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard


On Mon, Dec 17, 2018 at 1:49 PM Gert Tamm mailto:g...@messenger.ee>> wrote:

Hello,

When i try to add instances to my SMSC Group Variable Kannel
isn't
starting up anymore. When I take instances off it works
normally.

Errors in smsbox are : System error 32: Broken pipe/Error
writing 12
octets to fd 21.

What might be the problem?

-- 
Tervitades/Best Wishes,

    Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ


-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail:g...@messenger.ee  <mailto:g...@messenger.ee>
Direct Messenger OÜ


-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail:g...@messenger.ee  <mailto:g...@messenger.ee>
Direct Messenger OÜ


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Re: Kannel not starting up.

2018-12-17 Thread Gert Tamm

Am I using a wrong version or something else might be wrong?

12/17/2018 08:55 Gert Tamm kirjutas:


I'm using Kannel 1.4.3 and 14.04.1-Ubuntu.

12/17/2018 08:54 Willy Mularto kirjutas:
What version are you at? And what Linux does it run on? Is there any 
queue left?



So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard


On Mon, Dec 17, 2018 at 1:49 PM Gert Tamm <mailto:g...@messenger.ee>> wrote:


Hello,

When i try to add instances to my SMSC Group Variable Kannel isn't
starting up anymore. When I take instances off it works normally.

Errors in smsbox are : System error 32: Broken pipe/Error writing 12
octets to fd 21.

What might be the problem?

-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ



--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail:g...@messenger.ee
Direct Messenger OÜ


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Re: Kannel not starting up.

2018-12-16 Thread Gert Tamm

I'm using Kannel 1.4.3 and 14.04.1-Ubuntu.

12/17/2018 08:54 Willy Mularto kirjutas:
What version are you at? And what Linux does it run on? Is there any 
queue left?



So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard


On Mon, Dec 17, 2018 at 1:49 PM Gert Tamm <mailto:g...@messenger.ee>> wrote:


Hello,

When i try to add instances to my SMSC Group Variable Kannel isn't
starting up anymore. When I take instances off it works normally.

Errors in smsbox are : System error 32: Broken pipe/Error writing 12
octets to fd 21.

What might be the problem?

-- 
Tervitades/Best Wishes,

Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ



--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Kannel not starting up.

2018-12-16 Thread Gert Tamm

Hello,

When i try to add instances to my SMSC Group Variable Kannel isn't 
starting up anymore. When I take instances off it works normally.


Errors in smsbox are : System error 32: Broken pipe/Error writing 12 
octets to fd 21.


What might be the problem?

--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ




Re: Kannel multiboxing.

2018-11-28 Thread Gert Tamm
The reason I wanan try Load Balancing, is that our outgoing sms speed is 
slow when we send it maxes out (8.3x,5.xx,x.xx). How could I make it better?



11/27/2018 14:06 Davor Spasoski kirjutas:

1. Yes, just dedicate unique ports to your two instances of the boxes
2. This is actually a very good question to which I don't have an answer. It is 
certainly possible to instruct both instances to use the same DB, typically 
used as a store and/or DLR repository, but I wonder how will kannel handle the 
concurrency? Load balancing is usually brought on kannel table in the context 
of balancing between SMS centers, not instances of kannel. It's best if you 
try, and you would probably need to set same smsc-ids, etc. I'm interested of 
the results.
If you wish to accomplish kannel redundancy another way is to  use 
active/standby kannel, and I don't see a reason why wouldn't this work.

BR,
Davor Spasoski

one.Vip DOOEL Skopje | Ploshtad Presveta Bogorodica 1 | 1000 Skopje | Macedonia
-Original Message-
From: users  On Behalf Of Gert Tamm
Sent: Tuesday, November 27, 2018 12:29 PM
To: users@kannel.org
Subject: Kannel multiboxing.

Hello,

I have question if you could multibox kannel in one computer?

And how to set up 2 servers with one database to load balance the sending of 
SMS?

--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





Disclaimer: one.Vip DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOOEL Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Kannel multiboxing.

2018-11-27 Thread Gert Tamm

Hello,

I have question if you could multibox kannel in one computer?

And how to set up 2 servers with one database to load balance the 
sending of SMS?


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ




Re: DLR queued, using mysql storage

2018-01-17 Thread Gert Tamm

Hello.

You need to empty the database table, what is holding your DLR's. 
kannel_dlr is the table.


1/17/2018 15:16 christopher kamutumwa kirjutas:

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


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



Re: A question about kannel.

2017-01-09 Thread Gert Tamm
What I have to do if we wanna determine ourself? I mean : Like we wanna 
give exact info to our client how much the message is gonna cost. But 
different countires have different price. And we wanna detuct right 
amount from our client. Do we have to make a PHP script to check the 
countries?



09.01.2017 13:30 MOSES KARIUKI kirjutas:
I think that will be determined by you SMS center, i.e. the Service 
carrier e.g. Vodafone



On Mon, Jan 9, 2017 at 1:16 PM, Gert Tamm <g...@messenger.ee 
<mailto:g...@messenger.ee>> wrote:


Hello,

The question I have in hand is : How does Kannel establishes the
country codes, as where to send the message?


-- 
Tervitades/Best Wishes,

    Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee <mailto:g...@messenger.ee>
Direct Messenger OÜ






--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



A question about kannel.

2017-01-09 Thread Gert Tamm

Hello,

The question I have in hand is : How does Kannel establishes the country 
codes, as where to send the message?



--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





Re: send-SMS request empty

2016-12-15 Thread Gert Tamm
And sorry I forgot to add that, if the message comes like this, then 
Kannel is sending out a 150 chars as 306 chars and as in Unicode UCS2 
encoded in HEX ASCII.



15.12.2016 16:26 Gert Tamm kirjutas:

Hello,

I have a missing send-sms request in my smsbox-access log :

2016-12-15 14:30:23 send-SMS request added - sender:x:xx 
127.0.0.1 target: request: ''


2016-12-15 14:30:23 [8119] [3] INFO: sendsms sender: 
(127.0.0.1) to: msg:<>
2016-12-15 14:30:23 [8119] [3] INFO: smsbox: Got HTTP request 
 from <127.0.0.1>


What might be the problem?




--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





send-SMS request empty

2016-12-15 Thread Gert Tamm

Hello,

I have a missing send-sms request in my smsbox-access log :

2016-12-15 14:30:23 send-SMS request added - sender:x:xx 
127.0.0.1 target: request: ''


2016-12-15 14:30:23 [8119] [3] INFO: sendsms sender: 
(127.0.0.1) to: msg:<>
2016-12-15 14:30:23 [8119] [3] INFO: smsbox: Got HTTP request 
 from <127.0.0.1>


What might be the problem?


--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





Re: How to make Kannel to get no notification from SMSC

2016-11-13 Thread Gert Tamm

No, I'm notinjecting dlr-mask or dlr-ulr to the.


11/11/2016 13:14 Stipe Tolj kirjutas:

Am 11.11.2016 07:57, schrieb Gert Tamm:

A SMSC of mine says that they don't allow getting notifications from
them. How could I turn off the Notifications?


notifications == DLRs (delivery reports).

Are you setting any 'dlr-mask' and 'dlr-url' when injecting the MTs 
via the smsbox's sendsms HTTP interface? If yes, simply ommit that 
part for that specific SMSC.


Stipe




--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





Re: How to make Kannel to get no notification from SMSC

2016-11-11 Thread Gert Tamm
The error I'm getting from my SMSC is : [msg:42:NACK/04-Notification 
request not permitted]. How can i turn Notification request off?



11/11/2016 13:14 Stipe Tolj kirjutas:

Am 11.11.2016 07:57, schrieb Gert Tamm:

A SMSC of mine says that they don't allow getting notifications from
them. How could I turn off the Notifications?


notifications == DLRs (delivery reports).

Are you setting any 'dlr-mask' and 'dlr-url' when injecting the MTs 
via the smsbox's sendsms HTTP interface? If yes, simply ommit that 
part for that specific SMSC.


Stipe




--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ





Re: How to make Kannel to get no notification from SMSC

2016-11-10 Thread Gert Tamm

Sorry about that.

Kannel conf :

group   = smsc
smsc= emi
smsc-id = "ee_emt_12010"
allowed-smsc-id = "ee_emt_12010"
host= "***.***.**"
port= "*"
smsc-username   = ""
smsc-password   = "**"
receive-port= "2102"
my-number   = "12010"
keepalive   = 43
no-dlr= true //This is the setting I just added, but that 
didn't help.

# window= 75
flow-control= 1
allowed-prefix  = "00372"
log-file= "/var/log/kannel/ee_emt_12010.log"
log-level   = 0
unified-prefix  = "3725,5,372"


11/11/2016 09:50 Mike Nwaogu kirjutas:

Hi Gert, perhaps you mean delivery report.
I'd suggest you leave it our in your sendsms URL and comment it out in 
the kannel.conf, which you didn't share.

Best Regards,
Michael Nwaogu C.


On Friday, November 11, 2016 7:59 AM, Gert Tamm <g...@messenger.ee> wrote:


A SMSC of mine says that they don't allow getting notifications from
them. How could I turn off the Notifications?






--
Tervitades/Best Wishes,
Gert Tamm
Süsteemiadministraator/System administrator
E-mail: g...@messenger.ee
Direct Messenger OÜ



How to make Kannel to get no notification from SMSC

2016-11-10 Thread Gert Tamm
A SMSC of mine says that they don't allow getting notifications from 
them. How could I turn off the Notifications?





Error while compiling latest SVN Kannel.

2016-09-13 Thread Gert Tamm

Hello,

I'm trying to install latest Kannel from SVN.
While I'm compiling it I get this error :

gw/dlr_spool.c: In function ‘our_hash_func’:
gw/dlr_spool.c:127:16: error: storage size of ‘mdctx’ isn’t known
 EVP_MD_CTX mdctx;
^
gw/dlr_spool.c:139:5: warning: implicit declaration of function 
‘EVP_MD_CTX_cleanup’ [-Wimplicit-function-declaration]

 EVP_MD_CTX_cleanup();
 ^
gw/dlr_spool.c:127:16: warning: unused variable ‘mdctx’ [-Wunused-variable]
 EVP_MD_CTX mdctx;
^
make: *** [gw/dlr_spool.o] Error 1

What might be the cause of this error?

The configure line looks like : ./configure --prefix=/etc/kannel 
--with-mysql --with-mysql-dir=/usr/lib/mysql/ --enable-debug 
--enable-assertions --with-defaults=speed --disable-localtime 
--enable-start-stop-daemon --enable-pam --with-SSL=/usr/bin/openssl 
--enable-SSL