Send DLR request automatically without ESME intervention OpenSMPP +Kannel

2016-04-12 Thread Gorki Alfaro
Hello

I would like to know if is posible to Send DLR requests automatically
without ESME intervention , so far if a ESME user send a DLR request I
cannot see it or keep it when is answered by the SMSC(the ESME received it
perfectly) ; additionally some of my ESME customer don't use the DLR
feature so the DLR status cannot be retreived and I want to know the status
even if the SMS was sent by ESME.

Thanks in advance
Gorki


Re: Force DLR Request in OpenSMPP Kannel

2016-04-14 Thread Gorki Alfaro
Hello Friends

I have installed SQLBox between BearerBox and OpenSMPPBox, I will try
changing  the DRL-Mask to 7.
But how it works? How setting this value to 7 will force DRL Request to be
called?

Thanks for your answer,

Gorki

On Thu, Apr 14, 2016 at 2:47 AM, Vangelis Typaldos <vty...@outlook.com>
wrote:

>
>
> A solution could be to use a sqlbox between opensmppbox and bearerbox and
> set a default value for column dlr-mask  in your sendsms table
>
>
>
> ALTER TABLE sendsms ALTER COLUMN dlr-mask SET DEFAULT 7;
>
>
>
> BR
>
>
>
> *From: *Rene Kluwen <rene.klu...@chimit.nl>
> *Sent: *Thursday, April 14, 2016 10:11 AM
> *To: *'Gorki Alfaro' <gork...@gmail.com>; users@kannel.org
> *Subject: *RE: Force DLR Request in OpenSMPP Kannel
>
>
>
> I don’t think this is possible without changing the source code.
>
>
>
> *Van:* users [mailto:users-boun...@kannel.org] *Namens *Gorki Alfaro
> *Verzonden:* woensdag 13 april 2016 21:58
> *Aan:* users@kannel.org
> *Onderwerp:* Force DLR Request in OpenSMPP Kannel
>
>
>
> Hello friends
>
> Is there any way to enable a DLR request on OpenSMPP client even if this
> is not requested by the SMPP client (ESME)?
>
>
>
> I would like to keep record of the delivery success rate for billing and
> statistics purporses.
>
>
>
> Regards,
>
> Gorki
>


Re: Force DLR Request in OpenSMPP Kannel

2016-04-15 Thread Gorki Alfaro
Vangelis 

Thanks for your answer, yesterday I tried to do this setting a default valué on 
the dlrmask  field (send_sms table), additionally using the kannel.conf I tried 
using dlr-mask and  dlr-url under  send-sms group. Both options Didn't work at 
all.
So, Do I have to set dlr-url and dlr-mask in the sqlbox config file? 

Thanks in advance,
Gorki


Enviado desde mi iPhone

> El 15 abr 2016, a las 13:12, Vangelis Typaldos <vty...@outlook.com> escribió:
> 
> Dear Gorki,
>  
> Please refer to the kannel documentation.
>  
> Like with sendsms API, sqlbox will request for a delivery report to the smsc 
> if you setup dlr-mask (with any valid value, not only 7) and define a dlr-url 
> .
>  
> As per Rene comment I think this won’t be returned to the ESME client that is 
> connected on opensmppbox , but the intermediation of sqlbox alter the 
> original registered_delivery value of the submit_sm packet PDU requesting a 
> delivery receipt from smsc.
>  
> The mentioned sql statement just set a default value for dlr-mask column(maps 
> to registered_delivery value) in sendsms table.
>  
> BR
> Vangelis
>  
> From: Gorki Alfaro
> Sent: Thursday, April 14, 2016 11:06 PM
> To: Vangelis Typaldos
> Cc: Rene Kluwen; users@kannel.org
> Subject: Re: Force DLR Request in OpenSMPP Kannel
>  
> Hello Friends
> 
> I have installed SQLBox between BearerBox and OpenSMPPBox, I will try 
> changing  the DRL-Mask to 7.
> But how it works? How setting this value to 7 will force DRL Request to be 
> called?
> 
> Thanks for your answer,
> 
> Gorki
> 
> On Thu, Apr 14, 2016 at 2:47 AM, Vangelis Typaldos <vty...@outlook.com> wrote:
>  
> 
> A solution could be to use a sqlbox between opensmppbox and bearerbox and set 
> a default value for column dlr-mask  in your sendsms table
> 
>  
> 
> ALTER TABLE sendsms ALTER COLUMN dlr-mask SET DEFAULT 7;
> 
>  
> 
> BR
> 
>  
> 
> From: Rene Kluwen
> Sent: Thursday, April 14, 2016 10:11 AM
> To: 'Gorki Alfaro'; users@kannel.org
> Subject: RE: Force DLR Request in OpenSMPP Kannel
> 
>  
> 
> I don’t think this is possible without changing the source code.
> 
>  
> 
> Van: users [mailto:users-boun...@kannel.org] Namens Gorki Alfaro
> Verzonden: woensdag 13 april 2016 21:58
> Aan: users@kannel.org
> Onderwerp: Force DLR Request in OpenSMPP Kannel
> 
>  
> 
> Hello friends 
> 
> Is there any way to enable a DLR request on OpenSMPP client even if this is 
> not requested by the SMPP client (ESME)?
> 
>  
> 
> I would like to keep record of the delivery success rate for billing and 
> statistics purporses.
> 
>  
> 
> Regards,
> 
> Gorki
> 
> 


Force DLR Request in OpenSMPP Kannel

2016-04-13 Thread Gorki Alfaro
Hello friends
Is there any way to enable a DLR request on OpenSMPP client even if this is
not requested by the SMPP client (ESME)?

I would like to keep record of the delivery success rate for billing and
statistics purporses.

Regards,
Gorki


Opensmpp shuts down after panic twice a day

2017-02-03 Thread Gorki Alfaro
Hello my friends/Chris


Does anyone solve this situation? I am running `svn-r5141' and the
same happens, crash after sending long messages.


Thanks in advance

Gorki


-



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


Re: Re[2]: Opensmpp shuts down after panic twice a day

2017-02-05 Thread Gorki Alfaro
Hi Rene

This is the output

root@x:~# addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03
0x413f3e 0x44e7d9
??:0
??:0
??:0


Looks like there is nothing @ those addresses . I am running the Kannel
bearerbox version `svn-r5141  but I wonder which is the best approach to
upgrade to the latest svn
Thanks in advance

Gorki

On Sun, Feb 5, 2017 at 5:27 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote:

> Also in case this happens after receiving a multi-part sms message, please
> check-out latest svn version.
>
> == Rene
>
> -- Origineel bericht --
> Van: "Rene Kluwen" <rene.klu...@chimit.nl>
> Aan: "Gorki Alfaro" <gork...@gmail.com>; users@kannel.org;
> chriskamutu...@gmail.com
> Verzonden: 5-2-2017 10:56:52
> Onderwerp: Re: Opensmpp shuts down after panic twice a day
>
> Could you pass us the output, on your machine from:
>
> addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03 0x413f3e 0x44e7d9
>
> == Rene
>
> -- Origineel bericht --
> Van: "Gorki Alfaro" <gork...@gmail.com>
> Aan: users@kannel.org; chriskamutu...@gmail.com
> Verzonden: 3-2-2017 21:56:38
> Onderwerp: Opensmpp shuts down after panic twice a day
>
> Hello my friends/Chris
>
>
> Does anyone solve this situation? I am running `svn-r5141' and the same 
> happens, crash after sending long messages.
>
>
> Thanks in advance
>
> Gorki
>
>
> -
>
>
>
> 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
>
>


Re: Re[2]: Opensmpp shuts down after panic twice a day

2017-02-05 Thread Gorki Alfaro
opensmppbox(octstr_destroy+0x24) [0x80ae374]
2017-01-31 17:43:52 [1914] [12] PANIC:
/usr/local/kannel/sbin/opensmppbox(msg_destroy+0x34)
[0x805e394]
2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/
opensmppbox(gwlist_destroy+0x38) [0x80ab128]
2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox()
[0x8057df6]
2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox()
[0x80a20ff]
2017-01-31 17:43:52 [1914] [12] PANIC:
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0(+0x5c39)
[0xb705bc39]
2017-01-31 17:43:52 [1914] [12] PANIC:
/lib/i386-linux-gnu/i686/cmov/libc.so.6(clone+0x5e)
[0xb6f7bc6e]
2017-01-31 17:43:56 [1942] [22] DEBUG: SMPP[tdxid2]: Got PDU:
2017-01-31 17:43:56 [1942] [22] DEBUG: SMPP PDU 0x91f78c8 dump:
2017-01-31 17:43:56 [1942] [22] DEBUG:   type_name: enquire_link
2017-01-31 17:43:56 [1942] [22] DEBUG:   command_id: 21 = 0x0015
2017-01-31 17:43:56 [1942] [22] DEBUG:   command_status: 0 = 0x
2017-01-31 17:43:56 [1942] [22] DEBUG:   sequence_number: 4560 = 0x11d0

On Sun, Feb 5, 2017 at 6:39 PM, Gorki Alfaro <gork...@gmail.com> wrote:

> Hi Rene
>
> This is the output
>
> root@x:~# addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03
> 0x413f3e 0x44e7d9
> ??:0
> ??:0
> ??:0
>
>
> Looks like there is nothing @ those addresses . I am running the Kannel
> bearerbox version `svn-r5141  but I wonder which is the best approach to
> upgrade to the latest svn
> Thanks in advance
>
> Gorki
>
> On Sun, Feb 5, 2017 at 5:27 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote:
>
>> Also in case this happens after receiving a multi-part sms message,
>> please check-out latest svn version.
>>
>> == Rene
>>
>> -- Origineel bericht --
>> Van: "Rene Kluwen" <rene.klu...@chimit.nl>
>> Aan: "Gorki Alfaro" <gork...@gmail.com>; users@kannel.org;
>> chriskamutu...@gmail.com
>> Verzonden: 5-2-2017 10:56:52
>> Onderwerp: Re: Opensmpp shuts down after panic twice a day
>>
>> Could you pass us the output, on your machine from:
>>
>> addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03 0x413f3e 0x44
>> e7d9
>>
>> == Rene
>>
>> -- Origineel bericht --
>> Van: "Gorki Alfaro" <gork...@gmail.com>
>> Aan: users@kannel.org; chriskamutu...@gmail.com
>> Verzonden: 3-2-2017 21:56:38
>> Onderwerp: Opensmpp shuts down after panic twice a day
>>
>> Hello my friends/Chris
>>
>>
>> Does anyone solve this situation? I am running `svn-r5141' and the same 
>> happens, crash after sending long messages.
>>
>>
>> Thanks in advance
>>
>> Gorki
>>
>>
>> -
>>
>>
>>
>> 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
>>
>>
>


ALLOW MULTIPLE CONNECTIONS TO OPENSMPP from the same account

2017-03-24 Thread Gorki Alfaro
Hello

I have a question about opensmpp...Is there any way to allow multiple
connections to opemsmpp from an ESME( only one time listed in smpplogins) ?
By now If I try to do this I received the the message "opensmppbox[] :
Multiple login: Disconnect"

Thanks in advance for your cooperation.

-Gorki


Re: ALLOW MULTIPLE CONNECTIONS TO OPENSMPP

2017-03-27 Thread Gorki Alfaro
Michael

Thanks a lot, it works! Also I usted the variable use-systemid-as-smsboxid
 on opensmpp.conf to complete the configuration.

Regards,

Gorki

On Mon, Mar 27, 2017 at 5:22 AM, Mike Nwaogu <michael_nwa...@yahoo.com>
wrote:

> Yes, there is Gorki.
> You'll have to create a different system type for the same user.
>
> eg:
> username_1 password_1 system_type_1
> username_1 password_1 system_type_2
>
>
> Best Regards,
> Michael Nwaogu C
>
>
> On Sunday, March 26, 2017 5:58 AM, Gorki Alfaro <gork...@gmail.com> wrote:
>
>
> Hello
>
> I have a question about opensmpp...Is there any way to allow multiple
> connections to opemsmpp from the same user ( ESME only one time listed in
> smpplogins) ? By now If I try to do this I received the the message
> "opensmppbox[] : Multiple login: Disconnect"
>
> Thanks in advance for your cooperation.
>
> -Gorki
>
>
>
>


ALLOW MULTIPLE CONNECTIONS TO OPENSMPP

2017-03-25 Thread Gorki Alfaro
Hello

I have a question about opensmpp...Is there any way to allow multiple
connections to opemsmpp from the same user ( ESME only one time listed in
smpplogins) ? By now If I try to do this I received the the message
"opensmppbox[] : Multiple login: Disconnect"

Thanks in advance for your cooperation.

-Gorki


Re: Routing to multiple SMSCs OPENSMPP

2017-07-26 Thread Gorki Alfaro
Hi Davor, thanks for your help.

I understand that in the opensmppbox config I have to set the variable
*route-to-smsc* to a specific smsc-id and then in the kannel configuration
file set two o more  group = smsc with the same id  (here use the
variables allowed-smsc-id
and allowed-prefix)   ?
Can you provide an example?


Thanks in advance
Gorki



2017-07-26 1:35 GMT-06:00 Davor Spasoski <davor.spaso...@onevip.mk>:

> Hi,
>
>
>
> Try using the allowed-smsc-id and allowed-prefix of the SMSC group set of
> variables.
>
>
>
> *Davor Spasoski*
>
> *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Gorki
> Alfaro
> *Sent:* Wednesday, July 26, 2017 5:47 AM
> *To:* users@kannel.org
> *Subject:* Routing to multiple SMSCs OPENSMPP
>
>
>
> Hello my friends
>
>
>
> Does anyone solve this situation?  I have clients connecting to me
> through SMPP connections who needs to send messages to more than one SMSC
> however OPENSMPP configuration only allows one SMSC
> (variable route-to-smsc) .
>
> The question is: How can I redirect messages to different SMSC based on
> the destination number?
>
>
>
> Thanks in advance
>
>
>
> Gorki
>
>
>
> --
>
> Disclaimer: one.Vip DOO 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 DOO 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!
>
> Напомена: оне.Вип ДОО Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
> одговорност за несоодветно или нецелосно пренесување на информациите
> содржани во оваа комуникација, ниту пак за било какво задоцнување на
> приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Routing to multiple SMSCs OPENSMPP

2017-07-25 Thread Gorki Alfaro
Hello my friends

Does anyone solve this situation?  I have clients connecting to me through
SMPP connections who needs to send messages to more than one SMSC however
OPENSMPP configuration only allows one SMSC (variable route-to-smsc) .
The question is: How can I redirect messages to different SMSC based on the
destination number?

Thanks in advance

Gorki


Re: Routing to multiple SMSCs OPENSMPP

2017-07-28 Thread Gorki Alfaro
Davor

Thanks a lot, it was really helpful. Also I would like to share another
solution that I found, and is using to SMSC with the same name, Here you
have the config files  ---excerpt


*opensmppbox.conf*

group = core
dlr-storage = mysql
group = opensmppbox
opensmppbox-id =mysmppbox
log-level = 0
log-file = /var/log/kannel/opensmppbox.log
our-system-id = testsmpp
use-systemid-as-smsboxid = true
*route-to-smsc = smppgwgeneric*
# see sample smpplogins.txt
smpp-logins = "/etc/kannel/smpplogins.txt"



*kannel.conf*

#-
# CORE..

#-
# SMSC CONNECTIONS


#SMSC 1
group = smsc
*smsc-id = smppgwgeneric*
smsc = smpp
host =x.x.x.x
port = 5019
smsc-username = xxx
smsc-password = xx
allowed-prefix = "5019;+5019"
preferred-prefix = "5019;+5019"
allowed-smsc-id = smppgwgeneric
msg-id-type = 0x01


#SMSC 2
group = smsc
smsc-username = xxx
smsc-password = xx
*smsc-id = smppgwgeneric*
smsc = smpp
host = X.X.X.X
port = 4201

allowed-prefix = "5013;+5013;5018;+5018"
preferred-prefix = "5013;+5013;5018;+5018"
allowed-smsc-id = smppgwgeneric
msg-id-type = 0x01

Hope could be helpful for someone else.

Regards,
Gorki




2017-07-27 9:46 GMT-06:00 Davor Spasoski <davor.spaso...@onevip.mk>:

> Follow-up configuration:
>
>
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = "SMSC1"
>
> allowed-smsc-id = "SMSC1;SMSC2"
>
> allowed-receiver-prefix = prefix1,prefix3
>
>
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = "SMSC2"
>
> allowed-smsc-id = "SMSC1;SMSC2"
>
> allowed-receiver-prefix = prefix2,prefix3
>
>
>
> ………
>
>
>
> Opensmppbox
>
> group = smsc-route
>
> smsc-id = SMSC1
>
> smsbox-id = SMSC1
>
>
>
> With the above, kannel will load-share between SMSC12 and SMSC2 for
> prefix3 and will use SMSC1-only for prefix1 and SMSC2-only for prefix2. If
> you on top of this want to have a preferred SMSC for prefix3 instead of
> load sharing, just add preferred-smsc-id = SMSC1 in the SMSC1 configuration.
>
>
>
> Good luck!
>
>
>
> *Davor Spasoski*
>
>
>
> *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Davor
> Spasoski
> *Sent:* Wednesday, July 26, 2017 10:35 PM
> *To:* Gorki Alfaro <gork...@gmail.com>
> *Cc:* users@kannel.org
> *Subject:* Re: Routing to multiple SMSCs OPENSMPP
>
>
>
> The smscs do not necessarily have to have same-ids. Same smsc-ids are used
> when you want to load balance the traffic among two or more smscs.
>
> Use two id. It is important that smsc1 should allow smsc2 and vice versa.
> I can't be much verbose now, as I'm writing from my handy. I'll have access
> to a computer tomorrow afternoon. Until then, read the userguide and
> experiment.
>
>
>
> Davor
>
>
> On Jul 26, 2017, at 6:24 PM, Gorki Alfaro <gork...@gmail.com> wrote:
>
> Hi Davor, thanks for your help.
>
>
>
> I understand that in the opensmppbox config I have to set the variable*
> route-to-smsc* to a specific smsc-id and then in the kannel configuration
> file set two o more  group = smsc with the same id  (here use the variables 
> allowed-smsc-id
> and allowed-prefix)   ?
>
> Can you provide an example?
>
>
>
>
>
> Thanks in advance
>
> Gorki
>
>
>
>
>
>
>
> 2017-07-26 1:35 GMT-06:00 Davor Spasoski <davor.spaso...@onevip.mk>:
>
> Hi,
>
>
>
> Try using the allowed-smsc-id and allowed-prefix of the SMSC group set of
> variables.
>
>
>
> *Davor Spasoski*
>
> *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Gorki
> Alfaro
> *Sent:* Wednesday, July 26, 2017 5:47 AM
> *To:* users@kannel.org
> *Subject:* Routing to multiple SMSCs OPENSMPP
>
>
>
> Hello my friends
>
>
>
> Does anyone solve this situation?  I have clients connecting to me
> through SMPP connections who needs to send messages to more than one SMSC
> however OPENSMPP configuration only allows one SMSC
> (variable route-to-smsc) .
>
> The question is: How can I redirect messages to different SMSC based on
> the destination number?
>
>
>
> Thanks in advance
>
>
>
> Gorki
>
>
>
>
> --
>
>
> Disclaimer: one.Vip DOO 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 

PANIC SQLBOX `bearerbox-port' in non-existing group

2017-09-19 Thread Gorki Alfaro
Hello my friends

I have kannel + addons SQLBOX /OPENSMPP . Today I upgraded every module
from the latest SVN  (svn-r5188)
I ran
/usr/local/kannel/sbin/bearerbox -v 0 /etc/kannel/kannel.conf
/usr/local/kannel/sbin/smsbox -v 0 /etc/kannel/kannel.conf

and runs perfect but after trying to start SQLBOX(
/usr/local/kannel/sbin/sqlbox -v 0 /etc/kannel/kannel.conf )

I got the following error:

 PANIC: Trying to fetch variable `bearerbox-port' in non-existing group

The configuration remains the same that I used i the  `svn-r5141'.

I googled it but I couldn't find a solution, please I will aprreciate any
help.

Thanks in advance
GOrki


Re: Delivery report STATUS

2017-09-08 Thread Gorki Alfaro
Hi Chirstopher

You have to make sure that every time you send a SMS in the same URL you
request the DLR,
You have to do something like this

http://x.x.x.x:13013/cgi-bin/sendsms?username=x=yy;
smsc=someSMSC=X=+X=TEST=31
-url=http://myserver:1/mydlr.php?dlr=%d=%A;
to=%p=%T=99

Regards,
Gorki


On Mon, Aug 28, 2017 at 2:01 PM, christopher kamutumwa <
chriskamutu...@gmail.com> wrote:

> 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*
>
>


Re: PANIC SQLBOX `bearerbox-port' in non-existing group

2017-09-26 Thread Gorki Alfaro
Rene

Thanks for your answer, I had to perform a clean installation in order to fix 
this. I appreciate your help.
Regards
Gorki

PS good news about the new sqlbox

Enviado desde mi iPhone

> El 24 sep. 2017, a las 12:09, Rene Kluwen <rene.klu...@chimit.nl> escribió:
> 
> What is your config?
> Did you try to do a make clean first and then rebuild?
> 
> Talking about sqlbox... some time in the near future, there will be an update 
> that is supposed to increase performance a lot - especially for those with a 
> database server other than localhost.
> 
> == Rene
> 
> ------ Origineel bericht --
> Van: "Gorki Alfaro" <gork...@gmail.com>
> Aan: "users" <users@kannel.org>
> CC: "Giancarlo Torres" <rainier...@gmail.com>
> Verzonden: 19-9-2017 9:13:53
> Onderwerp: PANIC SQLBOX `bearerbox-port' in non-existing group
> 
>> Hello my friends
>> 
>> I have kannel + addons SQLBOX /OPENSMPP . Today I upgraded every module from 
>> the latest SVN  (svn-r5188)
>> I ran
>> /usr/local/kannel/sbin/bearerbox -v 0 /etc/kannel/kannel.conf
>> /usr/local/kannel/sbin/smsbox -v 0 /etc/kannel/kannel.conf
>> 
>> and runs perfect but after trying to start SQLBOX( 
>> /usr/local/kannel/sbin/sqlbox -v 0 /etc/kannel/kannel.conf )
>> 
>> I got the following error:
>> 
>>  PANIC: Trying to fetch variable `bearerbox-port' in non-existing group 
>> 
>> The configuration remains the same that I used i the  `svn-r5141'.
>> 
>> I googled it but I couldn't find a solution, please I will aprreciate any 
>> help.
>> 
>> Thanks in advance
>> GOrki
>> 
>> 


Re: DLR but could not find message or was not interested Issue

2020-05-11 Thread Gorki Alfaro
Hello
Try to changing your msg-id-type = 0x01
Regards
Gorki

On Mon, May 11, 2020 at 9:12 PM Wan Md Arif Noor Bin. Wan Nizam <
md.a...@forest-interactive.com> wrote:

> Hello Guys,
>
>
>
> I’ve been struggling to find what is the issue with the DLR which
> regularly getting error “DLR but could not find message or was not
> interested”. From the debug logs it looks just fine but from the access
> logs it becomes like those normal MO instead of DN.
>
>
>
> 38029:2020-05-12 05:07:42 [1640] [9] DEBUG: SMPP[6SeriesSHT]: Got PDU:
>
> 38030:2020-05-12 05:07:42 [1640] [9] DEBUG: SMPP PDU 0x7f087c014d70 dump:
>
> 38031:2020-05-12 05:07:42 [1640] [9] DEBUG:   type_name: deliver_sm
>
> 38032:2020-05-12 05:07:42 [1640] [9] DEBUG:   command_id: 5 = 0x0005
>
> 38033:2020-05-12 05:07:42 [1640] [9] DEBUG:   command_status: 0 =
> 0x
>
> 38034:2020-05-12 05:07:42 [1640] [9] DEBUG:   sequence_number: 253886944 =
> 0x0f2201e0
>
> 38035:2020-05-12 05:07:42 [1640] [9] DEBUG:   service_type: NULL
>
> 38036:2020-05-12 05:07:42 [1640] [9] DEBUG:   source_addr_ton: 1 =
> 0x0001
>
> 38037:2020-05-12 05:07:42 [1640] [9] DEBUG:   source_addr_npi: 1 =
> 0x0001
>
> 38038:2020-05-12 05:07:42 [1640] [9] DEBUG:   source_addr: "601"
>
> 38039:2020-05-12 05:07:42 [1640] [9] DEBUG:   dest_addr_ton: 0 = 0x
>
> 38040:2020-05-12 05:07:42 [1640] [9] DEBUG:   dest_addr_npi: 1 = 0x0001
>
> 38041:2020-05-12 05:07:42 [1640] [9] DEBUG:   destination_addr: "63660"
>
> 38042:2020-05-12 05:07:42 [1640] [9] DEBUG:   esm_class: 4 = 0x0004
>
> 38043:2020-05-12 05:07:42 [1640] [9] DEBUG:   protocol_id: 0 = 0x
>
> 38044:2020-05-12 05:07:42 [1640] [9] DEBUG:   priority_flag: 0 = 0x
>
> 38045:2020-05-12 05:07:42 [1640] [9] DEBUG:   schedule_delivery_time: NULL
>
> 38046:2020-05-12 05:07:42 [1640] [9] DEBUG:   validity_period: NULL
>
> 38047:2020-05-12 05:07:42 [1640] [9] DEBUG:   registered_delivery: 0 =
> 0x
>
> 38048:2020-05-12 05:07:42 [1640] [9] DEBUG:   replace_if_present_flag: 0 =
> 0x
>
> 38049:2020-05-12 05:07:42 [1640] [9] DEBUG:   data_coding: 0 = 0x
>
> 38050:2020-05-12 05:07:42 [1640] [9] DEBUG:   sm_default_msg_id: 0 =
> 0x
>
> 38051:2020-05-12 05:07:42 [1640] [9] DEBUG:   sm_length: 122 = 0x007a
>
> 38052:2020-05-12 05:07:42 [1640] [9] DEBUG:   short_message:
>
> 38053:2020-05-12 05:07:42 [1640] [9] DEBUG:Octet string at
> 0x7f087c014330:
>
> 38054:2020-05-12 05:07:42 [1640] [9] DEBUG:  len:  122
>
> 38055:2020-05-12 05:07:42 [1640] [9] DEBUG:  size: 123
>
> 38056:2020-05-12 05:07:42 [1640] [9] DEBUG:  immutable: 0
>
> 38057:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 69 64 3a 30 34 31
> 36 32 39 33 38 30 38 20 73 75   id:0416293808 su
>
> 38058:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 62 3a 30 30 30 20
> 64 6c 76 72 64 3a 30 30 30 20   b:000 dlvrd:000
>
> 38059:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 73 75 62 6d 69 74
> 20 64 61 74 65 3a 32 30 30 35   submit date:2005
>
> 38060:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 31 32 30 35 30 37
> 20 64 6f 6e 65 20 64 61 74 65   120507 done date
>
> 38061:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 3a 32 30 30 35 31
> 32 30 35 30 37 20 73 74 61 74   :2005120507 stat
>
> 38062:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 3a 55 4e 44 45 4c
> 49 56 20 65 72 72 3a 32 34 35   :UNDELIV err:245
>
> 38063:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 20 74 65 78 74 3a
> 52 4d 30 2e 30 30 20 3a 20 59text:RM0.00 : Y
>
> 38064:2020-05-12 05:07:42 [1640] [9] DEBUG:  data: 6f 75 72 20 53 68
> 6f 70 65 65 our Shopee
>
> 38065:2020-05-12 05:07:42 [1640] [9] DEBUG:Octet string dump ends.
>
> 38066:2020-05-12 05:07:42 [1640] [9] DEBUG:   message_state: 5 = 0x0005
>
> 38067:2020-05-12 05:07:42 [1640] [9] DEBUG:   receipted_message_id: "
> 18D023B0"
>
> 38068:2020-05-12 05:07:42 [1640] [9] DEBUG: SMPP PDU dump ends.
>
> 38069:2020-05-12 05:07:42 [1640] [9] DEBUG: SMPP[6SeriesSHT] handle_pdu,
> got DLR
>
> 38070:2020-05-12 05:07:42 [1640] [9] DEBUG: DLR[mysql]: Looking for DLR
> smsc=6SeriesSHT, ts=18D023B0, dst=601, type=2
>
> 38071:2020-05-12 05:07:42 [1640] [9] DEBUG: sql: SELECT `mask`, `service`,
> `url`, `source`, `destination`, `boxcid` FROM `smpp_dlr` WHERE `smsc`=? AND
> `ts`=?  LIMIT 1
>
> 38072:2020-05-12 05:07:42 [1640] [9] DEBUG: column=mask buffer_type=3
> max_length=0 length=10
>
> 38073:2020-05-12 05:07:42 [1640] [9] DEBUG: column=service buffer_type=253
> max_length=0 length=40
>
> 38074:2020-05-12 05:07:42 [1640] [9] DEBUG: column=url buffer_type=253
> max_length=0 length=255
>
> 38075:2020-05-12 05:07:42 [1640] [9] DEBUG: column=source buffer_type=253
> max_length=0 length=40
>
> 38076:2020-05-12 05:07:42 [1640] [9] DEBUG: column=destination
> buffer_type=253 max_length=0 length=40
>
> 38077:2020-05-12 05:07:42 [1640] [9] DEBUG: column=boxcid buffer_type=253
> max_length=0 length=40
>
> 38078:2020-05-12 

Re: [RIP] Remembering René Kluwen

2021-06-11 Thread Gorki Alfaro
Rest in Peace, many of us will be grateful with him . Great contribution.


On Fri, Jun 11, 2021 at 7:03 AM Stipe Tolj  wrote:

> Dear all,
>
> With deep regret and sorrow we let you know that René Kluwen, one of
> Kannel core developers has passed away this week. René has been a
> wonderful character and person, a father and a long year active
> supporter of the Kannel project. His work contributed to the main
> gateway module, the sqlbox and opensmppbox sub-modules, along with most
> valued discussions in our mailing list groups. Some of us have been
> friends with René and we’re heavily shaken by the news.
>
> We will miss him, and we would like to express our sincerely condolences
> to his family.
>
> Like in the hearts and minds of his family, his persona will keep on
> living in his work he contributed with passion to our project. Honoring
> his contributions is our privilege and determination.
>
> Rest in peace René Kluwen (* 10-05-1970, ✝ 06-06-2021)
>
> https://kannel.org/images/rouwkaart_rene.png
>
>
> --
> 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
> ---
>
>