Re: OPENSMPPBox issue.

2019-02-24 Thread Stipe Tolj

Am 19.02.19 08:08, schrieb 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


that's actually correct, since the opensmppbox is an add-on component 
that registers it's own config group identifiers, and therefore they can 
ONLY be used in the configuration scope of the opensmppbox runtime.


In other words, if you add a 'group = opensmppbox' context to your 
kannel.conf that is used for bearebox and smsbox, they will NOT KNOW 
about that config group, and hence complain.


The best idea is that you separate the configuration structure, so that 
opensmppbox uses only it's own parts and bearerbox/smsbox vice versa.


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

st...@kannel.org  s...@tolj.org
---



Re: OPENSMPPBox issue.

2019-02-18 Thread Web Min
it seems you have a problem with your configuration as showing below

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'.



On Tue, Feb 19, 2019 at 10:08 AM Gert Tamm  wrote:

> 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  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  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
>>> 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: 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 > 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 
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: OPENSMPPBox issue.

2019-02-18 Thread Web Min
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  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  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
>> 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 > 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 
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 Web Min
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  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
> 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: Opensmppbox Issue

2017-04-06 Thread Stipe Tolj

Am 06.04.17 13:32, schrieb Wan Md Arif Noor Bin. Wan Nizam:

I think he replied to the wrong case maybe?


especially as I didn't mean this Rene, I ment of course Rene Kluwen, the 
Kannel group member that is in charge of the opensmppbox.


Stipe

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

st...@kannel.org  s...@tolj.org
---



RE: Opensmppbox Issue

2017-04-06 Thread Wan Md Arif Noor Bin. Wan Nizam
I think he replied to the wrong case maybe?

Regards,
Arif Noor.


From: users [mailto:users-boun...@kannel.org] On Behalf Of Vangelis Typaldos
Sent: Thursday, April 06, 2017 4:51 PM
To: René Kapayo; Stipe Tolj
Cc: users@kannel.org
Subject: Re: Opensmppbox Issue

Rene which was the issue? I have the same issue and these garbage generate nack 
pdu to the client and disconnections.

BR


Από: René Kapayo<mailto:yagb...@gmail.com>
Αποστολή: Πέμπτη, 6 Απριλίου 2017 11:18
Προς: Stipe Tolj<mailto:st...@kannel.org>
Κοιν.: users@kannel.org<mailto:users@kannel.org>
Θέμα: Re: Opensmppbox Issue

Hi Stipe,
Sorry for delay.
The issue was resolved.
Thanks

2017-04-05 15:48 GMT+01:00 Stipe Tolj 
<st...@kannel.org<mailto:st...@kannel.org>>:
Am 05.04.17 03:25, schrieb Wan Md Arif Noor Bin. Wan Nizam:
Hi Rene,

I don’t quite understand what you mean by something different from smpp,
is there any way for me to trace which transaction / sequence was
causing this error, I already done a tcpdump but can’t really find
anything peculiar.

if you can share the tcpdump capture file to Rene and me, we can have a chance 
to look into it.

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org<http://tolj.org> system architecture
http://www.kannel.org/http://www.tolj.org/

st...@kannel.org<mailto:st...@kannel.org>  
s...@tolj.org<mailto:s...@tolj.org>
---



--
Rene KAPAYO
Ingenieur Informaticien
Certifié Prince 2 Fundation
Tél.(portable) : +236 75 20 25 79
Domicile (portable) : +236 77 06 40 43
B.P. 2533 Bangui
Republique Centrafricaine



Re: Opensmppbox Issue

2017-04-06 Thread Vangelis Typaldos
Rene which was the issue? I have the same issue and these garbage generate nack 
pdu to the client and disconnections.

BR


Από: René Kapayo<mailto:yagb...@gmail.com>
Αποστολή: Πέμπτη, 6 Απριλίου 2017 11:18
Προς: Stipe Tolj<mailto:st...@kannel.org>
Κοιν.: users@kannel.org<mailto:users@kannel.org>
Θέμα: Re: Opensmppbox Issue

Hi Stipe,
Sorry for delay.
The issue was resolved.
Thanks

2017-04-05 15:48 GMT+01:00 Stipe Tolj 
<st...@kannel.org<mailto:st...@kannel.org>>:
Am 05.04.17 03:25, schrieb Wan Md Arif Noor Bin. Wan Nizam:
Hi Rene,

I don’t quite understand what you mean by something different from smpp,
is there any way for me to trace which transaction / sequence was
causing this error, I already done a tcpdump but can’t really find
anything peculiar.

if you can share the tcpdump capture file to Rene and me, we can have a chance 
to look into it.

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org<http://tolj.org> system architecture
http://www.kannel.org/http://www.tolj.org/

st...@kannel.org<mailto:st...@kannel.org>  
s...@tolj.org<mailto:s...@tolj.org>
---




--
Rene KAPAYO
Ingenieur Informaticien
Certifié Prince 2 Fundation
Tél.(portable) : +236 75 20 25 79
Domicile (portable) : +236 77 06 40 43
B.P. 2533 Bangui
Republique Centrafricaine




Re: Opensmppbox Issue

2017-04-06 Thread René Kapayo
Hi Stipe,
Sorry for delay.
The issue was resolved.
Thanks

2017-04-05 15:48 GMT+01:00 Stipe Tolj :

> Am 05.04.17 03:25, schrieb Wan Md Arif Noor Bin. Wan Nizam:
>
>> Hi Rene,
>>
>> I don’t quite understand what you mean by something different from smpp,
>> is there any way for me to trace which transaction / sequence was
>> causing this error, I already done a tcpdump but can’t really find
>> anything peculiar.
>>
>
> if you can share the tcpdump capture file to Rene and me, we can have a
> chance to look into it.
>
> --
> Best Regards,
> Stipe Tolj
>
> ---
> Düsseldorf, NRW, Germany
>
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
>
> st...@kannel.org  s...@tolj.org
> ---
>
>


-- 
Rene KAPAYO
Ingenieur Informaticien
Certifié Prince 2 Fundation
Tél.(portable) : +236 75 20 25 79
Domicile (portable) : +236 77 06 40 43
B.P. 2533 Bangui
Republique Centrafricaine


Re: Opensmppbox Issue

2017-04-05 Thread Stipe Tolj

Am 05.04.17 03:25, schrieb Wan Md Arif Noor Bin. Wan Nizam:

Hi Rene,

I don’t quite understand what you mean by something different from smpp,
is there any way for me to trace which transaction / sequence was
causing this error, I already done a tcpdump but can’t really find
anything peculiar.


if you can share the tcpdump capture file to Rene and me, we can have a 
chance to look into it.


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

st...@kannel.org  s...@tolj.org
---



RE: Opensmppbox Issue

2017-04-04 Thread Wan Md Arif Noor Bin. Wan Nizam
Hi Rene,

I don’t quite understand what you mean by something different from smpp, is 
there any way for me to trace which transaction / sequence was causing this 
error, I already done a tcpdump but can’t really find anything peculiar.

Thanks again,
Arif Noor


From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
Sent: Monday, April 03, 2017 9:26 PM
To: Wan Md Arif Noor Bin. Wan Nizam; users@kannel.org
Subject: Re: Opensmppbox Issue

Most probable cause is that they connect with something different from smpp.

-- Origineel bericht --
Van: "Wan Md Arif Noor Bin. Wan Nizam" 
<md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>>
Aan: "users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
Verzonden: 29-3-2017 4:22:28
Onderwerp: Opensmppbox Issue

Hi Kannel Users,

I have an issue where recently user is constatly reconnecting to the 
opensmppbox. Digging into the logs found below information.

1008761:2017-03-29 09:50:23 [17929] [3595] ERROR: SMPP: PDU length was too 
small (4, minimum is 16).
1008762:2017-03-29 09:50:23 [17929] [3595] ERROR: opensmppbox[Zen]: Server sent 
garbage, ignored.
1008763:2017-03-29 09:50:23 [17929] [3595] ERROR: Invalid SMPP PDU received.
1008764:2017-03-29 09:50:23 [17929] [3595] DEBUG: Thread 3595 
(opensmppbox.c:smpp_to_bearerbox) terminates.

This only occur recently since few days ago for that particular user. Can’t 
find anything weird or what sequence caused that in the logs aside from above. 
Kindly advise.

Kannel Version :

Kannel bearerbox version `svn-r5154M'.
Opensmppbox version 1.5.0

Thanks,
Arif Noor


Re: Opensmppbox Issue

2017-04-03 Thread Rene Kluwen
Most probable cause is that they connect with something different from 
smpp.


-- Origineel bericht --
Van: "Wan Md Arif Noor Bin. Wan Nizam" <md.a...@forest-interactive.com>
Aan: "users@kannel.org" <users@kannel.org>
Verzonden: 29-3-2017 4:22:28
Onderwerp: Opensmppbox Issue


Hi Kannel Users,



I have an issue where recently user is constatly reconnecting to the 
opensmppbox. Digging into the logs found below information.




1008761:2017-03-29 09:50:23 [17929] [3595] ERROR: SMPP: PDU length was 
too small (4, minimum is 16).


1008762:2017-03-29 09:50:23 [17929] [3595] ERROR: opensmppbox[Zen]: 
Server sent garbage, ignored.


1008763:2017-03-29 09:50:23 [17929] [3595] ERROR: Invalid SMPP PDU 
received.


1008764:2017-03-29 09:50:23 [17929] [3595] DEBUG: Thread 3595 
(opensmppbox.c:smpp_to_bearerbox) terminates.




This only occur recently since few days ago for that particular user. 
Can’t find anything weird or what sequence caused that in the logs 
aside from above. Kindly advise.




Kannel Version :



Kannel bearerbox version `svn-r5154M'.

Opensmppbox version 1.5.0



Thanks,

Arif Noor


Opensmppbox Issue

2017-03-28 Thread Wan Md Arif Noor Bin. Wan Nizam
Hi Kannel Users,

I have an issue where recently user is constatly reconnecting to the 
opensmppbox. Digging into the logs found below information.

1008761:2017-03-29 09:50:23 [17929] [3595] ERROR: SMPP: PDU length was too 
small (4, minimum is 16).
1008762:2017-03-29 09:50:23 [17929] [3595] ERROR: opensmppbox[Zen]: Server sent 
garbage, ignored.
1008763:2017-03-29 09:50:23 [17929] [3595] ERROR: Invalid SMPP PDU received.
1008764:2017-03-29 09:50:23 [17929] [3595] DEBUG: Thread 3595 
(opensmppbox.c:smpp_to_bearerbox) terminates.

This only occur recently since few days ago for that particular user. Can't 
find anything weird or what sequence caused that in the logs aside from above. 
Kindly advise.

Kannel Version :

Kannel bearerbox version `svn-r5154M'.
Opensmppbox version 1.5.0

Thanks,
Arif Noor


Opensmppbox issue: NACK/No SMSC

2013-09-28 Thread Saurabh Pandey
Hi,

I am submitting SMS from Kannel based SMPP client to a different server
having kannel based setup+opensmppbox+sqlbox stack. The SMS is always
getting REJECTED. The issuea are:

1.) Opemsmppbox is taking system-id (username in smpplogins.txt) as SMSC
and then rejecting it
2.) SQLBOX shows no activity except an error: sql_id cannot be null

I have this setup

SMSC--- BB --- SQLBOX  Opensmppbox --- SMPP client

// HERE ARE THE CONFIG FILES-//


//Kannel.conf

group=core
admin-port = 14000
smsbox-port = 13001
admin-password = sam
status-password =
log-file = /var/log/kannel/kannel.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
access-log = /var/log/kannel/access.log
store-file = kannel.store
dlr-storage = mysql

#-
# SMSC CONNECTIONS

group=smsc
smsc = smpp
smsc-id = Promotional
host = xxx.xx.xxx.xxx
port = 
smsc-username = x
smsc-password = x
system-type = VMA
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 0
dest-addr-npi = 0
allowed-smsc-id = Promotional
transceiver-mode = true
receive-port = 



#-
# SMSBOX SETUP

group=smsbox
smsbox-id = main-box
bearerbox-host = 127.0.0.1
sendsms-port = 14014
global-sender = 14014
log-file = /tmp/smsbox.log
access-log = /tmp/access.log


group=smsbox-route
smsbox-id = smppclient
smsc-id = Promotional

#-
# SEND-SMS USERS

group=sendsms-user
username = sam
password = sam
max-messages = 5
concatenation = true


#-
# SERVICES

group=sms-service
keyword = nop
text = You asked nothing and I did it!

group=sms-service
keyword = default
get-url = 
http://domain.com/index.php?senderid=%Pphone=%preply=%asmscid=%i;
max-messages = 0

group = mysql-connection
id = mydlr
host = localhost
username = _sam
password = 
database = _xxx
max-connections = 5

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



// Opensmppbox.conf

group = core
dlr-storage = mysql

group = opensmppbox
opensmppbox-id = nvsmpp
opensmppbox-port = 2345
bearerbox-host = localhost
bearerbox-port = 13014
use-systemid-as-smsboxid = true
log-file = /var/log/smpp/smppbox.log
our-system-id = VSMSC
smpp-logins = smpplogins.txt

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

#DLR Table Structure
group = dlr-db
id = mydlr
table = sc_smpp_dlr
field-smsc = smsc
field-timestamp = timestamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id




// SQLbox.conf

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13014
smsbox-port-ssl = false
sql-log-table = sc_sqlbox_log
sql-insert-table = sc_smpp_incoming
log-file = /var/log/nvsmpp/test_smpp/sqlbox.log
log-level = 0

group = mysql-connection
id = sqlbox-db
host = localhost
username = x_xxx
password = xxx
database = _
# you can increase this upon a higher load
max-connections = 5

// SMPPlogins.txt file

smppclient goodsmpp testsmpp *.*.*.*




Now I've done everything as directed but still, its not working. Here is
what I got from SMPPBOXLOG file

//---SMPP PDU DUMP-

2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP[smppclient]: Got PDU:
2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP PDU 0x7f9874001380 dump:
2013-09-28 02:14:17 [2578] [11] DEBUG:   type_name: submit_sm
2013-09-28 02:14:17 [2578] [11] DEBUG:   command_id: 4 = 0x0004
2013-09-28 02:14:17 [2578] [11] DEBUG:   command_status: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   sequence_number: 2377 = 0x0949
2013-09-28 02:14:17 [2578] [11] DEBUG:   service_type: NULL
2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr_ton: 5 = 0x0005
2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr_npi: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr: OPAUTO
2013-09-28 02:14:17 [2578] [11] DEBUG:   dest_addr_ton: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   dest_addr_npi: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   destination_addr: 9694304016
2013-09-28 02:14:17 [2578] [11] DEBUG:   esm_class: 3 = 0x0003
2013-09-28 02:14:17 [2578] [11] DEBUG:   protocol_id: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   priority_flag: 0 = 0x
2013-09-28 02:14:17 [2578] [11] DEBUG:   schedule_delivery_time: NULL
2013-09-28 02:14:17 [2578] [11] DEBUG:   validity_period: NULL
2013-09-28 02:14:17 [2578] [11] DEBUG:   registered_delivery: 1 = 0x0001
2013-09-28 02:14:17 [2578] [11] DEBUG:   replace_if_present_flag: 0 =
0x
2013-09-28 02:14:17 [2578] 

Opensmppbox issue: NACK/No SMSC

2013-09-28 Thread Minh Tuan
You should add into your Opensmppbox.conf on Kannel server:
route-to-smsc = Promotional

Try to submit another message and paste the bearerbox-asscess.log of Kannel
server here for more information. Thank you.

Brs,
Tuan.


 --

 Message: 2
 Date: Sat, 28 Sep 2013 12:49:47 +0530
 From: Saurabh Pandey sam.it.develo...@gmail.com
 To: users@kannel.org
 Subject: Opensmppbox issue: NACK/No SMSC
 Message-ID:
 
 cahipy2xp1-upxqd_0bt-y4efsv3xqqu2hvg9ro7-lu6qzav...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi,

 I am submitting SMS from Kannel based SMPP client to a different server
 having kannel based setup+opensmppbox+sqlbox stack. The SMS is always
 getting REJECTED. The issuea are:

 1.) Opemsmppbox is taking system-id (username in smpplogins.txt) as SMSC
 and then rejecting it
 2.) SQLBOX shows no activity except an error: sql_id cannot be null

 I have this setup

 SMSC--- BB --- SQLBOX  Opensmppbox --- SMPP client

 // HERE ARE THE CONFIG FILES-//


 //Kannel.conf

 group=core
 admin-port = 14000
 smsbox-port = 13001
 admin-password = sam
 status-password =
 log-file = /var/log/kannel/kannel.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 access-log = /var/log/kannel/access.log
 store-file = kannel.store
 dlr-storage = mysql

 #-
 # SMSC CONNECTIONS

 group=smsc
 smsc = smpp
 smsc-id = Promotional
 host = xxx.xx.xxx.xxx
 port = 
 smsc-username = x
 smsc-password = x
 system-type = VMA
 source-addr-ton = 0
 source-addr-npi = 0
 dest-addr-ton = 0
 dest-addr-npi = 0
 allowed-smsc-id = Promotional
 transceiver-mode = true
 receive-port = 



 #-
 # SMSBOX SETUP

 group=smsbox
 smsbox-id = main-box
 bearerbox-host = 127.0.0.1
 sendsms-port = 14014
 global-sender = 14014
 log-file = /tmp/smsbox.log
 access-log = /tmp/access.log


 group=smsbox-route
 smsbox-id = smppclient
 smsc-id = Promotional

 #-
 # SEND-SMS USERS

 group=sendsms-user
 username = sam
 password = sam
 max-messages = 5
 concatenation = true


 #-
 # SERVICES

 group=sms-service
 keyword = nop
 text = You asked nothing and I did it!

 group=sms-service
 keyword = default
 get-url = 
 http://domain.com/index.php?senderid=%Pphone=%preply=%asmscid=%i;
 max-messages = 0

 group = mysql-connection
 id = mydlr
 host = localhost
 username = _sam
 password = 
 database = _xxx
 max-connections = 5

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



 // Opensmppbox.conf

 group = core
 dlr-storage = mysql

 group = opensmppbox
 opensmppbox-id = nvsmpp
 opensmppbox-port = 2345
 bearerbox-host = localhost
 bearerbox-port = 13014
 use-systemid-as-smsboxid = true
 log-file = /var/log/smpp/smppbox.log
 our-system-id = VSMSC
 smpp-logins = smpplogins.txt

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

 #DLR Table Structure
 group = dlr-db
 id = mydlr
 table = sc_smpp_dlr
 field-smsc = smsc
 field-timestamp = timestamp
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc_id




 // SQLbox.conf

 group = sqlbox
 id = sqlbox-db
 smsbox-id = sqlbox
 bearerbox-host = localhost
 bearerbox-port = 13001
 smsbox-port = 13014
 smsbox-port-ssl = false
 sql-log-table = sc_sqlbox_log
 sql-insert-table = sc_smpp_incoming
 log-file = /var/log/nvsmpp/test_smpp/sqlbox.log
 log-level = 0

 group = mysql-connection
 id = sqlbox-db
 host = localhost
 username = x_xxx
 password = xxx
 database = _
 # you can increase this upon a higher load
 max-connections = 5

 // SMPPlogins.txt file

 smppclient goodsmpp testsmpp *.*.*.*




 Now I've done everything as directed but still, its not working. Here is
 what I got from SMPPBOXLOG file

 //---SMPP PDU DUMP-

 2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP[smppclient]: Got PDU:
 2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP PDU 0x7f9874001380 dump:
 2013-09-28 02:14:17 [2578] [11] DEBUG:   type_name: submit_sm
 2013-09-28 02:14:17 [2578] [11] DEBUG:   command_id: 4 = 0x0004
 2013-09-28 02:14:17 [2578] [11] DEBUG:   command_status: 0 = 0x
 2013-09-28 02:14:17 [2578] [11] DEBUG:   sequence_number: 2377 = 0x0949
 2013-09-28 02:14:17 [2578] [11] DEBUG:   service_type: NULL
 2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr_ton: 5 = 0x0005
 2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr_npi: 0 = 0x
 2013-09-28 02:14:17 [2578] [11] DEBUG:   source_addr: OPAUTO
 2013-09-28 02:14:17 [2578

Re: Opensmppbox issue: NACK/No SMSC

2013-09-28 Thread Saurabh Pandey
Hi,

thanks for the reply. But I want different smsc routing for different smpp
clients. If i add route-to-smsc, wouldn't that direct all traffic to a
single smsc?



On Sat, Sep 28, 2013 at 1:50 PM, Minh Tuan handsam...@gmail.com wrote:

 You should add into your Opensmppbox.conf on Kannel server:
 route-to-smsc = Promotional

 Try to submit another message and paste the bearerbox-asscess.log of
 Kannel server here for more information. Thank you.

 Brs,
 Tuan.


 --

 Message: 2
 Date: Sat, 28 Sep 2013 12:49:47 +0530
 From: Saurabh Pandey sam.it.develo...@gmail.com
 To: users@kannel.org
 Subject: Opensmppbox issue: NACK/No SMSC
 Message-ID:
 
 cahipy2xp1-upxqd_0bt-y4efsv3xqqu2hvg9ro7-lu6qzav...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi,

 I am submitting SMS from Kannel based SMPP client to a different server
 having kannel based setup+opensmppbox+sqlbox stack. The SMS is always
 getting REJECTED. The issuea are:

 1.) Opemsmppbox is taking system-id (username in smpplogins.txt) as SMSC
 and then rejecting it
 2.) SQLBOX shows no activity except an error: sql_id cannot be null

 I have this setup

 SMSC--- BB --- SQLBOX  Opensmppbox --- SMPP client

 // HERE ARE THE CONFIG FILES-//


 //Kannel.conf

 group=core
 admin-port = 14000
 smsbox-port = 13001
 admin-password = sam
 status-password =
 log-file = /var/log/kannel/kannel.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 access-log = /var/log/kannel/access.log
 store-file = kannel.store
 dlr-storage = mysql

 #-
 # SMSC CONNECTIONS

 group=smsc
 smsc = smpp
 smsc-id = Promotional
 host = xxx.xx.xxx.xxx
 port = 
 smsc-username = x
 smsc-password = x
 system-type = VMA
 source-addr-ton = 0
 source-addr-npi = 0
 dest-addr-ton = 0
 dest-addr-npi = 0
 allowed-smsc-id = Promotional
 transceiver-mode = true
 receive-port = 



 #-
 # SMSBOX SETUP

 group=smsbox
 smsbox-id = main-box
 bearerbox-host = 127.0.0.1
 sendsms-port = 14014
 global-sender = 14014
 log-file = /tmp/smsbox.log
 access-log = /tmp/access.log


 group=smsbox-route
 smsbox-id = smppclient
 smsc-id = Promotional

 #-
 # SEND-SMS USERS

 group=sendsms-user
 username = sam
 password = sam
 max-messages = 5
 concatenation = true


 #-
 # SERVICES

 group=sms-service
 keyword = nop
 text = You asked nothing and I did it!

 group=sms-service
 keyword = default
 get-url = 
 http://domain.com/index.php?senderid=%Pphone=%preply=%asmscid=%i;
 max-messages = 0

 group = mysql-connection
 id = mydlr
 host = localhost
 username = _sam
 password = 
 database = _xxx
 max-connections = 5

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



 // Opensmppbox.conf

 group = core
 dlr-storage = mysql

 group = opensmppbox
 opensmppbox-id = nvsmpp
 opensmppbox-port = 2345
 bearerbox-host = localhost
 bearerbox-port = 13014
 use-systemid-as-smsboxid = true
 log-file = /var/log/smpp/smppbox.log
 our-system-id = VSMSC
 smpp-logins = smpplogins.txt

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

 #DLR Table Structure
 group = dlr-db
 id = mydlr
 table = sc_smpp_dlr
 field-smsc = smsc
 field-timestamp = timestamp
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc_id




 // SQLbox.conf

 group = sqlbox
 id = sqlbox-db
 smsbox-id = sqlbox
 bearerbox-host = localhost
 bearerbox-port = 13001
 smsbox-port = 13014
 smsbox-port-ssl = false
 sql-log-table = sc_sqlbox_log
 sql-insert-table = sc_smpp_incoming
 log-file = /var/log/nvsmpp/test_smpp/sqlbox.log
 log-level = 0

 group = mysql-connection
 id = sqlbox-db
 host = localhost
 username = x_xxx
 password = xxx
 database = _
 # you can increase this upon a higher load
 max-connections = 5

 // SMPPlogins.txt file

 smppclient goodsmpp testsmpp *.*.*.*




 Now I've done everything as directed but still, its not working. Here is
 what I got from SMPPBOXLOG file

 //---SMPP PDU DUMP-

 2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP[smppclient]: Got PDU:
 2013-09-28 02:14:17 [2578] [11] DEBUG: SMPP PDU 0x7f9874001380 dump:
 2013-09-28 02:14:17 [2578] [11] DEBUG:   type_name: submit_sm
 2013-09-28 02:14:17 [2578] [11] DEBUG:   command_id: 4 = 0x0004
 2013-09-28 02:14:17 [2578] [11] DEBUG:   command_status: 0 = 0x
 2013-09-28 02:14:17 [2578] [11] DEBUG:   sequence_number: 2377 =
 0x0949
 2013-09-28 02:14:17 [2578] [11] DEBUG

opensmppbox issue

2012-04-04 Thread Ravindra Gupta // Viva
Hii,


I have configured opensmppbox in kannel 1.5.0.

I have faced issue in *Waiting for SMPP connections on port 2346. *

opensmppbox logs as given below.

[root@SqlBOX opensmppbox]# opensmppbox -v 0 opensmppbox.conf
2012-04-05 01:10:48 [4069] [0] ERROR: Error while gw_gethostbyname occurs.
2012-04-05 01:10:48 [4069] [0] ERROR: System error 1: Operation not
permitted
2012-04-05 01:10:48 [4069] [0] ERROR: Can't find out official hostname for
this host, using `SqlBOX' instead.
2012-04-05 01:10:48 [4069] [0] INFO: Debug_lvl = 0, log_file = none,
log_lvl = 0
2012-04-05 01:10:48 [4069] [0] DEBUG: Kannel opensmppbox version svn-r
gwlib version `1.5.0'.
Build `Mar  6 2012 21:43:19', compiler `4.1.2 20080704 (Red Hat 4.1.2-51)'.
System Linux, release 2.6.18-274.el5, version #1 SMP Fri Jul 22 04:43:29
EDT 2011, machine x86_64.
Hostname SqlBOX, IP 127.0.0.1.
Libxml version 2.6.26.
Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008.
Compiled with MySQL 5.0.95, using MySQL 5.0.95.
Using native malloc.

2012-04-05 01:10:48 [4069] [0] INFO: MYSQL: Connected to server at
localhost.
2012-04-05 01:10:48 [4069] [0] INFO: MYSQL: server version 5.0.95, client
version 5.0.95.
2012-04-05 01:10:48 [4069] [0] INFO: DLR using storage type: mysql
2012-04-05 01:10:48 [4069] [0] INFO: Starting to log to file
/var/log/kannel/opensmppbox.log level 0
2012-04-05 01:10:48 [4069] [0] INFO: Added logfile
`/var/log/kannel/opensmppbox.log' with level `0'.
2012-04-05 01:10:48 [4069] [0] INFO:* Waiting for SMPP connections on port
2346.*



opensmppbox.conf

group = core
#dlr-storage = internal
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
#opensmppbox-port = 13001
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
log-level = 0
log-file = /var/log/kannel/opensmppbox.log
our-system-id = viva
#route-to-smsc = my-default-smsc
route-to-smsc = SMPP-Testing1
# see sample smpplogins.txt
smpp-logins = /root/gateway-1.5.0/addons/opensmppbox/smpplogins.txt

# the following is just standard dlr configuration

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

# you can increase this upon a higher load
#max-connections = 1

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 = boxcid


opensmppbox issue:

2012-04-04 Thread Ravindra Gupta // Viva
Hello everyone,

I have installed opensmppbox on a centOS server and have configured it with
a client, but the client is not able to connect. When the client tries to
connect it gives  SMSC rejected login to transmit, code 0x000d (Bind
Failed). Couldn't connect to SMS center (retrying in 10 seconds).


On the server side, it gives this error, Invalid SMPP PDU received.



Server Bearerbox log



2011-01-15 13:07:37 [26155] [5] INFO: Client connected from 127.0.0.1
2011-01-15 13:07:37 [26155] [5] DEBUG: Started thread 45
(gw/bb_boxc.c:function)
2011-01-15 13:07:37 [26155] [45] DEBUG: Thread 45 (gw/bb_boxc.c:function)
maps to pid 26155.
2011-01-15 13:07:37 [26155] [45] DEBUG: Started thread 46
(gw/bb_boxc.c:boxc_sender)
2011-01-15 13:07:37 [26155] [46] DEBUG: Thread 46 (gw/bb_boxc.c:boxc_sender)
maps to pid 26155.
2011-01-15 13:07:40 [26155] [45] INFO: Connection closed by the box
127.0.0.1
2011-01-15 13:07:40 [26155] [46] DEBUG: send_msg: sending msg to box:
127.0.0.1
2011-01-15 13:07:40 [26155] [46] DEBUG: Thread 46 (gw/bb_boxc.c:boxc_sender)
terminates.
2011-01-15 13:07:40 [26155] [45] DEBUG: Thread 45 (gw/bb_boxc.c:function)
terminates.
2011-01-15 13:07:48 [26155] [5] INFO: Client connected from 127.0.0.1
2011-01-15 13:07:48 [26155] [5] DEBUG: Started thread 47
(gw/bb_boxc.c:function)
2011-01-15 13:07:48 [26155] [47] DEBUG: Thread 47 (gw/bb_boxc.c:function)
maps to pid 26155.
2011-01-15 13:07:48 [26155] [47] DEBUG: Started thread 48
(gw/bb_boxc.c:boxc_sender)
2011-01-15 13:07:48 [26155] [48] DEBUG: Thread 48 (gw/bb_boxc.c:boxc_sender)
maps to pid 26155.
2011-01-15 13:07:51 [26155] [47] INFO: Connection closed by the box
127.0.0.1
2011-01-15 13:07:51 [26155] [48] DEBUG: send_msg: sending msg to box:
127.0.0.1
2011-01-15 13:07:51 [26155] [48] DEBUG: Thread 48 (gw/bb_boxc.c:boxc_sender)
terminates.
2011-01-15 13:07:51 [26155] [47] DEBUG: Thread 47 (gw/bb_boxc.c:function)
terminates.
2011-01-15 13:07:59 [26155] [5] INFO: Client connected from 127.0.0.1
2011-01-15 13:07:59 [26155] [5] DEBUG: Started thread 49
(gw/bb_boxc.c:function)
2011-01-15 13:07:59 [26155] [49] DEBUG: Thread 49 (gw/bb_boxc.c:function)
maps to pid 26155.
2011-01-15 13:07:59 [26155] [49] DEBUG: Started thread 50
(gw/bb_boxc.c:boxc_sender)
2011-01-15 13:07:59 [26155] [50] DEBUG: Thread 50 (gw/bb_boxc.c:boxc_sender)
maps to pid 26155.
2011-01-15 13:08:02 [26155] [49] INFO: Connection closed by the box
127.0.0.1
2011-01-15 13:08:02 [26155] [50] DEBUG: send_msg: sending msg to box:
127.0.0.1
2011-01-15 13:08:02 [26155] [50] DEBUG: Thread 50 (gw/bb_boxc.c:boxc_sender)
terminates.
2011-01-15 13:08:02 [26155] [49] DEBUG: Thread 49 (gw/bb_boxc.c:function)
terminates.




Server Opensmppbox log
2011-01-15 13:06:40 [28249] [25] INFO: Client connected from 40.100.0.000
2011-01-15 13:06:40 [28249] [25] DEBUG: Connecting to 127.0.0.1
2011-01-15 13:06:40 [28249] [25] INFO: Connected to bearerbox at localhost
port 13001.
2011-01-15 13:06:40 [28249] [25] DEBUG: Started thread 26
(opensmppbox.c:smpp_to_bearerbox)
2011-01-15 13:06:40 [28249] [26] DEBUG: Thread 26
(opensmppbox.c:smpp_to_bearerbox) maps to pid 28249.
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP[opensmppbox]: Got PDU:
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU 0x4ea0170 dump:
2011-01-15 13:06:41 [28249] [26] DEBUG:   type_name: bind_transceiver
2011-01-15 13:06:41 [28249] [26] DEBUG:   command_id: 9 = 0x0009
2011-01-15 13:06:41 [28249] [26] DEBUG:   command_status: 0 = 0x
2011-01-15 13:06:41 [28249] [26] DEBUG:   sequence_number: 13 = 0x000d
2011-01-15 13:06:41 [28249] [26] DEBUG:   system_id: 12345
2011-01-15 13:06:41 [28249] [26] DEBUG:   password: 12345
2011-01-15 13:06:41 [28249] [26] DEBUG:   system_type: vma
2011-01-15 13:06:41 [28249] [26] DEBUG:   interface_version: 52 = 0x0034
2011-01-15 13:06:41 [28249] [26] DEBUG:   addr_ton: 0 = 0x
2011-01-15 13:06:41 [28249] [26] DEBUG:   addr_npi: 1 = 0x0001
2011-01-15 13:06:41 [28249] [26] DEBUG:   address_range: NULL
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU dump ends.
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP[opensmppbox]: Sending PDU:
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU 0x4ea38a0 dump:
2011-01-15 13:06:41 [28249] [26] DEBUG:   type_name: bind_transceiver_resp
2011-01-15 13:06:41 [28249] [26] DEBUG:   command_id: 2147483657
skype:2147483657 =
0x8009
2011-01-15 13:06:41 [28249] [26] DEBUG:   command_status: 13 = 0x000d
2011-01-15 13:06:41 [28249] [26] DEBUG:   sequence_number: 13 = 0x000d
2011-01-15 13:06:41 [28249] [26] DEBUG:   system_id: NULL
2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU dump ends.
2011-01-15 13:06:42 [28249] [26] ERROR: Invalid SMPP PDU received.
2011-01-15 13:06:42 [28249] [26] DEBUG: Thread 26
(opensmppbox.c:smpp_to_bearerbox) terminates.
2011-01-15 13:06:43 [28249] [25] DEBUG: Thread 25 (opensmppbox.c:function)
terminates.


Client bearerbox log
2011-01-14 14:19:13 [20507] [6] DEBUG: SMPP[ukserver]: Sending PDU:
2011-01-14 14:19:13 [20507]