Re: SSL handshake failure on smsbox service call to various https URLs

2024-05-20 Thread Alex Kinch
Hi Mesbah

Thanks for the reply. I'm not sure what ssl rule I should be looking at in
Kannel? It works fine when I make a request to an AWS Lambda URL and other
websites but not Cloudflare with a LetsEncrypt certificate.

Kind regards
Alex

On Sat, 18 May 2024 at 12:15, Mesbahuddin Malik 
wrote:

> check kannel ssl rule.
>
> regards
> Mesbah
>
> On Fri, May 17, 2024 at 9:33 PM Alex Kinch  wrote:
>
>> Hi all,
>>
>> I'm having odd problems when making an https request in an smsbox service
>> (on latest compiled release from SVN and also Debian packages), I get back:
>>
>> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 1:
>> error:0001:lib(0)::reason(1)
>> 2024-05-17 15:14:25 [24] [9] ERROR: SSL error:0A000410:SSL
>> routines::sslv3 alert handshake failure
>> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 6:
>> error:0006:lib(0)::reason(6)
>>
>> It seems to be affecting only certain sites, i.e. ones I have behind
>> Cloudflare with an individual LetsEncrypt certificate (not a wildcard - but
>> wildcard LetsEncrypt sites break too).
>>
>> I ran openssl s_client -connect and everything appears to be in order.
>> When I set up sms-service keywords to fetch Google, or the BBC News
>> website, everything works.
>>
>> Does anyone have any ideas what might be causing this? Running kannel in
>> a docker container with debian:bookworm-slim as the base image.
>>
>> Thanks
>> Alex
>>
>>
>>
>>
>>
>>


Re: SSL handshake failure on smsbox service call to various https URLs

2024-05-18 Thread Mesbahuddin Malik
check kannel ssl rule.

regards
Mesbah

On Fri, May 17, 2024 at 9:33 PM Alex Kinch  wrote:

> Hi all,
>
> I'm having odd problems when making an https request in an smsbox service
> (on latest compiled release from SVN and also Debian packages), I get back:
>
> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 1:
> error:0001:lib(0)::reason(1)
> 2024-05-17 15:14:25 [24] [9] ERROR: SSL error:0A000410:SSL routines::sslv3
> alert handshake failure
> 2024-05-17 15:14:25 [24] [9] ERROR: SSL write failed: OpenSSL error 6:
> error:0006:lib(0)::reason(6)
>
> It seems to be affecting only certain sites, i.e. ones I have behind
> Cloudflare with an individual LetsEncrypt certificate (not a wildcard - but
> wildcard LetsEncrypt sites break too).
>
> I ran openssl s_client -connect and everything appears to be in order.
> When I set up sms-service keywords to fetch Google, or the BBC News
> website, everything works.
>
> Does anyone have any ideas what might be causing this? Running kannel in a
> docker container with debian:bookworm-slim as the base image.
>
> Thanks
> Alex
>
>
>
>
>
>


Re: Implementing SMS to email

2023-12-05 Thread Mesbahuddin Malik
If need urgent have a look at playsms

On Tue, Dec 5, 2023 at 7:50 PM Mesbahuddin Malik 
wrote:

> Need urgent check playsms.
>
> On Tue, Dec 5, 2023 at 7:33 PM Tolga Ulas 
> wrote:
>
>> and  : https://www.kannel.org/pipermail/users/2009-March/006198.html
>> Tolga Ulas
>> +90 533 7464908
>>
>>
>> On Tue, Dec 5, 2023 at 1:36 PM Tolga Ulas 
>> wrote:
>>
>>> https://medium.com/@SudeepParajuli/quickstart-with-kannel-7005684bffb9
>>>
>>> Tolga Ulas
>>>
>>>
>>>
>>> On Tue, Dec 5, 2023 at 1:00 PM  wrote:
>>>
 Hi,



 AFAIK, Kannel won’t forward SMS to email by itself.



 As for me, the most clear way to do it is to use Kannel to forward SMS
 to HTTP and then use HTTP application to handle the messages. Then, routing
 table (nr to email) is a part of the application.



 The app may be build with any tools you like. It just need to get the
 message from URL params (or XML POST), and send it to the destination. You
 may code it or use any of low-code/no-code API/workflow builders. It
 depends of your available skills, project scale and lifecycle.



 Also, AFAIK, Kannel may trigger shell script on SMS, but this option is
 not recommended in the docs.



 Sincerely,



 Alex





 *From:* users  *On Behalf Of *G. Kochar
 *Sent:* Tuesday, December 5, 2023 11:58 AM
 *To:* users@kannel.org
 *Subject:* Implementing SMS to email



 Hello,



 Need advice , as how one can set SMS2email.

 Incoming messages over phone numbers will arrive via smpp from various
 providers on various numbers.



 So, for example if we need to route  SMS to emails based on Number on
 which SMS arroved

 Example

 44203XXX89   number , SMS needs to go to use with email  Address  - A

 44203XXX90   number , SMS needs to go to use with email  Address  - B

 44203XXX93   number , SMS needs to go to use with email  Address  - C



 How can this sms 2email be achieved in kannel.




 G Koch

>>>


Re: Implementing SMS to email

2023-12-05 Thread Mesbahuddin Malik
Need urgent check playsms.

On Tue, Dec 5, 2023 at 7:33 PM Tolga Ulas  wrote:

> and  : https://www.kannel.org/pipermail/users/2009-March/006198.html
> Tolga Ulas
> +90 533 7464908
>
>
> On Tue, Dec 5, 2023 at 1:36 PM Tolga Ulas 
> wrote:
>
>> https://medium.com/@SudeepParajuli/quickstart-with-kannel-7005684bffb9
>>
>> Tolga Ulas
>>
>>
>>
>> On Tue, Dec 5, 2023 at 1:00 PM  wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> AFAIK, Kannel won’t forward SMS to email by itself.
>>>
>>>
>>>
>>> As for me, the most clear way to do it is to use Kannel to forward SMS
>>> to HTTP and then use HTTP application to handle the messages. Then, routing
>>> table (nr to email) is a part of the application.
>>>
>>>
>>>
>>> The app may be build with any tools you like. It just need to get the
>>> message from URL params (or XML POST), and send it to the destination. You
>>> may code it or use any of low-code/no-code API/workflow builders. It
>>> depends of your available skills, project scale and lifecycle.
>>>
>>>
>>>
>>> Also, AFAIK, Kannel may trigger shell script on SMS, but this option is
>>> not recommended in the docs.
>>>
>>>
>>>
>>> Sincerely,
>>>
>>>
>>>
>>> Alex
>>>
>>>
>>>
>>>
>>>
>>> *From:* users  *On Behalf Of *G. Kochar
>>> *Sent:* Tuesday, December 5, 2023 11:58 AM
>>> *To:* users@kannel.org
>>> *Subject:* Implementing SMS to email
>>>
>>>
>>>
>>> Hello,
>>>
>>>
>>>
>>> Need advice , as how one can set SMS2email.
>>>
>>> Incoming messages over phone numbers will arrive via smpp from various
>>> providers on various numbers.
>>>
>>>
>>>
>>> So, for example if we need to route  SMS to emails based on Number on
>>> which SMS arroved
>>>
>>> Example
>>>
>>> 44203XXX89   number , SMS needs to go to use with email  Address  - A
>>>
>>> 44203XXX90   number , SMS needs to go to use with email  Address  - B
>>>
>>> 44203XXX93   number , SMS needs to go to use with email  Address  - C
>>>
>>>
>>>
>>> How can this sms 2email be achieved in kannel.
>>>
>>>
>>>
>>>
>>> G Koch
>>>
>>


Re: Implementing SMS to email

2023-12-05 Thread Tolga Ulas
and  : https://www.kannel.org/pipermail/users/2009-March/006198.html
Tolga Ulas
+90 533 7464908


On Tue, Dec 5, 2023 at 1:36 PM Tolga Ulas  wrote:

> https://medium.com/@SudeepParajuli/quickstart-with-kannel-7005684bffb9
>
> Tolga Ulas
>
>
>
> On Tue, Dec 5, 2023 at 1:00 PM  wrote:
>
>> Hi,
>>
>>
>>
>> AFAIK, Kannel won’t forward SMS to email by itself.
>>
>>
>>
>> As for me, the most clear way to do it is to use Kannel to forward SMS to
>> HTTP and then use HTTP application to handle the messages. Then, routing
>> table (nr to email) is a part of the application.
>>
>>
>>
>> The app may be build with any tools you like. It just need to get the
>> message from URL params (or XML POST), and send it to the destination. You
>> may code it or use any of low-code/no-code API/workflow builders. It
>> depends of your available skills, project scale and lifecycle.
>>
>>
>>
>> Also, AFAIK, Kannel may trigger shell script on SMS, but this option is
>> not recommended in the docs.
>>
>>
>>
>> Sincerely,
>>
>>
>>
>> Alex
>>
>>
>>
>>
>>
>> *From:* users  *On Behalf Of *G. Kochar
>> *Sent:* Tuesday, December 5, 2023 11:58 AM
>> *To:* users@kannel.org
>> *Subject:* Implementing SMS to email
>>
>>
>>
>> Hello,
>>
>>
>>
>> Need advice , as how one can set SMS2email.
>>
>> Incoming messages over phone numbers will arrive via smpp from various
>> providers on various numbers.
>>
>>
>>
>> So, for example if we need to route  SMS to emails based on Number on
>> which SMS arroved
>>
>> Example
>>
>> 44203XXX89   number , SMS needs to go to use with email  Address  - A
>>
>> 44203XXX90   number , SMS needs to go to use with email  Address  - B
>>
>> 44203XXX93   number , SMS needs to go to use with email  Address  - C
>>
>>
>>
>> How can this sms 2email be achieved in kannel.
>>
>>
>>
>>
>> G Koch
>>
>


Re: Implementing SMS to email

2023-12-05 Thread Tolga Ulas
https://medium.com/@SudeepParajuli/quickstart-with-kannel-7005684bffb9

Tolga Ulas



On Tue, Dec 5, 2023 at 1:00 PM  wrote:

> Hi,
>
>
>
> AFAIK, Kannel won’t forward SMS to email by itself.
>
>
>
> As for me, the most clear way to do it is to use Kannel to forward SMS to
> HTTP and then use HTTP application to handle the messages. Then, routing
> table (nr to email) is a part of the application.
>
>
>
> The app may be build with any tools you like. It just need to get the
> message from URL params (or XML POST), and send it to the destination. You
> may code it or use any of low-code/no-code API/workflow builders. It
> depends of your available skills, project scale and lifecycle.
>
>
>
> Also, AFAIK, Kannel may trigger shell script on SMS, but this option is
> not recommended in the docs.
>
>
>
> Sincerely,
>
>
>
> Alex
>
>
>
>
>
> *From:* users  *On Behalf Of *G. Kochar
> *Sent:* Tuesday, December 5, 2023 11:58 AM
> *To:* users@kannel.org
> *Subject:* Implementing SMS to email
>
>
>
> Hello,
>
>
>
> Need advice , as how one can set SMS2email.
>
> Incoming messages over phone numbers will arrive via smpp from various
> providers on various numbers.
>
>
>
> So, for example if we need to route  SMS to emails based on Number on
> which SMS arroved
>
> Example
>
> 44203XXX89   number , SMS needs to go to use with email  Address  - A
>
> 44203XXX90   number , SMS needs to go to use with email  Address  - B
>
> 44203XXX93   number , SMS needs to go to use with email  Address  - C
>
>
>
> How can this sms 2email be achieved in kannel.
>
>
>
>
> G Koch
>


RE: Implementing SMS to email

2023-12-05 Thread alexey
Hi,

 

AFAIK, Kannel won’t forward SMS to email by itself.

 

As for me, the most clear way to do it is to use Kannel to forward SMS to HTTP 
and then use HTTP application to handle the messages. Then, routing table (nr 
to email) is a part of the application.

 

The app may be build with any tools you like. It just need to get the message 
from URL params (or XML POST), and send it to the destination. You may code it 
or use any of low-code/no-code API/workflow builders. It depends of your 
available skills, project scale and lifecycle.

 

Also, AFAIK, Kannel may trigger shell script on SMS, but this option is not 
recommended in the docs.

 

Sincerely,

 

Alex

 

 

From: users  On Behalf Of G. Kochar
Sent: Tuesday, December 5, 2023 11:58 AM
To: users@kannel.org
Subject: Implementing SMS to email

 

Hello,

 

Need advice , as how one can set SMS2email.

Incoming messages over phone numbers will arrive via smpp from various 
providers on various numbers.

 

So, for example if we need to route  SMS to emails based on Number on which SMS 
arroved

Example 

44203XXX89   number , SMS needs to go to use with email  Address  - A

44203XXX90   number , SMS needs to go to use with email  Address  - B

44203XXX93   number , SMS needs to go to use with email  Address  - C

 

How can this sms 2email be achieved in kannel.

 




G Koch 



Re: Working configuration for a Huawei E220 modem

2023-11-23 Thread TSHIMANGA Minkoka

Hello,

I have solved the issue I was facing.

Basically, the bearerbox was starting with the modem in dead-start set 
to true.
With that the modem was not brought online after start up, but required 
the execution of a start-smsc administration http command.


Regards,

Tshimanga

On 7/15/23 13:06, TSHIMANGA Minkoka wrote:

Hello,

I will appreciate if anyone can share with me a working Kannel 
configuration with a Huawei E220 modem as an SMSC.

I have searched online and tried a lot of them without success.

Thanks in advance.


--
TSHIMANGA Minkoka
+243 814443113
tshik...@tshimix.cd




RE: Quectel EG25

2023-10-23 Thread info.ubichip
sorry for the late answer.

 

Issue was on the initial AT command which respond 1 or 0 in place of "OK". The 
modem is working quite well, I need some optimization but it should make it in 
kannel.

 

Thanks again

 

De : Mesbahuddin Malik [mailto:mesbah.ma...@gmail.com] 
Envoyé : lundi 16 octobre 2023 16:44
À : info.ubic...@free.fr
Objet : Re: Quectel EG25

 

which OS you are using .By Checking  lsusb  modem  you can check weather you 
get the virtual path if you are using linux/unix  or a have a check with 
http://smstools3.kekekasvi.com/

 

Regards

Mesbah

 

On Mon, Oct 16, 2023 at 7:19 PM  wrote:

Hello all,

 

Does anyone got some experience and feedback integrating Quectel 4G modems to 
Kannel ? if yes, do you have please the modems file configuration ?

 

Thanks in advance for your help



Re: Opensmpp Plus Kannel Debian 11

2023-10-18 Thread info
Guys apologize for the noise the video helped (but I already figured it 
out after a couple more hours of reading) one of the errors was because 
I needed to compile ./configure source with --with-mysql and second 
issue with opensmpp after reading the --help in ./configure  (in all 
debian install actually) from source or apt install package the source 
for kannel directory is /usr/include/kannel so once I added that option 
to ./configure opensmpp addon compiled normally and could see the 
/usr/local/sbin/opensmppbox. In other words the key for the addons with 
Debian = --with-kannel-dir=/usr/local/include/kannel.


You don't happen to have a video like posted for configuring opensmpp 
addon I am having a difficult time getting the config correct with this 
kannel addon.


Thank to all those that responded appreciate the effort.

-

J

On 2023-10-16 11:31, i...@mail.jeaholding.com wrote:

Hello to all:

Debian Bulleye 11 (NO GUI bare-bones).
Kannel bearerbox version `1.4.5'. Compiler `10.1.0'. System Linux,
release 5.10.0-26-amd64,

I was successful in installing Kannel via the apt packages with no
problem, I was able to setup a fake SMSC to test and I saw the admin
panel showcase sent sms from the fake smsc I setup.

I continued reading and wanted to install opensmpp  and here is where
the problem occurs. It seems I am not able to setup opensmpp without
having the source kannel compile meaning (apt package might not be
good option).

I checkout svn both the gateway/trunk and opensmpp/trunk and I am not
able to compile either of them on the debian box.

gateway when ./configure complaints that:
===
sed: can't read ./ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
(After it completes)
License information 

Thank you for using Kannel.


opensmpp when ./configure complaints:
=
gwlib is not installed (this is with apt install kannel kannel-extra).


Also, I looked at the config.log of both and it doesn't seem like
anything major showing I had an issue with some missing library which
I solved by installing libxml++2.6-dev and libtool libtool-bin (I
installed thinking something was missing).

I saw this in the config.log (nothing stands out) and glance the
libtool bash script with 7000+ lines of code.

Am I missing something here? Can anyone point me to documentation,
blog, and/or write their experience installing opensmpp addon with the
Debian package kannel kannel-extra?

-

Thank you in advance.




Re: is there a parameter (escape code) in dlr-url to return smsc-admin-id?

2023-10-17 Thread lbrezs...@gmx.co.uk

Understood. Thanks.

On 10/12/2023 01:42, Alexander Malysh wrote:

Hi,

as far as I see, no.

Regards,
Alexander Malysh
Am 10. Okt. 2023, 18:33 +0200 schrieb lbrezs...@gmx.co.uk
:


In kannel.conf config when defining dlr-url is there a parameter
(escape code) to return smsc-admin-id?

Documented %i will return the smsc-id of the connection that received
the message. But if there are multiple binds per smsc defined by
smsc-admin-id for the same conncetion, is there a way to get more
granular info?



Re: Opensmpp Plus Kannel Debian 11

2023-10-16 Thread Mesbahuddin Malik
Check your gcc version may be it is not matching with kannel.

Regards
Mesbah

On Mon, Oct 16, 2023 at 10:32 PM  wrote:

> Hello to all:
>
> Debian Bulleye 11 (NO GUI bare-bones).
> Kannel bearerbox version `1.4.5'. Compiler `10.1.0'. System Linux,
> release 5.10.0-26-amd64,
>
> I was successful in installing Kannel via the apt packages with no
> problem, I was able to setup a fake SMSC to test and I saw the admin
> panel showcase sent sms from the fake smsc I setup.
>
> I continued reading and wanted to install opensmpp  and here is where
> the problem occurs. It seems I am not able to setup opensmpp without
> having the source kannel compile meaning (apt package might not be good
> option).
>
> I checkout svn both the gateway/trunk and opensmpp/trunk and I am not
> able to compile either of them on the debian box.
>
> gateway when ./configure complaints that:
> ===
> sed: can't read ./ltmain.sh: No such file or directory
> mv: cannot stat 'libtoolT': No such file or directory
> cp: cannot stat 'libtoolT': No such file or directory
> chmod: cannot access 'libtool': No such file or directory
> (After it completes)
> License information 
>
> Thank you for using Kannel.
>
>
> opensmpp when ./configure complaints:
> =
> gwlib is not installed (this is with apt install kannel kannel-extra).
>
>
> Also, I looked at the config.log of both and it doesn't seem like
> anything major showing I had an issue with some missing library which I
> solved by installing libxml++2.6-dev and libtool libtool-bin (I
> installed thinking something was missing).
>
> I saw this in the config.log (nothing stands out) and glance the libtool
> bash script with 7000+ lines of code.
>
> Am I missing something here? Can anyone point me to documentation, blog,
> and/or write their experience installing opensmpp addon with the Debian
> package kannel kannel-extra?
>
> -
>
> Thank you in advance.
>
>


Re: is there a parameter (escape code) in dlr-url to return smsc-admin-id?

2023-10-11 Thread Alexander Malysh
Hi,

as far as I see, no.

Regards,
Alexander Malysh
Am 10. Okt. 2023, 18:33 +0200 schrieb lbrezs...@gmx.co.uk :
> In kannel.conf config when defining dlr-url is there a parameter (escape 
> code) to return smsc-admin-id?
> Documented %i will return the smsc-id of the connection that received the 
> message. But if there are multiple binds per smsc defined by smsc-admin-id 
> for the same conncetion, is there a way to get more granular info?


Re: SMPP message ID greater than 9223372036854775807 breaking DLRs

2023-08-15 Thread Alex Kinch
Hi Kyriacos

The MySQL field type was varchar(100) so that wasn't the problem. In the
end we fixed it by asking Nexmo/Vonage to change the message ID types to
match (hex) and then removed msg-id-type so the conversion was no longer
needed.

Thanks
Alex

On Mon, 7 Aug 2023 at 01:04, Kyriacos/Netsmart 
wrote:

> And your mysql table create statement. It might be that you are using a
> filed type that can not hold such large numbers. Can easily be converted to
> a char based storage if you don't have extreme space limit issues on the DB
> side.
>
> On 06/08/2023 6:16 pm, Mesbahuddin Malik wrote:
>
> Send your Smpp Config.
>
> On Sun, Aug 6, 2023 at 8:26 PM Alex Kinch  wrote:
>
>> Hi all,
>>
>> I've run into an issue with a certain SMS provider (Nexmo/Vonage) that is
>> using message IDs greater than 9223372036854775807 (e.g.
>> 6142530091694509440651642911224527237), which is in turn breaking DLR
>> processing in Kannel.
>>
>> They use hex in submit_sm_resp and decimal in deliver_sm so I have to
>> have msg-id-type=0x01 set, so it's not like I can remove it and have
>> Kannel use a C literal instead.
>>
>> I've just tried the latest daily build and have the same issue. Using
>> MySQL for DLR storage if that's relevant.
>>
>> Any help appreciated!
>>
>> Thanks
>> Alex
>>
>
> --
> Kyriacos Sakkas
> Netsmart
> Tel: + 357 22 452565
> Fax: + 357 22 452566
> Email: kyria...@netsmart.com.cyhttp://www.netsmart.com.cy
>
> Taking Business to a New Level!
>
> ** Confidentiality Notice: The information contained in this email
> message may be privileged, confidential and protected from disclosure.
> If you are not the intended recipient, any dissemination, distribution,
> or copying of this  email message is strictly prohibited.
> If you think that you have received this email message in error, please
> email the sender at supp...@netsmart.com.cy **
>
>


Re: SMPP message ID greater than 9223372036854775807 breaking DLRs

2023-08-07 Thread Kyriacos/Netsmart
And your mysql table create statement. It might be that you are using a 
filed type that can not hold such large numbers. Can easily be converted 
to a char based storage if you don't have extreme space limit issues on 
the DB side.


On 06/08/2023 6:16 pm, Mesbahuddin Malik wrote:

Send your Smpp Config.

On Sun, Aug 6, 2023 at 8:26 PM Alex Kinch  wrote:

Hi all,

I've run into an issue with a certain SMS provider (Nexmo/Vonage)
that is using message IDs greater than 9223372036854775807 (e.g.
6142530091694509440651642911224527237), which is in turn breaking
DLR processing in Kannel.

They use hex in submit_sm_resp and decimal in deliver_sm so I have
to have msg-id-type=0x01 set, so it's not like I can remove it and
have Kannel use a C literal instead.

I've just tried the latest daily build and have the same issue.
Using MySQL for DLR storage if that's relevant.

Any help appreciated!

Thanks
Alex



--
Kyriacos Sakkas
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email:kyria...@netsmart.com.cy
http://www.netsmart.com.cy

Taking Business to a New Level!

** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this  email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender atsupp...@netsmart.com.cy  **


Re: SMPP message ID greater than 9223372036854775807 breaking DLRs

2023-08-06 Thread Mesbahuddin Malik
Send your Smpp Config.

On Sun, Aug 6, 2023 at 8:26 PM Alex Kinch  wrote:

> Hi all,
>
> I've run into an issue with a certain SMS provider (Nexmo/Vonage) that is
> using message IDs greater than 9223372036854775807 (e.g.
> 6142530091694509440651642911224527237), which is in turn breaking DLR
> processing in Kannel.
>
> They use hex in submit_sm_resp and decimal in deliver_sm so I have to have
> msg-id-type=0x01 set, so it's not like I can remove it and have Kannel
> use a C literal instead.
>
> I've just tried the latest daily build and have the same issue. Using
> MySQL for DLR storage if that's relevant.
>
> Any help appreciated!
>
> Thanks
> Alex
>


Re: Error in LD when building kannel on Ubuntu 22.04

2023-07-05 Thread Eduard Takhtamirov
Try --with-ssl=/usr/lib/x86_64-linux-gnu in configure command

On Tue, Jul 4, 2023 at 3:24 PM Paulo Correia 
wrote:

> Hello kannel users,
>
> I'm trying to build kannel on Ubuntu Server 22.04 but keep getting the
> following LD error:
>
> /usr/bin/ld:
> libwap.a(wtp_resp.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/wap/wtp_resp.c:100:
> multiple definition of `dispatch_to_wsp';
> libgw.a(wap_push_ota.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/gw/wap_push_ota.c:116:
> first defined here
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:361: gw/wapbox] Error 1
>
> The configure command was:
> ./configure --with-defaults=speed --with-redis --enable-ssl
> --with-ssl=/usr/lib/ssl --prefix=/opt/local/gateway-1.4.5
> --enable-start-stop-daemon
>
> and then called "make".
>
> I had no issues with CentOS 7 and CentOS 8 ...
>
> Any clues?
>
> Kind regards,
> *Paulo Correia*
> Systems Architect
>
> *telephone:*+351210337760 *fax:* +351210337761
> *email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m
>
> [image: assinatura_email_go4mobility_comlogo]
> 
>
> [image: assinatura_email_go4mobility_followus]
> 
>
>
> _
>
> *CONFIDENTIALITY*
>
> *This message, as well as existing attached files, may be confidential and
> privileged. Use or disclosure by anyone other than an intended recipient is
> not authorized.*
>
> *If you have received this message by error, you are kindly requested to
> delete it and notify the sender. Thank you for your cooperation.*
> 
>
>


Re: Error in LD when building kannel on Ubuntu 22.04

2023-07-05 Thread lbrezs...@gmx.co.uk

Last time I compiled on debian, bison 3.0 would give me errors when
compiling kannel package.


Remove
$ sudo apt-get remove bison

Install bison version 2.7:

$ sudo wget
http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
$ sudo wget
http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
$ sudo dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
$ sudo dpkg -i bison_2.7.1.dfsg-1_amd64.deb
$ sudo rm bison_2.7.1.dfsg-1_amd64.deb libbison-dev_2.7.1.dfsg-1_amd64.deb

To prevent update manager from overwriting this package

$ sudo apt-mark hold libbison-dev
$ sudo apt-mark hold bison


On 7/4/2023 10:43, Paulo Correia wrote:

Hello kannel users,

I'm trying to build kannel on Ubuntu Server 22.04 but keep getting the
following LD error:

/usr/bin/ld:
libwap.a(wtp_resp.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/wap/wtp_resp.c:100:
multiple definition of `dispatch_to_wsp';
libgw.a(wap_push_ota.o):/tmp/tmp.jkHPbxZ32N/gateway-1.4.5/gw/wap_push_ota.c:116:
first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:361: gw/wapbox] Error 1

The configure command was:
./configure --with-defaults=speed --with-redis --enable-ssl
--with-ssl=/usr/lib/ssl --prefix=/opt/local/gateway-1.4.5
--enable-start-stop-daemon

and then called "make".

I had no issues with CentOS 7 and CentOS 8 ...

Any clues?

Kind regards,
*Paulo Correia*
Systems Architect

*telephone:*+351210337760*fax:* +351210337761
*email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m

assinatura_email_go4mobility_comlogo

assinatura_email_go4mobility_followus

_

/CONFIDENTIALITY/

/This message, as well as existing attached files, may be confidential
and privileged. Use or disclosure by anyone other than an intended
recipient is not authorized./

/If you have received this message by error, you are kindly requested
to delete it and notify the sender. Thank you for your cooperation./




Re: Kannel with emi2 smsc connections behind NAT?

2023-07-02 Thread Mesbahuddin Malik
add masquerade to your NAT end if you need public ip port.

Regards
Mesbah

On Sat, Jul 1, 2023 at 8:01 PM Paulo Correia 
wrote:

> Hello kannel users!
>
> I've been using kannel for some time now, with several instances and some
> hundreds connections to SMSCs.
>
> Our SMSCs are normally SMPP or EMI2 and we are using either public IP
> connections or VPN connections and no problem with that.
>
> My question is regarding NAT, have you managed to have connections to EMI2
> SMSCs with NAT?
> I'm guessing that SMPP will not be a problem with NAT.
>
> On most of our EMI2 connections we fill in the following parameters:
>
>- our-host (with our public or VPN IP)
>- our-port (Port used to connect to the SMSC, Established)
>- receive-port (Port where we'll receive notifications, Listening)
>- notification-addr (public or VPN IP and receive-port)
>
> How does this translate to a NAT environment?
>
> Kind regards,
> *Paulo Correia*
> Systems Architect
>
> *telephone:*+351210337760 *fax:* +351210337761
> *email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m
>
> [image: assinatura_email_go4mobility_comlogo]
> 
>
> [image: assinatura_email_go4mobility_followus]
> 
>
>
> _
>
> *CONFIDENTIALITY*
>
> *This message, as well as existing attached files, may be confidential and
> privileged. Use or disclosure by anyone other than an intended recipient is
> not authorized.*
>
> *If you have received this message by error, you are kindly requested to
> delete it and notify the sender. Thank you for your cooperation.*
> 
>
>


Re: Using Kannel to emulate SMSC (through SMPP)? ?

2023-05-01 Thread rm mobbis . am
Hi,
You will be surprised, but besides opensmppbox there is also sqlbox which helps 
to use kannel along with different databases.

There are many links to opensmppbox and sqlbox user guides in internet. 
Although I recommend to use materials available on 
www.kannel.org<http://www.kannel.org> . If I am not mistake there are all 
necessary files in stable version download (1.4.5).
Opensmppbox and sqlbox are in addons folder.

Please note, that you should comple kannel gateway in specific way to use 
sqlbox. There are also many descriptions concerning this which you can find 
with help of google.

Best regards,
Ruben Melikyan

From: mymailinglistemail 
Sent: Monday, May 1, 2023 6:01:17 PM
To: rm mobbis.am 
Cc: users@kannel.org 
Subject: Re: Using Kannel to emulate SMSC (through SMPP)? ?

Is opensmmpbox part of kannel? The documentation only show wapbox, smsbox and 
bearerbox? Could you point me to documentation on how to set up smppbox

--- Original Message ---
On Wednesday, April 26th, 2023 at 9:38 AM, rm mobbis.am  wrote:

Hello.

You should use opensmppbox.

Best regards,
Ruben Melikyan

From: users  on behalf of mymailinglistemail 

Sent: Tuesday, April 25, 2023 8:28:40 PM
To: users@kannel.org 
Subject: Using Kannel to emulate SMSC (through SMPP)? ?


Hi,

Not sure how to describe this scenario. We provide bulk SMS services 
transparently through HTTP apis. We have different multiple vendor connections 
to different network providers in my country (through SMPP and HTTP). We use 
the most affordable path for each MSISDN. We have had instances where a client 
would come in with a system that expects to connect through SMPP, and we are 
trying to find the best way to do it. My question is can Kannel emulate an SMSC 
(user and password management and receiving MT requests from ESME and sending 
back delivery receipts)? Or what would my options be?




Re: Using Kannel to emulate SMSC (through SMPP)? ?

2023-05-01 Thread mymailinglistemail
Is opensmmpbox part of kannel? The documentation only show wapbox, smsbox and 
bearerbox? Could you point me to documentation on how to set up smppbox

--- Original Message ---
On Wednesday, April 26th, 2023 at 9:38 AM, rm mobbis.am  wrote:

> Hello.
>
> You should use opensmppbox.
>
> Best regards,
> Ruben Melikyan
> ---
>
> From: users  on behalf of mymailinglistemail 
> 
> Sent: Tuesday, April 25, 2023 8:28:40 PM
> To: users@kannel.org 
> Subject: Using Kannel to emulate SMSC (through SMPP)? ?
>
>> Hi,
>>
>> Not sure how to describe this scenario. We provide bulk SMS services 
>> transparently through HTTP apis. We have different multiple vendor 
>> connections to different network providers in my country (through SMPP and 
>> HTTP). We use the most affordable path for each  MSISDN. We have had 
>> instances where a client would come in with a system that expects to connect 
>> through SMPP, and we are trying to find the best way to do it. My question 
>> is can Kannel emulate an SMSC (user and password management and receiving MT 
>> requests from ESME and sending back delivery receipts)? Or what would my 
>> options be?

Re: Using Kannel to emulate SMSC (through SMPP)? ?

2023-04-26 Thread rm mobbis . am
Hello.

You should use opensmppbox.

Best regards,
Ruben Melikyan

From: users  on behalf of mymailinglistemail 

Sent: Tuesday, April 25, 2023 8:28:40 PM
To: users@kannel.org 
Subject: Using Kannel to emulate SMSC (through SMPP)? ?


Hi,

Not sure how to describe this scenario. We provide bulk SMS services 
transparently through HTTP apis. We have different multiple vendor connections 
to different network providers in my country (through SMPP and HTTP). We use 
the most affordable path for each MSISDN. We have had instances where a client 
would come in with a system that expects to connect through SMPP, and we are 
trying to find the best way to do it. My question is can Kannel emulate an SMSC 
(user and password management and receiving MT requests from ESME and sending 
back delivery receipts)? Or what would my options be?



Re: MO Routing on the fly

2023-04-24 Thread akamat sarat
Ruben,

Thank you so much. I don't know how I managed to fail to notice that smsbox
was not up. so stupid.
You are the man.
Everybody else who was kind enough to reply with helpful suggestions, I
thank you as well your help is appreciated.






On Mon, Apr 24, 2023 at 12:55 PM rm mobbis.am  wrote:

> Hi Akamat,
>
> Your Warning is not related to sms routing.
>
> Please check if your smsbox is up.
>
>
>
> Core config example:
>
>
>
> # -- CORE --core.conf
>
>
>
> group=core
>
> admin-port = 19000
>
> smsbox-port = 19005
>
> admin-password = *
>
> status-password = *
>
> admin-allow-ip = "
>
> admin-deny-ip = "*.*.*.*"
>
> log-file = "/var/log/kanpsms/bearerbox.log"
>
> log-level = 3
>
> access-log = "/var/log/kanpsms/SentReceivedSMS.log"
>
> access-log-clean = true
>
> access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F]
> [META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
>
> box-allow-ip = "127.0.0.1;*.*.*.*"
>
> sms-combine-concatenated-mo=true
>
> # --
>
> store-type = file
>
> store-location = /home/KANNEL_PSMS/STORE
>
> dlr-storage = spool
>
> dlr-spool = /home/KANNEL_PSMS/DLR
>
>
>
>
>
> # -- OUTBOUND-SMS-CENTERS -
>
> include="/home/KANNEL_PSMS/smsc/smsc1.conf"
>
> include = "/home/KANNEL_PSMS/smsc/smsc2.conf"
>
> include = "/home/KANNEL_PSMS/smsc/smsc3.conf"
>
>
>
> #- SMSBOX---
>
> include = "/home/KANNEL_PSMS/configs/smsbox.conf"
>
>
>
> #SENDSMS USERS--
>
> include = "/home/KANNEL_PSMS/users/SendSMSusers.conf"
>
>
>
> # -- SMS-SERVICE --
>
> include = "/home/KANNEL_PSMS/services/services.conf"
>
>
>
>
>
> *Other configs examples you can find in previous email*
>
>
>
> *Steps to RUN KANNEL*
>
>
>
> *Step1: /usr/local/kanpsms/bearerbox --parachute
> /home/KANNEL_PSMS/configs/core.conf &*
>
>
>
> *Step2: usr/local/kanpsms/smsbox --parachute
> /home/KANNEL_PSMS/configs/core.conf *
>
>
>
> *Best regards,*
>
> *Ruben Melikyan*
>
>
>
>
>
> *From:* akamat sarat 
> *Sent:* 24.04.2023 13:31
> *To:* rm mobbis.am 
> *Cc:* Tolga Ulas ; users@kannel.org
> *Subject:* Re: MO Routing on the fly
>
>
>
> Dear All,
>
> Thank you for your advice. I have tried all of your suggestions but
> cant get it to work like you say it should.
> Without an smsbox-route, when ever an MO comes in I still get the
> "WARNING: smsbox_list empty"  warning.
> Below my complete setup is below, what am I doing wrong?
>
> group = core
>
> admin-port = 13000
>
> admin-password = ADMINPW
>
> status-password = STATUSPW
>
> smsbox-port = 13032
>
> log-file = "/var/log/kannel/kannel.log"
>
> log-level = 5
>
> box-allow-ip = "*.*.*.*"
>
> access-log = "/var/log/kannel/access.log"
>
> store-type = spool
>
> store-location = /var/spool/kannel/store
>
> smsbox-max-pending = 100
>
> dlr-storage = "internal"
>
> sms-resend-freq = 1200
>
> sms-resend-retry = 1
>
>
>
>
>
>
>
> group = smsbox
>
> bearerbox-host = localhost
>
> bearerbox-port = 13032
>
> sendsms-port = 13033
>
> log-file = "/var/log/kannel/nosmscidsmsbox.log"
>
> log-level = 3
>
> reply-emptymessage = ""
>
> http-request-retry = 2
>
> http-queue-delay = 15
>
> sms-length = 500
>
> mo-recode=yes
>
>
>
>
>
>
>
> group = sms-service
>
> keyword = default
>
> catch-all=true
>
> omit-empty = true
>
> assume-plain-text = yes
>
> concatenation = true
>
> max-messages = 0
>
> get-url = "my_gt_uri"
>
>
>
>
>
> group = smsc
>
> smsc = smpp
>
> smsc-admin-id = SMSC
>
> smsc-id = SMSC
>
> allowed-smsc-id = SMSC
>
> preferred-smsc-id = SMSC
>
> host = host
>
> port = port
>
> transceiver-mode = 1
>
> smsc-username = USERNAME
>
> smsc-password = PASSWORD
>
> dest-addr-ton = 0
>
> dest-addr-npi = 0
>
> source-addr-ton = 0
>
> source-addr-npi = 0
>
> throughput = 30
>
> enquire-link-interval = 30
>
> log-file = /var/log/kannel/SMSC.log
>
> log-level = 0
>
> system-type = ""
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Apr 24, 2023 at 10:02 AM rm mobbis.am  wrot

Re: MO Routing on the fly

2023-04-24 Thread Kyriacos/Netsmart

Hi,

I think you are missing the smsbox-route route.

group = smsbox-route
smsbox-id = mySMSBox
smsc-id = smpp [list any other SMSC connections here]


On 24/04/2023 12:31 pm, akamat sarat wrote:

Dear All,

Thank you for your advice. I have tried all of your suggestions but 
cant get it to work like you say it should.
Without an smsbox-route, when ever an MO comes in I still get the 
"WARNING: smsbox_list empty"  warning.

Below my complete setup is below, what am I doing wrong?


group = core
admin-port = 13000
admin-password = ADMINPW
status-password = STATUSPW
smsbox-port = 13032
log-file = "/var/log/kannel/kannel.log"
log-level = 5
box-allow-ip = "*.*.*.*"
access-log = "/var/log/kannel/access.log"
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
dlr-storage = "internal"
sms-resend-freq = 1200
sms-resend-retry = 1
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13032
sendsms-port = 13033
log-file = "/var/log/kannel/nosmscidsmsbox.log"
log-level = 3
reply-emptymessage = ""
http-request-retry = 2
http-queue-delay = 15
sms-length = 500
mo-recode=yes
group = sms-service
keyword = default
catch-all=true
omit-empty = true
assume-plain-text = yes
concatenation = true
max-messages = 0
get-url = "my_gt_uri"
group = smsc
smsc = smpp
smsc-admin-id = SMSC
smsc-id = SMSC
allowed-smsc-id = SMSC
preferred-smsc-id = SMSC
host = host
port = port
transceiver-mode = 1
smsc-username = USERNAME
smsc-password = PASSWORD
dest-addr-ton = 0
dest-addr-npi = 0
source-addr-ton = 0
source-addr-npi = 0
throughput = 30
enquire-link-interval = 30
log-file = /var/log/kannel/SMSC.log
log-level = 0
system-type = ""

On Mon, Apr 24, 2023 at 10:02 AM rm mobbis.am <http://mobbis.am> 
 wrote:


Hi Akamat. Sorry for late response.

The point is that you organize routing outside kannel and inside
your script or your MO sms handler web application side. This
gives you possibility to implement sms-service with any difficulty.

**

*Below are essential configs examples:*

# -- SMSBOX GROUP --

group = smsbox

bearerbox-host = localhost

bearerbox-port = 19005

sendsms-port = 19555

log-file = "/var/log/kanpsms/smsbox.log"

log-level = 3

access-log = "/var/log/kanpsms/smsbox-sms-access.log"

sendsms-chars = "0123456789 +#._"

reply-couldnotfetch = // If set, replaces the SMS message sent
back to user when Kannel could not fetch content //

reply-couldnotrepresent = // If set, replaces the SMS message sent
back when Kannel could not represent the result as a SMS message//

reply-requestfailed = // If set, replaces the SMS message sent
back when Kannel could not contact http service.//

reply-emptymessage = ""

http-request-retry = 2

http-queue-delay = 15

sms-length = 500

mo-recode=yes

# --  SMS SERVICE --

group = sms-service

keyword = default

catch-all=true

omit-empty = true

assume-plain-text = yes

concatenation = true

max-messages = 0

get-url = //Link to your script//

# -- SENDSMS USER GROUPS --

group = sendsms-user

username = SMSC1

password = *

user-deny-ip = "*.*.*.*"

user-allow-ip = "”

concatenation = true

max-messages = 4

forced-smsc = SMSC-ID1

group = sendsms-user

username = SMSC2

password = **

user-deny-ip = "*.*.*.*"

user-allow-ip = "”

concatenation = true

max-messages = 4

forced-smsc = SMSC-ID2

group = sendsms-user

username = SMSC3

password = ***

user-deny-ip = "*.*.*.*"

user-allow-ip =  "”

concatenation = true

max-messages = 4

forced-smsc = SMSC-ID3

*Please note,  that there is no smsbox-route config in my setup.*

*Explanation*

When kannel receives MO message it forwards received message to
your script.

Message handling, processing, saving your message to related DB,
generating answer and also submitting reply/answer message to
related SMSC (using the *KANNEL’S *HTTP interface to send SMS
messages) must be implemented in your script or your MO sms
handler web application side.

**

*Best regards,*

*Ruben Melikyan*

----

*From:*akamat sarat 
*Sent:* Thursday, April 20, 2023 11:53:17 AM
*To:* rm mobbis.am <http://mobbis.am> 
*Cc:* Tolga Ulas ; users@kannel.org

*Subject:* Re: MO Routing on the fly

Do you mean something like the following?
group = sms-service

get-url = "http://get-url.com;
catch-all = yes
This kind of setup does not work without adding smsbox-route. 
smsbox-rout

RE: MO Routing on the fly

2023-04-24 Thread rm mobbis . am
Hi Akamat,
Your Warning is not related to sms routing.
Please check if your smsbox is up.

Core config example:

# -- CORE --core.conf

group=core
admin-port = 19000
smsbox-port = 19005
admin-password = *
status-password = *
admin-allow-ip = "
admin-deny-ip = "*.*.*.*"
log-file = "/var/log/kanpsms/bearerbox.log"
log-level = 3
access-log = "/var/log/kanpsms/SentReceivedSMS.log"
access-log-clean = true
access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F] 
[META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
box-allow-ip = "127.0.0.1;*.*.*.*"
sms-combine-concatenated-mo=true
# --
store-type = file
store-location = /home/KANNEL_PSMS/STORE
dlr-storage = spool
dlr-spool = /home/KANNEL_PSMS/DLR


# -- OUTBOUND-SMS-CENTERS -
include="/home/KANNEL_PSMS/smsc/smsc1.conf"
include = "/home/KANNEL_PSMS/smsc/smsc2.conf"
include = "/home/KANNEL_PSMS/smsc/smsc3.conf"

#- SMSBOX---
include = "/home/KANNEL_PSMS/configs/smsbox.conf"

#SENDSMS USERS--
include = "/home/KANNEL_PSMS/users/SendSMSusers.conf"

# -- SMS-SERVICE --
include = "/home/KANNEL_PSMS/services/services.conf"


Other configs examples you can find in previous email

Steps to RUN KANNEL

Step1: /usr/local/kanpsms/bearerbox --parachute 
/home/KANNEL_PSMS/configs/core.conf &

Step2: usr/local/kanpsms/smsbox --parachute /home/KANNEL_PSMS/configs/core.conf

Best regards,
Ruben Melikyan


From: akamat sarat 
Sent: 24.04.2023 13:31
To: rm mobbis.am 
Cc: Tolga Ulas ; users@kannel.org
Subject: Re: MO Routing on the fly

Dear All,

Thank you for your advice. I have tried all of your suggestions but cant get it 
to work like you say it should.
Without an smsbox-route, when ever an MO comes in I still get the "WARNING: 
smsbox_list empty"  warning.
Below my complete setup is below, what am I doing wrong?

group = core
admin-port = 13000
admin-password = ADMINPW
status-password = STATUSPW
smsbox-port = 13032
log-file = "/var/log/kannel/kannel.log"
log-level = 5
box-allow-ip = "*.*.*.*"
access-log = "/var/log/kannel/access.log"
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
dlr-storage = "internal"
sms-resend-freq = 1200
sms-resend-retry = 1



group = smsbox
bearerbox-host = localhost
bearerbox-port = 13032
sendsms-port = 13033
log-file = "/var/log/kannel/nosmscidsmsbox.log"
log-level = 3
reply-emptymessage = ""
http-request-retry = 2
http-queue-delay = 15
sms-length = 500
mo-recode=yes



group = sms-service
keyword = default
catch-all=true
omit-empty = true
assume-plain-text = yes
concatenation = true
max-messages = 0
get-url = "my_gt_uri"


group = smsc
smsc = smpp
smsc-admin-id = SMSC
smsc-id = SMSC
allowed-smsc-id = SMSC
preferred-smsc-id = SMSC
host = host
port = port
transceiver-mode = 1
smsc-username = USERNAME
smsc-password = PASSWORD
dest-addr-ton = 0
dest-addr-npi = 0
source-addr-ton = 0
source-addr-npi = 0
throughput = 30
enquire-link-interval = 30
log-file = /var/log/kannel/SMSC.log
log-level = 0
system-type = ""









On Mon, Apr 24, 2023 at 10:02 AM rm mobbis.am<http://mobbis.am> 
mailto:r...@mobbis.am>> wrote:
Hi Akamat. Sorry for late response.

The point is that you organize routing outside kannel and inside your script or 
your MO sms handler web application side. This gives you possibility to 
implement sms-service with any difficulty.

Below are essential configs examples:

# -- SMSBOX GROUP --
group = smsbox
bearerbox-host = localhost
bearerbox-port = 19005
sendsms-port = 19555
log-file = "/var/log/kanpsms/smsbox.log"
log-level = 3
access-log = "/var/log/kanpsms/smsbox-sms-access.log"
sendsms-chars = "0123456789 +#._"
reply-couldnotfetch = // If set, replaces the SMS message sent back to user 
when Kannel could not fetch content //
reply-couldnotrepresent = // If set, replaces the SMS message sent back when 
Kannel could not represent the result as a SMS message//
reply-requestfailed = // If set, replaces the SMS message sent back when Kannel 
could not contact http service.//
reply-emptymessage = ""
http-request-retry = 2
http-queue-delay = 15
sms-length = 500
mo-recode=yes

# --  SMS SERVICE --
group = sms-service
keyword = default
catch-all=true
omit-empty = true
assume-plain-text = yes
concatenation = true
max-messages = 0
get-url = //Link to your script//

# -- SENDSMS USER GROUPS --
group = sendsms-user
username = SMSC1
password = *
user-deny-ip = "*.*.*.*"
user-allow-ip = "”
concatenation = true
max-messages = 4
forced-smsc = SMSC-ID1

group = sendsms-user
username = SMSC2
password = **
user-deny-ip = "*.*.*.*"
user-allow-ip = "”
concatenat

Re: MO Routing on the fly

2023-04-24 Thread akamat sarat
Dear All,

Thank you for your advice. I have tried all of your suggestions but
cant get it to work like you say it should.
Without an smsbox-route, when ever an MO comes in I still get the "WARNING:
smsbox_list empty"  warning.
Below my complete setup is below, what am I doing wrong?


group = core
admin-port = 13000
admin-password = ADMINPW
status-password = STATUSPW
smsbox-port = 13032
log-file = "/var/log/kannel/kannel.log"
log-level = 5
box-allow-ip = "*.*.*.*"
access-log = "/var/log/kannel/access.log"
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
dlr-storage = "internal"
sms-resend-freq = 1200
sms-resend-retry = 1

group = smsbox
bearerbox-host = localhost
bearerbox-port = 13032
sendsms-port = 13033
log-file = "/var/log/kannel/nosmscidsmsbox.log"
log-level = 3
reply-emptymessage = ""
http-request-retry = 2
http-queue-delay = 15
sms-length = 500
mo-recode=yes
group = sms-service
keyword = default
catch-all=true
omit-empty = true
assume-plain-text = yes
concatenation = true
max-messages = 0
get-url = "my_gt_uri"

group = smsc
smsc = smpp
smsc-admin-id = SMSC
smsc-id = SMSC
allowed-smsc-id = SMSC
preferred-smsc-id = SMSC
host = host
port = port
transceiver-mode = 1
smsc-username = USERNAME
smsc-password = PASSWORD
dest-addr-ton = 0
dest-addr-npi = 0
source-addr-ton = 0
source-addr-npi = 0
throughput = 30
enquire-link-interval = 30
log-file = /var/log/kannel/SMSC.log
log-level = 0
system-type = ""


On Mon, Apr 24, 2023 at 10:02 AM rm mobbis.am  wrote:

> Hi Akamat. Sorry for late response.
>
>
>
> The point is that you organize routing outside kannel and inside your
> script or your MO sms handler web application side. This gives you
> possibility to implement sms-service with any difficulty.
>
>
>
> *Below are essential configs examples:*
>
>
>
> # -- SMSBOX GROUP --
>
> group = smsbox
>
> bearerbox-host = localhost
>
> bearerbox-port = 19005
>
> sendsms-port = 19555
>
> log-file = "/var/log/kanpsms/smsbox.log"
>
> log-level = 3
>
> access-log = "/var/log/kanpsms/smsbox-sms-access.log"
>
> sendsms-chars = "0123456789 +#._"
>
> reply-couldnotfetch = // If set, replaces the SMS message sent back to
> user when Kannel could not fetch content //
>
> reply-couldnotrepresent = // If set, replaces the SMS message sent back
> when Kannel could not represent the result as a SMS message//
>
> reply-requestfailed = // If set, replaces the SMS message sent back when
> Kannel could not contact http service.//
>
> reply-emptymessage = ""
>
> http-request-retry = 2
>
> http-queue-delay = 15
>
> sms-length = 500
>
> mo-recode=yes
>
>
>
> # --  SMS SERVICE --
>
> group = sms-service
>
> keyword = default
>
> catch-all=true
>
> omit-empty = true
>
> assume-plain-text = yes
>
> concatenation = true
>
> max-messages = 0
>
> get-url = //Link to your script//
>
>
>
> # -- SENDSMS USER GROUPS --
>
> group = sendsms-user
>
> username = SMSC1
>
> password = *
>
> user-deny-ip = "*.*.*.*"
>
> user-allow-ip = "”
>
> concatenation = true
>
> max-messages = 4
>
> forced-smsc = SMSC-ID1
>
>
>
> group = sendsms-user
>
> username = SMSC2
>
> password = **
>
> user-deny-ip = "*.*.*.*"
>
> user-allow-ip = "”
>
> concatenation = true
>
> max-messages = 4
>
> forced-smsc = SMSC-ID2
>
>
>
> group = sendsms-user
>
> username = SMSC3
>
> password = ***
>
> user-deny-ip = "*.*.*.*"
>
> user-allow-ip =  "”
>
> concatenation = true
>
> max-messages = 4
>
> forced-smsc = SMSC-ID3
>
>
>
>
>
> *Please note,  that there is no smsbox-route config in my setup.*
>
>
>
> *Explanation*
>
> When kannel receives MO message it forwards received message to your
> script.
>
> Message handling, processing, saving your message to related DB,
> generating answer and also submitting reply/answer message to related SMSC
> (using the *KANNEL’S *HTTP interface to send SMS messages) must be
> implemented in your script or your MO sms handler web application side.
>
>
>
> *Best regards,*
>
> *Ruben Melikyan*
> --
>
> *From:* akamat sarat 
> *Sent:* Thursday, April 20, 2023 11:53:17 AM
> *To:* rm mobbis.am 
> *Cc:* Tolga Ulas ; users@kannel.org <
> users@kannel.org>
> *Subject:* Re: MO Routing on the fly
>
>
>
> Do you mean something like the following?
> group = sms-serv

Re: MO Routing on the fly

2023-04-24 Thread rm mobbis . am
Hi Akamat. Sorry for late response.

The point is that you organize routing outside kannel and inside your script or 
your MO sms handler web application side. This gives you possibility to 
implement sms-service with any difficulty.

Below are essential configs examples:

# -- SMSBOX GROUP --
group = smsbox
bearerbox-host = localhost
bearerbox-port = 19005
sendsms-port = 19555
log-file = "/var/log/kanpsms/smsbox.log"
log-level = 3
access-log = "/var/log/kanpsms/smsbox-sms-access.log"
sendsms-chars = "0123456789 +#._"
reply-couldnotfetch = // If set, replaces the SMS message sent back to user 
when Kannel could not fetch content //
reply-couldnotrepresent = // If set, replaces the SMS message sent back when 
Kannel could not represent the result as a SMS message//
reply-requestfailed = // If set, replaces the SMS message sent back when Kannel 
could not contact http service.//
reply-emptymessage = ""
http-request-retry = 2
http-queue-delay = 15
sms-length = 500
mo-recode=yes

# --  SMS SERVICE --
group = sms-service
keyword = default
catch-all=true
omit-empty = true
assume-plain-text = yes
concatenation = true
max-messages = 0
get-url = //Link to your script//

# -- SENDSMS USER GROUPS --
group = sendsms-user
username = SMSC1
password = *
user-deny-ip = "*.*.*.*"
user-allow-ip = "”
concatenation = true
max-messages = 4
forced-smsc = SMSC-ID1

group = sendsms-user
username = SMSC2
password = **
user-deny-ip = "*.*.*.*"
user-allow-ip = "”
concatenation = true
max-messages = 4
forced-smsc = SMSC-ID2

group = sendsms-user
username = SMSC3
password = ***
user-deny-ip = "*.*.*.*"
user-allow-ip =  "”
concatenation = true
max-messages = 4
forced-smsc = SMSC-ID3


Please note,  that there is no smsbox-route config in my setup.

Explanation
When kannel receives MO message it forwards received message to your script.
Message handling, processing, saving your message to related DB, generating 
answer and also submitting reply/answer message to related SMSC (using the 
KANNEL’S HTTP interface to send SMS messages) must be implemented in your 
script or your MO sms handler web application side.

Best regards,
Ruben Melikyan

From: akamat sarat 
Sent: Thursday, April 20, 2023 11:53:17 AM
To: rm mobbis.am 
Cc: Tolga Ulas ; users@kannel.org 
Subject: Re: MO Routing on the fly

Do you mean something like the following?
group = sms-service
get-url = "http://get-url.com;
catch-all = yes
This kind of setup does not work without adding smsbox-route.  smsbox-route is 
either short code or smsc-id specific.
If you mean something else, can you write an example please?

Than k you

On Wed, Apr 19, 2023 at 9:32 PM rm mobbis.am<http://mobbis.am> 
mailto:r...@mobbis.am>> wrote:
Hi Akamat,

Honestly, I suspect that I do not fully understand your situation ( because if 
I usnderstand you in right way, it has very obvious solution).
Thus if I understand your request correctly, you just need to:

  1.  configure sms-service
  2.  set your script on  apache or iis
  3.  use get-url or post-url and other sms-service related parameters 
according your needs
Thus you will have smsc independet script which will handle all your MO 
requests especially if you set catch-all parameter to true.

Best regards,
Ruben Melikyan

From: users mailto:users-boun...@kannel.org>> on 
behalf of akamat sarat mailto:akamat.sa...@gmail.com>>
Sent: Wednesday, April 19, 2023 7:32:45 PM
To: Tolga Ulas mailto:tolga.u...@tolgaulas.com>>
Cc: users@kannel.org<mailto:users@kannel.org> 
mailto:users@kannel.org>>
Subject: Re: MO Routing on the fly

Even though I could not figure it out, the smsc-id parameter is not mandatory 
for the smsbox-route group.
Does this imply it can be SMSC independent if some other configuration is 
properly applied? possibly. I've tested smsbox-route group without specifying 
any smsc-ids and this did not work.
But I'm probably missing something.

On Wed, Apr 19, 2023 at 7:28 PM akamat sarat 
mailto:akamat.sa...@gmail.com>> wrote:
I figured out a way to set it up the way I need it to work.
So like I said, I wanted to route all MOs originating from all SMSCs to a 
single script to handle all of them.
In my SMSc configuration I am using reroute-smsc-id to re-route all incoming 
MOs to a single HTTP SMSc that will invoke my script.
The thing that kept me back is the preferred-smsc-id setting, because if it is 
used in conjunction with reroute-smsc-id then reroute-smsc-id is completely 
ignored without any mention of it in kannel logs.


On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas 
mailto:tolga.u...@tolgaulas.com>> wrote:
Not sure on top of my head whether it can be smsc independent, check with the 
documentation in the related section of thart smsc-id part and smsbox-ro

Re: MO Routing on the fly

2023-04-23 Thread Sayed Hadi Rastgou Haghi
Dear Akamat,

>From kannel user manual,

*Smsbox routing inside bearerbox*
The communication link between bearerbox and smsbox has been designed for
the purpose of load-balancing via random assignment. Which means, bearerbox
holds all smsc connections and passes inbound message to one of the
connected smsboxes. So you have a determined route for outbound messages,
but no determined route for inbound messages.

Which basically, in my opinion, means that if you use one or more smsboxes
without smsbox-id and with the same sms-service config, bearerbox should
load-balance incoming traffic via those. (without any specific smsbox-route)


On Thu, Apr 20, 2023 at 12:07 PM akamat sarat 
wrote:

> Do you mean something like the following?
> group = sms-service
> get-url = "http://get-url.com;
> catch-all = yes
> This kind of setup does not work without adding smsbox-route.
> smsbox-route is either short code or smsc-id specific.
> If you mean something else, can you write an example please?
>
> Than k you
>
>
> On Wed, Apr 19, 2023 at 9:32 PM rm mobbis.am  wrote:
>
>> Hi Akamat,
>>
>> Honestly, I suspect that I do not fully understand your situation (
>> because if I usnderstand you in right way, it has very obvious solution).
>> Thus if I understand your request correctly, you just need to:
>>
>>1. configure sms-service
>>2. set your script on  apache or iis
>>3. use get-url or post-url and other sms-service related parameters
>>according your needs
>>
>> Thus you will have smsc independet script which will handle all your MO
>> requests especially if you set catch-all parameter to true.
>>
>> Best regards,
>> Ruben Melikyan
>> --
>> *From:* users  on behalf of akamat sarat <
>> akamat.sa...@gmail.com>
>> *Sent:* Wednesday, April 19, 2023 7:32:45 PM
>> *To:* Tolga Ulas 
>> *Cc:* users@kannel.org 
>> *Subject:* Re: MO Routing on the fly
>>
>> Even though I could not figure it out, the smsc-id parameter is not
>> mandatory for the smsbox-route group.
>> Does this imply it can be SMSC independent if some other configuration is
>> properly applied? possibly. I've tested smsbox-route group without
>> specifying any smsc-ids and this did not work.
>> But I'm probably missing something.
>>
>> On Wed, Apr 19, 2023 at 7:28 PM akamat sarat 
>> wrote:
>>
>> I figured out a way to set it up the way I need it to work.
>> So like I said, I wanted to route all MOs originating from all SMSCs to a
>> single script to handle all of them.
>> In my SMSc configuration I am using reroute-smsc-id to re-route all
>> incoming MOs to a single HTTP SMSc that will invoke my script.
>> The thing that kept me back is the preferred-smsc-id setting, because if
>> it is used in conjunction with reroute-smsc-id then reroute-smsc-id is
>> completely ignored without any mention of it in kannel logs.
>>
>>
>>
>> On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas 
>> wrote:
>>
>> Not sure on top of my head whether it can be smsc independent, check with
>> the documentation in the related section of thart smsc-id part and
>> smsbox-route functioning in general.
>> Tolga Ulas
>>
>>
>>
>> On Wed, Apr 19, 2023 at 5:51 PM akamat sarat 
>> wrote:
>>
>> Thank for coming back, you mean something like:
>>
>> group=smsbox-route
>> smsbox-id=mysmsbox
>> smsc-id=SMSC1; SMSC2; SMSC3...
>>
>> If so, this means that every time a new SMSC is added, I will need to add
>> it to the smsc-id's list in the above configuration.
>> After that I will need to restart kannel which I do not want to do.
>> If thats not what you mean can you write an example?
>>
>> Thank you.
>>
>>
>> On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
>> wrote:
>>
>> Put a single route to a single smsbox which has a single service and
>> define all your smscs in the route as origin.
>>
>> Tolga Ulas
>>
>>
>> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
>> wrote:
>>
>> To all kannelers,
>>
>> I am trying to find a way to configure kannel so that all incoming
>> messages (MOs) from all SMSCs to go to the same script.
>> The problem is that i could not find a working solution that does not
>> rely on smsbox-routes
>> and it is not possible to add smsbox-routes   on the fly.
>>
>> Any help would be appreciated
>>
>>

-- 
Sincerely,

Sayed Hadi Rastgou Haghi


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-22 Thread Robin C
my mysql version is

mysql  Ver 8.0.32-0ubuntu0.22.04.2 for Linux on x86_64 ((Ubuntu))

On Sat, Apr 22, 2023 at 7:20 PM Robin C  wrote:

> Dear Spameden,
> Thanks for your reply. I tried this fix. But then I got the following
> error.
>
> In file included from gwlib/gwlib.h:83,
>  from gwlib/dbpool.c:70:
> gwlib/dbpool_mysql.c: In function ‘mysql_select’:
> gwlib/dbpool_mysql.c:248:48: error: ‘my_bool’ undeclared (first use in
> this function); did you mean ‘xr_bool’?
>   248 | bind[i].is_null = gw_malloc(sizeof(my_bool));
>   |^~~
> gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
>   122 | #define gw_malloc(size) (gw_native_malloc(size))
>   |   ^~~~
> gwlib/dbpool_mysql.c:248:48: note: each undeclared identifier is reported
> only once for each function it appears in
>   248 | bind[i].is_null = gw_malloc(sizeof(my_bool));
>   |^~~
> gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
>   122 | #define gw_malloc(size) (gw_native_malloc(size))
>   |   ^~~~
> make: *** [Makefile:225: gwlib/dbpool.o] Error 1
>
> On Sun, Apr 16, 2023 at 7:00 PM spameden  wrote:
>
>> Ubuntu 22.04 uses bison 3.8.2 - https://packages.ubuntu.com/jammy/bison
>> In order to fix the issue you need to either try to compile from SVN or
>> apply this patch - https://redmine.kannel.org/issues/699#note-5
>> Best to use SVN code actually as it contains recent bug fixes and in most
>> cases very stable.
>>
>> Checkout SVN repo with: svn co https://svn.kannel.org/gateway/trunk and
>> then proceed with usual compilation routing
>>
>>
>> On Sun, 16 Apr 2023 at 16:11, Antony Stone <
>> antony.st...@kannel.open.source.it> wrote:
>>
>>> On Sunday 16 April 2023 at 13:42:04, Robin C wrote:
>>>
>>> > Dear Antony ,
>>> >
>>> > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from
>>> source
>>> > code??
>>>
>>> No; I use 1.4.5 under Debian, installed from the binary package.
>>>
>>>
>>> Antony.
>>>
>>> --
>>> Python is executable pseudocode.
>>> Perl is executable line noise.
>>>
>>>Please reply to the
>>> list;
>>>  please *don't*
>>> CC me.
>>>
>>>
>
> --
>  *Thanks & Regards,*
>
>
>
>   Robin C
>
>  Linux System Administrator
>
> Web : www.refined.co.in
>
> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014
>
>
>
>
>
>
> Disclaimer:  This message contains confidential information and is
> intended only for the individual named.  If you are not the named addressee
> you should not disseminate, distribute or copy this e-mail.  Please notify
> the sender immediately by e-mail if you have received this e-mail by
> mistake and delete this e-mail from your system.  E-mail transmission
> cannot be guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses.  The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission.  If verification is required please request
> a hard-copy version.
>
> *7* Switch off as you go |*q *Recycle always | P Print only if absolutely
> necessary
>


-- 
 *Thanks & Regards,*



  Robin C

 Linux System Administrator

Web : www.refined.co.in

Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
Vazhuthacaud, Thiruvananthapuram,
Kerala - 695014






Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.

*7* Switch off as you go |*q *Recycle always | P Print only if absolutely
necessary


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-22 Thread Robin C
Dear Spameden,
Thanks for your reply. I tried this fix. But then I got the following error.

In file included from gwlib/gwlib.h:83,
 from gwlib/dbpool.c:70:
gwlib/dbpool_mysql.c: In function ‘mysql_select’:
gwlib/dbpool_mysql.c:248:48: error: ‘my_bool’ undeclared (first use in this
function); did you mean ‘xr_bool’?
  248 | bind[i].is_null = gw_malloc(sizeof(my_bool));
  |^~~
gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
  122 | #define gw_malloc(size) (gw_native_malloc(size))
  |   ^~~~
gwlib/dbpool_mysql.c:248:48: note: each undeclared identifier is reported
only once for each function it appears in
  248 | bind[i].is_null = gw_malloc(sizeof(my_bool));
  |^~~
gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
  122 | #define gw_malloc(size) (gw_native_malloc(size))
  |   ^~~~
make: *** [Makefile:225: gwlib/dbpool.o] Error 1

On Sun, Apr 16, 2023 at 7:00 PM spameden  wrote:

> Ubuntu 22.04 uses bison 3.8.2 - https://packages.ubuntu.com/jammy/bison
> In order to fix the issue you need to either try to compile from SVN or
> apply this patch - https://redmine.kannel.org/issues/699#note-5
> Best to use SVN code actually as it contains recent bug fixes and in most
> cases very stable.
>
> Checkout SVN repo with: svn co https://svn.kannel.org/gateway/trunk and
> then proceed with usual compilation routing
>
>
> On Sun, 16 Apr 2023 at 16:11, Antony Stone <
> antony.st...@kannel.open.source.it> wrote:
>
>> On Sunday 16 April 2023 at 13:42:04, Robin C wrote:
>>
>> > Dear Antony ,
>> >
>> > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source
>> > code??
>>
>> No; I use 1.4.5 under Debian, installed from the binary package.
>>
>>
>> Antony.
>>
>> --
>> Python is executable pseudocode.
>> Perl is executable line noise.
>>
>>Please reply to the
>> list;
>>  please *don't*
>> CC me.
>>
>>

-- 
 *Thanks & Regards,*



  Robin C

 Linux System Administrator

Web : www.refined.co.in

Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
Vazhuthacaud, Thiruvananthapuram,
Kerala - 695014






Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.

*7* Switch off as you go |*q *Recycle always | P Print only if absolutely
necessary


Re: MO Routing on the fly

2023-04-20 Thread akamat sarat
Do you mean something like the following?
group = sms-service
get-url = "http://get-url.com;
catch-all = yes
This kind of setup does not work without adding smsbox-route.  smsbox-route
is either short code or smsc-id specific.
If you mean something else, can you write an example please?

Than k you


On Wed, Apr 19, 2023 at 9:32 PM rm mobbis.am  wrote:

> Hi Akamat,
>
> Honestly, I suspect that I do not fully understand your situation (
> because if I usnderstand you in right way, it has very obvious solution).
> Thus if I understand your request correctly, you just need to:
>
>1. configure sms-service
>2. set your script on  apache or iis
>3. use get-url or post-url and other sms-service related parameters
>according your needs
>
> Thus you will have smsc independet script which will handle all your MO
> requests especially if you set catch-all parameter to true.
>
> Best regards,
> Ruben Melikyan
> --
> *From:* users  on behalf of akamat sarat <
> akamat.sa...@gmail.com>
> *Sent:* Wednesday, April 19, 2023 7:32:45 PM
> *To:* Tolga Ulas 
> *Cc:* users@kannel.org 
> *Subject:* Re: MO Routing on the fly
>
> Even though I could not figure it out, the smsc-id parameter is not
> mandatory for the smsbox-route group.
> Does this imply it can be SMSC independent if some other configuration is
> properly applied? possibly. I've tested smsbox-route group without
> specifying any smsc-ids and this did not work.
> But I'm probably missing something.
>
> On Wed, Apr 19, 2023 at 7:28 PM akamat sarat 
> wrote:
>
> I figured out a way to set it up the way I need it to work.
> So like I said, I wanted to route all MOs originating from all SMSCs to a
> single script to handle all of them.
> In my SMSc configuration I am using reroute-smsc-id to re-route all
> incoming MOs to a single HTTP SMSc that will invoke my script.
> The thing that kept me back is the preferred-smsc-id setting, because if
> it is used in conjunction with reroute-smsc-id then reroute-smsc-id is
> completely ignored without any mention of it in kannel logs.
>
>
>
> On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas 
> wrote:
>
> Not sure on top of my head whether it can be smsc independent, check with
> the documentation in the related section of thart smsc-id part and
> smsbox-route functioning in general.
> Tolga Ulas
>
>
>
> On Wed, Apr 19, 2023 at 5:51 PM akamat sarat 
> wrote:
>
> Thank for coming back, you mean something like:
>
> group=smsbox-route
> smsbox-id=mysmsbox
> smsc-id=SMSC1; SMSC2; SMSC3...
>
> If so, this means that every time a new SMSC is added, I will need to add
> it to the smsc-id's list in the above configuration.
> After that I will need to restart kannel which I do not want to do.
> If thats not what you mean can you write an example?
>
> Thank you.
>
>
> On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
> wrote:
>
> Put a single route to a single smsbox which has a single service and
> define all your smscs in the route as origin.
>
> Tolga Ulas
>
>
> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
> wrote:
>
> To all kannelers,
>
> I am trying to find a way to configure kannel so that all incoming
> messages (MOs) from all SMSCs to go to the same script.
> The problem is that i could not find a working solution that does not rely
> on smsbox-routes
> and it is not possible to add smsbox-routes   on the fly.
>
> Any help would be appreciated
>
>


Re: MO Routing on the fly

2023-04-19 Thread rm mobbis . am
Hi Akamat,

Honestly, I suspect that I do not fully understand your situation ( because if 
I usnderstand you in right way, it has very obvious solution).
Thus if I understand your request correctly, you just need to:

  1.  configure sms-service
  2.  set your script on  apache or iis
  3.  use get-url or post-url and other sms-service related parameters 
according your needs

Thus you will have smsc independet script which will handle all your MO 
requests especially if you set catch-all parameter to true.

Best regards,
Ruben Melikyan

From: users  on behalf of akamat sarat 

Sent: Wednesday, April 19, 2023 7:32:45 PM
To: Tolga Ulas 
Cc: users@kannel.org 
Subject: Re: MO Routing on the fly

Even though I could not figure it out, the smsc-id parameter is not mandatory 
for the smsbox-route group.
Does this imply it can be SMSC independent if some other configuration is 
properly applied? possibly. I've tested smsbox-route group without specifying 
any smsc-ids and this did not work.
But I'm probably missing something.

On Wed, Apr 19, 2023 at 7:28 PM akamat sarat 
mailto:akamat.sa...@gmail.com>> wrote:
I figured out a way to set it up the way I need it to work.
So like I said, I wanted to route all MOs originating from all SMSCs to a 
single script to handle all of them.
In my SMSc configuration I am using reroute-smsc-id to re-route all incoming 
MOs to a single HTTP SMSc that will invoke my script.
The thing that kept me back is the preferred-smsc-id setting, because if it is 
used in conjunction with reroute-smsc-id then reroute-smsc-id is completely 
ignored without any mention of it in kannel logs.



On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas 
mailto:tolga.u...@tolgaulas.com>> wrote:
Not sure on top of my head whether it can be smsc independent, check with the 
documentation in the related section of thart smsc-id part and smsbox-route 
functioning in general.
Tolga Ulas



On Wed, Apr 19, 2023 at 5:51 PM akamat sarat 
mailto:akamat.sa...@gmail.com>> wrote:
Thank for coming back, you mean something like:

group=smsbox-route
smsbox-id=mysmsbox
smsc-id=SMSC1; SMSC2; SMSC3...

If so, this means that every time a new SMSC is added, I will need to add it to 
the smsc-id's list in the above configuration.
After that I will need to restart kannel which I do not want to do.
If thats not what you mean can you write an example?

Thank you.


On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
mailto:tolga.u...@tolgaulas.com>> wrote:
Put a single route to a single smsbox which has a single service and define all 
your smscs in the route as origin.

Tolga Ulas


On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
mailto:akamat.sa...@gmail.com>> wrote:
To all kannelers,

I am trying to find a way to configure kannel so that all incoming messages 
(MOs) from all SMSCs to go to the same script.
The problem is that i could not find a working solution that does not rely on 
smsbox-routes
and it is not possible to add smsbox-routes   on the fly.

Any help would be appreciated


Re: MO Routing on the fly

2023-04-19 Thread akamat sarat
Even though I could not figure it out, the smsc-id parameter is not
mandatory for the smsbox-route group.
Does this imply it can be SMSC independent if some other configuration is
properly applied? possibly. I've tested smsbox-route group without
specifying any smsc-ids and this did not work.
But I'm probably missing something.

On Wed, Apr 19, 2023 at 7:28 PM akamat sarat  wrote:

> I figured out a way to set it up the way I need it to work.
> So like I said, I wanted to route all MOs originating from all SMSCs to a
> single script to handle all of them.
> In my SMSc configuration I am using reroute-smsc-id to re-route all
> incoming MOs to a single HTTP SMSc that will invoke my script.
> The thing that kept me back is the preferred-smsc-id setting, because if
> it is used in conjunction with reroute-smsc-id then reroute-smsc-id is
> completely ignored without any mention of it in kannel logs.
>
>
>
> On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas 
> wrote:
>
>> Not sure on top of my head whether it can be smsc independent, check with
>> the documentation in the related section of thart smsc-id part and
>> smsbox-route functioning in general.
>> Tolga Ulas
>>
>>
>>
>> On Wed, Apr 19, 2023 at 5:51 PM akamat sarat 
>> wrote:
>>
>>> Thank for coming back, you mean something like:
>>>
>>> group=smsbox-route
>>> smsbox-id=mysmsbox
>>> smsc-id=SMSC1; SMSC2; SMSC3...
>>>
>>> If so, this means that every time a new SMSC is added, I will need to
>>> add it to the smsc-id's list in the above configuration.
>>> After that I will need to restart kannel which I do not want to do.
>>> If thats not what you mean can you write an example?
>>>
>>> Thank you.
>>>
>>>
>>> On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
>>> wrote:
>>>
>>>> Put a single route to a single smsbox which has a single service and
>>>> define all your smscs in the route as origin.
>>>>
>>>> Tolga Ulas
>>>>
>>>>
>>>> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
>>>> wrote:
>>>>
>>>>> To all kannelers,
>>>>>
>>>>> I am trying to find a way to configure kannel so that all incoming
>>>>> messages (MOs) from all SMSCs to go to the same script.
>>>>> The problem is that i could not find a working solution that does not
>>>>> rely on smsbox-routes
>>>>> and it is not possible to add smsbox-routes   on the fly.
>>>>>
>>>>> Any help would be appreciated
>>>>>
>>>>


Re: MO Routing on the fly

2023-04-19 Thread akamat sarat
I figured out a way to set it up the way I need it to work.
So like I said, I wanted to route all MOs originating from all SMSCs to a
single script to handle all of them.
In my SMSc configuration I am using reroute-smsc-id to re-route all
incoming MOs to a single HTTP SMSc that will invoke my script.
The thing that kept me back is the preferred-smsc-id setting, because if it
is used in conjunction with reroute-smsc-id then reroute-smsc-id is
completely ignored without any mention of it in kannel logs.



On Wed, Apr 19, 2023 at 7:12 PM Tolga Ulas  wrote:

> Not sure on top of my head whether it can be smsc independent, check with
> the documentation in the related section of thart smsc-id part and
> smsbox-route functioning in general.
> Tolga Ulas
>
>
>
> On Wed, Apr 19, 2023 at 5:51 PM akamat sarat 
> wrote:
>
>> Thank for coming back, you mean something like:
>>
>> group=smsbox-route
>> smsbox-id=mysmsbox
>> smsc-id=SMSC1; SMSC2; SMSC3...
>>
>> If so, this means that every time a new SMSC is added, I will need to add
>> it to the smsc-id's list in the above configuration.
>> After that I will need to restart kannel which I do not want to do.
>> If thats not what you mean can you write an example?
>>
>> Thank you.
>>
>>
>> On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
>> wrote:
>>
>>> Put a single route to a single smsbox which has a single service and
>>> define all your smscs in the route as origin.
>>>
>>> Tolga Ulas
>>>
>>>
>>> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
>>> wrote:
>>>
>>>> To all kannelers,
>>>>
>>>> I am trying to find a way to configure kannel so that all incoming
>>>> messages (MOs) from all SMSCs to go to the same script.
>>>> The problem is that i could not find a working solution that does not
>>>> rely on smsbox-routes
>>>> and it is not possible to add smsbox-routes   on the fly.
>>>>
>>>> Any help would be appreciated
>>>>
>>>


Re: MO Routing on the fly

2023-04-19 Thread Tolga Ulas
Not sure on top of my head whether it can be smsc independent, check with
the documentation in the related section of thart smsc-id part and
smsbox-route functioning in general.
Tolga Ulas



On Wed, Apr 19, 2023 at 5:51 PM akamat sarat  wrote:

> Thank for coming back, you mean something like:
>
> group=smsbox-route
> smsbox-id=mysmsbox
> smsc-id=SMSC1; SMSC2; SMSC3...
>
> If so, this means that every time a new SMSC is added, I will need to add
> it to the smsc-id's list in the above configuration.
> After that I will need to restart kannel which I do not want to do.
> If thats not what you mean can you write an example?
>
> Thank you.
>
>
> On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas 
> wrote:
>
>> Put a single route to a single smsbox which has a single service and
>> define all your smscs in the route as origin.
>>
>> Tolga Ulas
>>
>>
>> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
>> wrote:
>>
>>> To all kannelers,
>>>
>>> I am trying to find a way to configure kannel so that all incoming
>>> messages (MOs) from all SMSCs to go to the same script.
>>> The problem is that i could not find a working solution that does not
>>> rely on smsbox-routes
>>> and it is not possible to add smsbox-routes   on the fly.
>>>
>>> Any help would be appreciated
>>>
>>


Re: MO Routing on the fly

2023-04-19 Thread akamat sarat
Thank for coming back, you mean something like:

group=smsbox-route
smsbox-id=mysmsbox
smsc-id=SMSC1; SMSC2; SMSC3...

If so, this means that every time a new SMSC is added, I will need to add
it to the smsc-id's list in the above configuration.
After that I will need to restart kannel which I do not want to do.
If thats not what you mean can you write an example?

Thank you.


On Wed, Apr 19, 2023 at 5:39 PM Tolga Ulas  wrote:

> Put a single route to a single smsbox which has a single service and
> define all your smscs in the route as origin.
>
> Tolga Ulas
>
>
> On Wed, Apr 19, 2023 at 5:22 PM akamat sarat 
> wrote:
>
>> To all kannelers,
>>
>> I am trying to find a way to configure kannel so that all incoming
>> messages (MOs) from all SMSCs to go to the same script.
>> The problem is that i could not find a working solution that does not
>> rely on smsbox-routes
>> and it is not possible to add smsbox-routes   on the fly.
>>
>> Any help would be appreciated
>>
>


Re: MO Routing on the fly

2023-04-19 Thread Tolga Ulas
Put a single route to a single smsbox which has a single service and define
all your smscs in the route as origin.

Tolga Ulas


On Wed, Apr 19, 2023 at 5:22 PM akamat sarat  wrote:

> To all kannelers,
>
> I am trying to find a way to configure kannel so that all incoming
> messages (MOs) from all SMSCs to go to the same script.
> The problem is that i could not find a working solution that does not rely
> on smsbox-routes
> and it is not possible to add smsbox-routes   on the fly.
>
> Any help would be appreciated
>


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread spameden
Ubuntu 22.04 uses bison 3.8.2 - https://packages.ubuntu.com/jammy/bison
In order to fix the issue you need to either try to compile from SVN or
apply this patch - https://redmine.kannel.org/issues/699#note-5
Best to use SVN code actually as it contains recent bug fixes and in most
cases very stable.

Checkout SVN repo with: svn co https://svn.kannel.org/gateway/trunk and
then proceed with usual compilation routing


On Sun, 16 Apr 2023 at 16:11, Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> On Sunday 16 April 2023 at 13:42:04, Robin C wrote:
>
> > Dear Antony ,
> >
> > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source
> > code??
>
> No; I use 1.4.5 under Debian, installed from the binary package.
>
>
> Antony.
>
> --
> Python is executable pseudocode.
> Perl is executable line noise.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Rajeev Krishna
Hi,


Try:

https://gist.github.com/kewogc/1d679c6c83977d69106f





On Sun, 16 Apr 2023 at 19:23, Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> On Sunday 16 April 2023 at 13:42:04, Robin C wrote:
>
> > Dear Antony ,
> >
> > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source
> > code??
>
> No; I use 1.4.5 under Debian, installed from the binary package.
>
>
> Antony.
>
> --
> Python is executable pseudocode.
> Perl is executable line noise.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
> --




*Thank you*

*Rajeev Krishna*

CTO
Krishnas Software Technologies
www.krishnasoft.in
mobile   :+91 888 5815 888


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Antony Stone
On Sunday 16 April 2023 at 13:42:04, Robin C wrote:

> Dear Antony ,
> 
> Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source
> code??

No; I use 1.4.5 under Debian, installed from the binary package.


Antony.

-- 
Python is executable pseudocode.
Perl is executable line noise.

   Please reply to the list;
 please *don't* CC me.



Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Robin C
Dear Antony ,

Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source
code??

On Sun, Apr 16, 2023, 3:23 PM Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> On Sunday 16 April 2023 at 13:04:28, Robin C wrote:
>
> > Dear Antony,
> > Please find the commands below. I already shared the eroor. I am sharing
> > the error message below.
> >
> > I am using Ubuntu 22.04, Bison 1.4.5.
> > #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz
> > --no-check-certificate
> >
> > # tar -zxvf gateway-1.4.5.tar.gz
> > # cd gateway-1.4.5/
> > # ./configure --with-mysql
> > # make
> >
> > Getting the following error after giving make.
>
> I still don't understand this.
>
> I just downloaded the same tarball, and did:
>
> $ tar -xvf gateway-1.4.5.tar.gz
>
> ... tarball extracts its contents ...
>
> $ find . -name y.tab.c
>
> ... no result ...
>
> $ cd gateway-1.4.5/
> $ ./configure --with-mysql
>
> ... plenty of output, no errors ...
>
> $ find . -name y.tab.c
>
> ... no result ...
>
> $ make
> make: *** No targets specified and no makefile found.  Stop.
>
>
>
> Antony.
>
> --
> Don't procrastinate - put it off until tomorrow.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Antony Stone
On Sunday 16 April 2023 at 13:04:28, Robin C wrote:

> Dear Antony,
> Please find the commands below. I already shared the eroor. I am sharing
> the error message below.
> 
> I am using Ubuntu 22.04, Bison 1.4.5.
> #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz
> --no-check-certificate
> 
> # tar -zxvf gateway-1.4.5.tar.gz
> # cd gateway-1.4.5/
> # ./configure --with-mysql
> # make
> 
> Getting the following error after giving make.

I still don't understand this.

I just downloaded the same tarball, and did:

$ tar -xvf gateway-1.4.5.tar.gz 

... tarball extracts its contents ...

$ find . -name y.tab.c

... no result ...

$ cd gateway-1.4.5/
$ ./configure --with-mysql

... plenty of output, no errors ...

$ find . -name y.tab.c

... no result ...

$ make
make: *** No targets specified and no makefile found.  Stop.



Antony.

-- 
Don't procrastinate - put it off until tomorrow.

   Please reply to the list;
 please *don't* CC me.



Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Antony Stone
On Sunday 16 April 2023 at 13:04:28, Robin C wrote:

> Dear Antony,
> Please find the commands below. I already shared the eroor. I am sharing
> the error message below.
> 
> I am using Ubuntu 22.04, Bison 1.4.5.
> #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz
> --no-check-certificate

The first difference I can see is that I downloaded the Debian source package - 
given that you're using Ubuntu I suggest you start with that instead of the 
tarball from the kannel site.


Antony.

-- 
Why are sea-faring brigands unable to calculate the circumference of a circle?
Because they guess the value of Pi.
(Sorry, this joke only really works well in German).

   Please reply to the list;
 please *don't* CC me.



Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Antony Stone
On Sunday 16 April 2023 at 12:49:57, Robin C wrote:

> y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’

Where does this file come from?

I have a source tree for kannel-1.4.5 here and I have no y.tab.c inside it.


Antony.

-- 
Perfection in design is achieved not when there is nothing left to add, but 
rather when there is nothing left to take away.

 - Antoine de Saint-Exupery

   Please reply to the list;
 please *don't* CC me.



Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Robin C
Dear Antony,
Please find the commands below. I already shared the eroor. I am sharing
the error message below.

I am using Ubuntu 22.04, Bison 1.4.5.
#wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz
--no-check-certificate

# tar -zxvf gateway-1.4.5.tar.gz
# cd gateway-1.4.5/
# ./configure --with-mysql
# make

Getting the following error after giving make.

y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with
type ‘int(void *)’
  296 | int ws_yy_parse(void *context);
  | ^~~
wmlscript/wsgram.c:68:25: error: conflicting types for ‘ws_yy_parse’; have
‘int(void)’
   68 | #define yyparse ws_yy_parse
  | ^~~
y.tab.c:1578:1: note: in expansion of macro ‘yyparse’
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with
type ‘int(void *)’
  296 | int ws_yy_parse(void *context);
  | ^~~
wmlscript/wsgram.y: In function ‘ws_yy_parse’:
wmlscript/wsgram.y:122:49: error: ‘pctx’ undeclared (first use in this
function)
  122 | { ws_error_syntax(pctx, @1.first_line); }
  | ^~~~
wmlscript/wsgram.y:122:49: note: each undeclared identifier is reported
only once for each function it appears in
make: *** [Makefile:225: wmlscript/wsgram.o] Error 1




On Sun, Apr 16, 2023 at 2:52 PM Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> On Sunday 16 April 2023 at 12:41:44, Robin C wrote:
>
> > But I am getting error while doing make.  I am trying to install kannel
> > 1.4.5 and  bison (GNU Bison) 3.8.2.
>
> Well, show us the commands you are running and exactly what error
> message/s
> you are seeing.
>
> You signed your original message as "Robin C, Linux System
> Administrator".  I
> would expect any sys admin with at least modest experience to know that
> saying
> "I'm getting an error" is almost bound to prompt the reply "there's
> probably
> something wrong then".
>
> The quality of assistance you can get is very closely related to the
> quality
> of information you provide.
>
>
> Regards,
>
>
> Antony.
>
> --
> The Magic Words are Squeamish Ossifrage.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>

-- 
 *Thanks & Regards,*



  Robin C

 Linux System Administrator

Web : www.refined.co.in

Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
Vazhuthacaud, Thiruvananthapuram,
Kerala - 695014






Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.

*7* Switch off as you go |*q *Recycle always | P Print only if absolutely
necessary


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Robin C
y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with
type ‘int(void *)’
  296 | int ws_yy_parse(void *context);
  | ^~~
wmlscript/wsgram.c:68:25: error: conflicting types for ‘ws_yy_parse’; have
‘int(void)’
   68 | #define yyparse ws_yy_parse
  | ^~~
y.tab.c:1578:1: note: in expansion of macro ‘yyparse’
In file included from wmlscript/wsgram.y:15:
./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with
type ‘int(void *)’
  296 | int ws_yy_parse(void *context);
  | ^~~
wmlscript/wsgram.y: In function ‘ws_yy_parse’:
wmlscript/wsgram.y:122:49: error: ‘pctx’ undeclared (first use in this
function)
  122 | { ws_error_syntax(pctx, @1.first_line); }
  | ^~~~
wmlscript/wsgram.y:122:49: note: each undeclared identifier is reported
only once for each function it appears in
make: *** [Makefile:225: wmlscript/wsgram.o] Error 1

On Sun, Apr 16, 2023 at 2:41 PM Robin C  wrote:

> But I am getting error while doing make.  I am trying to install kannel
> 1.4.5 and  bison (GNU Bison) 3.8.2.
>
> On Sun, Apr 16, 2023 at 2:23 PM Willy Mularto  wrote:
>
>> Of course it can.
>>
>> Pada tanggal Min, 16 Apr 2023 17.18, Robin C 
>> menulis:
>>
>>> Dear team,
>>>
>>> Is it possible to install kannel with MySQL DB support to send SMS in
>>> Ubuntu 22.04 from the source code?  Otherwise please tell me which version
>>> of Ubuntu I should use. and which version of kannel should I use?
>>>
>>> I also installed using apt command. But I can only start kannel there.
>>> how can I start smsbox and sqlbox if I install using apt. and how can I run
>>> different SMSCs if I use apt installation?
>>>
>>> Please advise. Looking forward to hearing from you.
>>>
>>> --
>>>  *Thanks & Regards,*
>>>
>>>
>>>
>>>   Robin C
>>>
>>>  Linux System Administrator
>>>
>>> Web : www.refined.co.in
>>>
>>> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
>>> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014
>>>
>>>
>>>
>>>
>>>
>>>
>>> Disclaimer:  This message contains confidential information and is
>>> intended only for the individual named.  If you are not the named addressee
>>> you should not disseminate, distribute or copy this e-mail.  Please notify
>>> the sender immediately by e-mail if you have received this e-mail by
>>> mistake and delete this e-mail from your system.  E-mail transmission
>>> cannot be guaranteed to be secure or error-free as information could be
>>> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
>>> contain viruses.  The sender therefore does not accept liability for any
>>> errors or omissions in the contents of this message, which arise as a
>>> result of e-mail transmission.  If verification is required please request
>>> a hard-copy version.
>>>
>>> *7* Switch off as you go |*q *Recycle always | P Print only if
>>> absolutely necessary
>>>
>>
>
> --
>  *Thanks & Regards,*
>
>
>
>   Robin C
>
>  Linux System Administrator
>
> Web : www.refined.co.in
>
> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014
>
>
>
>
>
>
> Disclaimer:  This message contains confidential information and is
> intended only for the individual named.  If you are not the named addressee
> you should not disseminate, distribute or copy this e-mail.  Please notify
> the sender immediately by e-mail if you have received this e-mail by
> mistake and delete this e-mail from your system.  E-mail transmission
> cannot be guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses.  The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission.  If verification is required please request
> a hard-copy version.
>
> *7* Switch off as you go |*q *Recycle always | P Print only if absolutely
> necessary
>


-- 
 *Thanks & Regards,*



  Robin C

 Linux System Administrator

Web : www.refined.co.in

Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
Vazhuthacaud, Thiruvananthapuram,
Kerala - 695014






Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept 

Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Antony Stone
On Sunday 16 April 2023 at 12:41:44, Robin C wrote:

> But I am getting error while doing make.  I am trying to install kannel
> 1.4.5 and  bison (GNU Bison) 3.8.2.

Well, show us the commands you are running and exactly what error message/s 
you are seeing.

You signed your original message as "Robin C, Linux System Administrator".  I 
would expect any sys admin with at least modest experience to know that saying 
"I'm getting an error" is almost bound to prompt the reply "there's probably 
something wrong then".

The quality of assistance you can get is very closely related to the quality 
of information you provide.


Regards,


Antony.

-- 
The Magic Words are Squeamish Ossifrage.

   Please reply to the list;
 please *don't* CC me.



Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Robin C
But I am getting error while doing make.  I am trying to install kannel
1.4.5 and  bison (GNU Bison) 3.8.2.

On Sun, Apr 16, 2023 at 2:23 PM Willy Mularto  wrote:

> Of course it can.
>
> Pada tanggal Min, 16 Apr 2023 17.18, Robin C 
> menulis:
>
>> Dear team,
>>
>> Is it possible to install kannel with MySQL DB support to send SMS in
>> Ubuntu 22.04 from the source code?  Otherwise please tell me which version
>> of Ubuntu I should use. and which version of kannel should I use?
>>
>> I also installed using apt command. But I can only start kannel there.
>> how can I start smsbox and sqlbox if I install using apt. and how can I run
>> different SMSCs if I use apt installation?
>>
>> Please advise. Looking forward to hearing from you.
>>
>> --
>>  *Thanks & Regards,*
>>
>>
>>
>>   Robin C
>>
>>  Linux System Administrator
>>
>> Web : www.refined.co.in
>>
>> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
>> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014
>>
>>
>>
>>
>>
>>
>> Disclaimer:  This message contains confidential information and is
>> intended only for the individual named.  If you are not the named addressee
>> you should not disseminate, distribute or copy this e-mail.  Please notify
>> the sender immediately by e-mail if you have received this e-mail by
>> mistake and delete this e-mail from your system.  E-mail transmission
>> cannot be guaranteed to be secure or error-free as information could be
>> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
>> contain viruses.  The sender therefore does not accept liability for any
>> errors or omissions in the contents of this message, which arise as a
>> result of e-mail transmission.  If verification is required please request
>> a hard-copy version.
>>
>> *7* Switch off as you go |*q *Recycle always | P Print only if
>> absolutely necessary
>>
>

-- 
 *Thanks & Regards,*



  Robin C

 Linux System Administrator

Web : www.refined.co.in

Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
Vazhuthacaud, Thiruvananthapuram,
Kerala - 695014






Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.

*7* Switch off as you go |*q *Recycle always | P Print only if absolutely
necessary


Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox

2023-04-16 Thread Willy Mularto
Of course it can.

Pada tanggal Min, 16 Apr 2023 17.18, Robin C 
menulis:

> Dear team,
>
> Is it possible to install kannel with MySQL DB support to send SMS in
> Ubuntu 22.04 from the source code?  Otherwise please tell me which version
> of Ubuntu I should use. and which version of kannel should I use?
>
> I also installed using apt command. But I can only start kannel there. how
> can I start smsbox and sqlbox if I install using apt. and how can I run
> different SMSCs if I use apt installation?
>
> Please advise. Looking forward to hearing from you.
>
> --
>  *Thanks & Regards,*
>
>
>
>   Robin C
>
>  Linux System Administrator
>
> Web : www.refined.co.in
>
> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road,
> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014
>
>
>
>
>
>
> Disclaimer:  This message contains confidential information and is
> intended only for the individual named.  If you are not the named addressee
> you should not disseminate, distribute or copy this e-mail.  Please notify
> the sender immediately by e-mail if you have received this e-mail by
> mistake and delete this e-mail from your system.  E-mail transmission
> cannot be guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses.  The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission.  If verification is required please request
> a hard-copy version.
>
> *7* Switch off as you go |*q *Recycle always | P Print only if absolutely
> necessary
>


Re: TPS of SqlBox in production?

2023-02-15 Thread Tolga Ulas
We do. There are several points to consider in high performing sbox  (and
bbox as they are siamese twins), most requiring tweaking of underlying
operating systems:
 - check your max open files
 - check your tcp wait timeouts
 - check your cpu core count
 - reconsider your deployment alternatives
 - review your logging requirements
 - check your storage (message and dlr) strategy per the io throughput on
your hardware.
 - check your sendsms agents HTTP version and their keep-alives
 - monitor your concurrent open file handlers/tpc socket count for best
knob values among those.
 - wireshark can be your best friend, sometimes.
 - sqlbox may be another layer of complexity you need to manage and
consider in troubleshooting
 - help yourself with a good (e/sim)mulator for load benchmarking.
 - be ready to dwelve in to the source code as sometimes along the journey
you may find errors text are somewhat discreet.

Tolga Ulas



On Wed, Feb 15, 2023 at 8:18 PM Paulo Correia 
wrote:

> Hello Kannel Users!
>
> I'm using kannel on several instances, each with it's bearerbox and smsbox.
>
> Has anyone noticed issues with lack of sockets when sending high volume of
> messages (above 1000 TPS) to the smsbox through HTTP?
>
> The socket issue might also occur with the DLRs being sent to our apps
> over HTTP.
>
> Would a sqlbox help in such case or the socket issue may be a mith?
>
> Is anyone using sqlbox in production?
> If so, how does it handle high thoughput/volumes?
>
> Also, does anyone know how sqlbox behaves on multi-instance environments?
> Can it share the tables or each sqlbox must have their own pair of tables?
>
> Thanks for your time,
> *Paulo Correia*
> Systems Architect
>
> *telephone:*+351210337760 *fax:* +351210337761
> *email:* paulo.corr...@go4mobility.com skype: pcorreia.g4m
>
> [image: assinatura_email_go4mobility_comlogo]
> 
>
> [image: assinatura_email_go4mobility_followus]
> 
>
>
> _
>
> *CONFIDENTIALITY*
>
> *This message, as well as existing attached files, may be confidential and
> privileged. Use or disclosure by anyone other than an intended recipient is
> not authorized.*
>
> *If you have received this message by error, you are kindly requested to
> delete it and notify the sender. Thank you for your cooperation.*
> 
>
>
> Paulo Correia
>
> Architecture advisor
>
> <%25%25Email%25%25>paulo.corr...@go4mobility.com
>
> +351 210 337 700
>  
> 
> 
> 
>
> *Confidentiality*
>
> *The information in this message is confidential and privileged. It is
> intended solely for the addressee. **If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it is prohibited.  *
>
> *Please contact the sender immediately if you have received this message
> by mistake.*
>
> *Thank you for your cooperation.*
>
>


Re: Delivery Receipt is not coming for a few HTTP requests

2023-02-07 Thread Tolga Ulas
If you're connected over SMPP, make the SMPP driver log level to 0 and
inspect incoming DLR SMPP packets. You can also use wireshark at the kannel
box to monitor the SMPP packages.

Tolga Ulas
+90 533 7464908


On Tue, Feb 7, 2023 at 5:55 AM srinivas akula 
wrote:

> Hi Malik,
>
>Thank you for your email.
>
>
>
> I checked with the operator, and they said that they are sending DLR every
> time.
>
>
>
> Thanks,
>
> Srinivas
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
> *From: *Mesbahuddin Malik 
> *Sent: *07 February 2023 03:59
> *To: *srinivas akula 
> *Cc: *users@kannel.org
> *Subject: *Re: Delivery Receipt is not coming for a few HTTP requests
>
>
>
> It depends on Operator. check with operators is it sending DLR always ?
>
>
>
> On Mon, Feb 6, 2023 at 10:44 PM srinivas akula 
> wrote:
>
> Hi,
>
>I am using the Kannel gateway to send the HTTP API requests to SMSC. I
> am getting the ACK (Submit_sm_res) for all the messages. But, the
> delivery_sm like below is not coming for all messages.
>
>
>
> id:1872403011141464266 sub:001 dlvrd:001 submit date:23013414 done
> date:23013416 stat:DELIVRD err:000 text:
>
>
>
> My dlr-url query string is sId=%P%=%d%=%A=%p
> <https://0935-2405-201-c03f-e07e-41ca-bea9-2a0b-62bf.in.ngrok.io/api/values?sId=%25P%25=%25d%25=%25A=%25p>
>
>
>
> Please help me if someone has idea about this.
>
>
>
> Thanks,
>
> Srinivas Akula
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
>
>


RE: Delivery Receipt is not coming for a few HTTP requests

2023-02-06 Thread srinivas akula
Hi Malik,
   Thank you for your email.

I checked with the operator, and they said that they are sending DLR every time.

Thanks,
Srinivas

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Mesbahuddin Malik<mailto:mesbah.ma...@gmail.com>
Sent: 07 February 2023 03:59
To: srinivas akula<mailto:srinivas.ak...@hotmail.com>
Cc: users@kannel.org<mailto:users@kannel.org>
Subject: Re: Delivery Receipt is not coming for a few HTTP requests

It depends on Operator. check with operators is it sending DLR always ?

On Mon, Feb 6, 2023 at 10:44 PM srinivas akula 
mailto:srinivas.ak...@hotmail.com>> wrote:
Hi,
   I am using the Kannel gateway to send the HTTP API requests to SMSC. I am 
getting the ACK (Submit_sm_res) for all the messages. But, the delivery_sm like 
below is not coming for all messages.

id:1872403011141464266 sub:001 dlvrd:001 submit date:23013414 done 
date:23013416 stat:DELIVRD err:000 text:

My dlr-url query string is 
sId=%P%=%d%=%A=%p<https://0935-2405-201-c03f-e07e-41ca-bea9-2a0b-62bf.in.ngrok.io/api/values?sId=%25P%25=%25d%25=%25A=%25p>

Please help me if someone has idea about this.

Thanks,
Srinivas Akula

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows




Re: Delivery Receipt is not coming for a few HTTP requests

2023-02-06 Thread Mesbahuddin Malik
It depends on Operator. check with operators is it sending DLR always ?

On Mon, Feb 6, 2023 at 10:44 PM srinivas akula 
wrote:

> Hi,
>
>I am using the Kannel gateway to send the HTTP API requests to SMSC. I
> am getting the ACK (Submit_sm_res) for all the messages. But, the
> delivery_sm like below is not coming for all messages.
>
>
>
> id:1872403011141464266 sub:001 dlvrd:001 submit date:23013414 done
> date:23013416 stat:DELIVRD err:000 text:
>
>
>
> My dlr-url query string is sId=%P%=%d%=%A=%p
> 
>
>
>
> Please help me if someone has idea about this.
>
>
>
> Thanks,
>
> Srinivas Akula
>
>
>
> Sent from Mail  for
> Windows
>
>
>


Re: dlr_err

2023-02-03 Thread Alexander Malysh
Hi,

this is raw error code from SMPP TLV.

Regards,
Alexander Malysh
Am 1. Feb. 2023, 10:15 +0100 schrieb arunbm123 :
> hi
>
> I am getting [ META:meta] dlr_err=%30%00%00
> in access.log
>
> can any one enlighten whats this error
>
>
>
> - Thanks
>   Arun
>
>


Re: error: conflicting types for ‘ws_yy_parse’ - CentOs7

2023-01-16 Thread mahesh Lavanam
Thank you.

I have installed the 1.4.5.patch & it resolved the issue.

Thanks,
Mahesh

On Mon, Jan 16, 2023 at 4:11 PM Mesbahuddin Malik 
wrote:

> Try  installing all dependencies like
>
> yum install openssl openssl-devel ncurses-devel
> yum groupinstall 'Development tools' -y
> yum install openssl-devel openjade jadetex docbook-style-dsssl
> texlive-dvips transfig ImageMagick libxml2-devel bison-devel byacc
> texlive-collection-xetex -y
> yum -y install pcre-devel
> yum -y install gsoap-devel
> yum -y install autoconf automake make
> yum -y install wget git patch svn
> yum -y install  psmisc
> yum -y install perl-Tk perl-Digest-MD5
> yum -y install texlive-devel
> yum -y install texlive-*
>
> Regards
> Mesbah
>
> On Mon, Jan 16, 2023 at 4:09 PM mahesh Lavanam <
> mah...@metamorphsystems.com> wrote:
>
>> Hi,
>>
>> Trying to install Kannel 1.4.5 on CentOS 7, seeing below error while
>> running make
>>
>> gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
>> -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -o
>> wmlscript/wslexer.o -c wmlscript/wslexer.c
>> In file included from wmlscript/wslexer.c:72:0:
>> y.tab.h:264:5: error: conflicting types for ‘ws_yy_parse’
>> In file included from wmlscript/wslexer.c:70:0:
>> wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ was
>> here
>>  int ws_yy_parse(void *context);
>>  ^
>> make: *** [wmlscript/wslexer.o] Error 1
>>
>> Tried with bison 3.0.4 & 2.5, in both seeing above error, even with 1.4.4
>> too.
>>
>> Can anyone please help me with this.
>>
>> Thanks,
>> Mahesh
>>
>


Re: error: conflicting types for ‘ws_yy_parse’ - CentOs7

2023-01-16 Thread Mesbahuddin Malik
Try  installing all dependencies like

yum install openssl openssl-devel ncurses-devel
yum groupinstall 'Development tools' -y
yum install openssl-devel openjade jadetex docbook-style-dsssl
texlive-dvips transfig ImageMagick libxml2-devel bison-devel byacc
texlive-collection-xetex -y
yum -y install pcre-devel
yum -y install gsoap-devel
yum -y install autoconf automake make
yum -y install wget git patch svn
yum -y install  psmisc
yum -y install perl-Tk perl-Digest-MD5
yum -y install texlive-devel
yum -y install texlive-*

Regards
Mesbah

On Mon, Jan 16, 2023 at 4:09 PM mahesh Lavanam 
wrote:

> Hi,
>
> Trying to install Kannel 1.4.5 on CentOS 7, seeing below error while
> running make
>
> gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
> -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -o
> wmlscript/wslexer.o -c wmlscript/wslexer.c
> In file included from wmlscript/wslexer.c:72:0:
> y.tab.h:264:5: error: conflicting types for ‘ws_yy_parse’
> In file included from wmlscript/wslexer.c:70:0:
> wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ was
> here
>  int ws_yy_parse(void *context);
>  ^
> make: *** [wmlscript/wslexer.o] Error 1
>
> Tried with bison 3.0.4 & 2.5, in both seeing above error, even with 1.4.4
> too.
>
> Can anyone please help me with this.
>
> Thanks,
> Mahesh
>


Re: Charset or body misformed, rejected

2023-01-04 Thread Alvaro Cornejo
Hi

Are you urlecoding your message?

Regards

Alvaro
||
 Stay safe / Cuídate/  Reste sécurisé
*7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
mesure.
 *q *Recycle always / Recicla siempre / Recyclez toujours
 P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si nécessaire


Le mer. 4 janv. 2023 à 11:58, Ali Kashif  a écrit :

> Hello users,
> I am trying to send special characters in messages like @ _ etc and these
> are replaced with ?.
> I googled things and saw that I need to add
>
> alt-charset = utf-8
> under group = smsc (which I did, but not fixed. )
>
> i tried adding
> coding=2
> charset=utf-8
>
> and as soon as I add charset=utf-8 and send a message kannel throws an
> error
> "Charset or body misformed, rejected"
>
> can someone advise what should be done to send special characters in a
> message,
>
> Thank you
>
>


Re: Super Steep Learning Curve

2022-12-23 Thread Mesbahuddin Malik
Hello Ray,
Seems Your configuration is correct.Add also sql box concept. For Twilio
need a Custom script rather than kannel default.
Regards
Mesbah

On Sat, Dec 24, 2022 at 4:21 AM Ray Kannel Newbie 
wrote:

> Hello Kannel Gurus,
>
> I'm finding it superbly challenging breakig the initial fundamental basics
> of a learning curve in this product.   I guess the reason for this is
> because there isn't very many high-level tutorials and examples available,
> unlike a variety of open source SIP platforms out there.So here I am,
> putting myself out there,  asking stupid question,  ready for some online
> hate and abuse, to try to learn something ;)
>
> Installation of Kannel itself is not an issue.  Straight forward and to
> the point.   But the fundamental building blocks, from what I have
> understood is the following after many hours of reading and not being able
> to send a single message yet.
>
> So folks, please correct me if I am wrong. The Kannel platform,
> appears to be broken down into 3 sections:
>
> 1.  Bearer Box - This is the nervous system of Kannel.  I guess one could
> call it the CPU of Kannel, the "core" of Kannel.   Hence it is under the
> "group = core", and all related startup issues, success, failures etc is
> logged in "/var/log/kannel/bearerbox.log".   I guess there are many other
> parameters in this "group = core",  which are inserted and fine tuned as
> required.   [ Please correct me if I am wrong and/or elaborate please,  for
> better understanding for myself and anyone newbie reading this ].
>
> 2.  SMS Box - I guess sort of self explanatory, "group = smsbox" contains
> all the configurations and parameters related to sending and receiving sms
> messages???
>
> 3.  SMSC Box - With regards to this, I guess when we put group = smsc, and
> then declare the smsc = smpp (or wap) or other parameters, I'm guessing it
> is the "protocol" that is being used, with the port = (some port number)
> declaration and necessary userid / password credentials for some SMPP
> server or device to connect to you, or for you to connect to a SMPP box
> (???).
>
> My objective is to be able to connect with TWILIO, and other smpp service
> providers on the long run, to be able to manage incoming sms messages from
> other sms gateways, and also an actual cell phone or sms device with sim
> card, connected to my Kannel.
>
> Seeking knowledge and advice from the crowd, recommendations on books and
> tutorials etc.,  both at the extremely high level,  and also at the low
> level configuration examples.
>
> Thanks!
> Ray.
>
>
>
>


Re: FREE BULK SMS FRONT END APPLICATION

2022-11-29 Thread Web Min
Is there any online version?

In which PHP Framework was built?

On Wed, Nov 30, 2022 at 6:49 AM Textnator Support 
wrote:

>
> https://drive.google.com/file/d/1ExpJAeWDMlK1FPpM4Jbbt9fBbK3Bmms7/view?usp=drive_web
>
> On Tue, Nov 29, 2022 at 7:23 PM MOSES KARIUKI  wrote:
>
>> Hello Textnator,
>>
>> I am interested.
>>
>> Regards,
>> Moses K
>>
>> On Mon, Nov 14, 2022 at 11:12 AM Textnator Support 
>> wrote:
>>
>>> Hi,
>>> If anybody wants free bulk sms,voice,smpp source code pls reply to my
>>> email,it's an old one,not updated but currently used by some companies.
>>>
>>> PHP5.6 you can try with newer versions
>>> Zend 1.12 With Doctrine ORM
>>> Mysql 5.7
>>> Backend is Kannel, Sqlbox and Asterisk which is not included, you can
>>> install and configure from their website.
>>>
>>> Features
>>> DYNAMIC ROLE AND RESOURCE
>>> CREDIT SYSTEM
>>> WHITE LABELLED RESELLER
>>> WITH PERCENTAGE CUTTING(FAKE REPORT)
>>> SMS
>>> VOICE
>>> SMPP
>>> TINY URL
>>> ADD SMSC
>>> MONITOR
>>> LOGS
>>> MULTIPLE VIEW TEMPLATE FOR RESELLERS
>>>
>>


Re: FREE BULK SMS FRONT END APPLICATION

2022-11-29 Thread Textnator Support
https://drive.google.com/file/d/1ExpJAeWDMlK1FPpM4Jbbt9fBbK3Bmms7/view?usp=drive_web

On Tue, Nov 29, 2022 at 7:23 PM MOSES KARIUKI  wrote:

> Hello Textnator,
>
> I am interested.
>
> Regards,
> Moses K
>
> On Mon, Nov 14, 2022 at 11:12 AM Textnator Support 
> wrote:
>
>> Hi,
>> If anybody wants free bulk sms,voice,smpp source code pls reply to my
>> email,it's an old one,not updated but currently used by some companies.
>>
>> PHP5.6 you can try with newer versions
>> Zend 1.12 With Doctrine ORM
>> Mysql 5.7
>> Backend is Kannel, Sqlbox and Asterisk which is not included, you can
>> install and configure from their website.
>>
>> Features
>> DYNAMIC ROLE AND RESOURCE
>> CREDIT SYSTEM
>> WHITE LABELLED RESELLER
>> WITH PERCENTAGE CUTTING(FAKE REPORT)
>> SMS
>> VOICE
>> SMPP
>> TINY URL
>> ADD SMSC
>> MONITOR
>> LOGS
>> MULTIPLE VIEW TEMPLATE FOR RESELLERS
>>
>


Re: FREE BULK SMS FRONT END APPLICATION

2022-11-29 Thread MOSES KARIUKI
Hello Textnator,

I am interested.

Regards,
Moses K

On Mon, Nov 14, 2022 at 11:12 AM Textnator Support 
wrote:

> Hi,
> If anybody wants free bulk sms,voice,smpp source code pls reply to my
> email,it's an old one,not updated but currently used by some companies.
>
> PHP5.6 you can try with newer versions
> Zend 1.12 With Doctrine ORM
> Mysql 5.7
> Backend is Kannel, Sqlbox and Asterisk which is not included, you can
> install and configure from their website.
>
> Features
> DYNAMIC ROLE AND RESOURCE
> CREDIT SYSTEM
> WHITE LABELLED RESELLER
> WITH PERCENTAGE CUTTING(FAKE REPORT)
> SMS
> VOICE
> SMPP
> TINY URL
> ADD SMSC
> MONITOR
> LOGS
> MULTIPLE VIEW TEMPLATE FOR RESELLERS
>


Re: Kannel Commercial version

2022-11-28 Thread Gabriel Augusto Diaz Zapata
Still interested on  smppBox Ver 5,0

Somebody in charge?

On Sat, Nov 26, 2022 at 12:21 PM Gabriel Augusto Diaz Zapata <
gabriel.d...@gmail.com> wrote:

> Hi Team
>
> I am urgently interested on a commercial version of Kannel
> Please contact me for details
>
>
> Let me know
>
> gabrielD
>


Re: FREE BULK SMS FRONT END APPLICATION

2022-11-15 Thread Textnator Support
https://drive.google.com/file/d/1ExpJAeWDMlK1FPpM4Jbbt9fBbK3Bmms7/view?usp=drive_web

Yes I have an unofficial whatsapp backend API with source code.


On Wed, Nov 16, 2022 at 8:28 AM Sumit | Sybex Infotech <
su...@sybexinfotech.com> wrote:

> Hi Vinayak,
>
> I’m interested. Kindly share the details and source code so we can have
> more talk. If you have bulk WhatsApp application code with the bot and api
> that will be great. We will be happy to get connected.
>
> On Mon, 14 Nov 2022 at 1:42 PM, Textnator Support 
> wrote:
>
>> Hi,
>> If anybody wants free bulk sms,voice,smpp source code pls reply to my
>> email,it's an old one,not updated but currently used by some companies.
>>
>> PHP5.6 you can try with newer versions
>> Zend 1.12 With Doctrine ORM
>> Mysql 5.7
>> Backend is Kannel, Sqlbox and Asterisk which is not included, you can
>> install and configure from their website.
>>
>> Features
>> DYNAMIC ROLE AND RESOURCE
>> CREDIT SYSTEM
>> WHITE LABELLED RESELLER
>> WITH PERCENTAGE CUTTING(FAKE REPORT)
>> SMS
>> VOICE
>> SMPP
>> TINY URL
>> ADD SMSC
>> MONITOR
>> LOGS
>> MULTIPLE VIEW TEMPLATE FOR RESELLERS
>>
> --
> Thanks & Regards
>   Sumit Kshatriya
> *Sybex Infotech*
> P. 9225 122 122, M. 9028 229 229
> W. www.sybexinfotech.com,   E. su...@sybexinfotech.com
>   Sybex Infotech is a Digital Marketing Agency deals in SEO & SEM,
> Creative Web Design & Development,
> Responsive Websites, Mobile Application Development, and E-commerce
> Development.
>


free_speech_to_text_indian_english.postman_collection.json
Description: application/json


free_textnator.postman_api_collection.json
Description: application/json


Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-24 Thread Alexander Malysh
Hi,

access-log-format controls access log format and if it’s changed you may see in 
access log different flag positions which results in different values für 
message coding in URL.

Regards,
Alexander Malysh
Am 20. Okt. 2022, 08:58 +0200 schrieb Giulio Giovannini 
:
> Hello Alexander.
>
> Not sure what you mean. What config parameter controls the access log format 
> you are referring to? How do you think it is set and how should I set it?
> How would the log format have an impact on placeholder substitution?
>
> Best regards,
> Giulio
>
> > On Wed, 19 Oct 2022 at 17:18, Alexander Malysh  wrote:
> > > Hi,
> > >
> > > did you maybe changed access log format and mixed %c / %C there ?
> > >
> > > Regards,
> > > Alexander Malysh
> > > Am 3. Okt. 2022, 11:46 +0200 schrieb Giulio Giovannini 
> > > :
> > > > Hi all,
> > > >
> > > > I receive on kannel (svn-r5188M) an MO message with the below flags:
> > > >
> > > > 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:] 
> > > > [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1] 
> > > > [msg:278:] [udh:0:]
> > > >
> > > > As you can see the second flag, the message coding %c, is set to 2 and 
> > > > the body of the MO is UCS2 encoded.
> > > >
> > > > I forward this message out using smsbox HTTP client capabilities 
> > > > configuring the below get-url:
> > > >
> > > > group = sms-service
> > > > keyword-regex = ".*"
> > > > name= 
> > > > catch-all = true
> > > > get-url = 
> > > > "http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1;
> > > > accept-x-kannel-headers = true
> > > > max-messages = 0
> > > >
> > > > As you can see I am asking kannel to fill parameter messageCoding with 
> > > > content of placeholder %c
> > > >
> > > > If I check the smsbox access log I see that the messageCoding has been 
> > > > set to 0 when the message is forwarded to the HTTP endpoint defined in 
> > > > the get-url.
> > > >
> > > > 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url: 
> > > > 'http:///.com/dispatcher?messageCoding=0==='
> > > >  reply: 200 '<< successful >>'
> > > >
> > > > Is this a known bug? Have I misconfigured anything?
> > > >
> > > > Using %C placeholder instead of %c would solve the issue I think. The 
> > > > 4th flag in the log trace above printed when the message is received is 
> > > > the %C placeholder and it is already at 0 (flags:-1:2:-1:0:-1).
> > > >
> > > > Thanks for your help,
> > > >
> > > > Giulio
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >


Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-20 Thread Giulio Giovannini
Hello Alexander.

Not sure what you mean. What config parameter controls the access log
format you are referring to? How do you think it is set and how should I
set it?
How would the log format have an impact on placeholder substitution?

Best regards,
Giulio

On Wed, 19 Oct 2022 at 17:18, Alexander Malysh  wrote:

> Hi,
>
> did you maybe changed access log format and mixed %c / %C there ?
>
> Regards,
> Alexander Malysh
> Am 3. Okt. 2022, 11:46 +0200 schrieb Giulio Giovannini <
> giulio.in...@gmail.com>:
>
> Hi all,
>
> I receive on kannel (svn-r5188M) an MO message with the below flags:
>
> 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:]
> [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1]
> [msg:278:] [udh:0:]
>
> As you can see the second flag, the message coding %c, is set to 2 and the
> body of the MO is UCS2 encoded.
>
> I forward this message out using smsbox HTTP client capabilities
> configuring the below get-url:
>
> group = sms-service
> keyword-regex = ".*"
> name= 
> catch-all = true
> get-url = "
> http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1
> "
> accept-x-kannel-headers = true
> max-messages = 0
>
> As you can see I am asking kannel to fill parameter messageCoding with
> content of placeholder %c
>
> If I check the smsbox access log I see that the messageCoding has been set
> to 0 when the message is forwarded to the HTTP endpoint defined in the
> get-url.
>
> 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url:
> 'http:///.com/dispatcher?messageCoding=0==='
> reply: 200 '<< successful >>'
>
> Is this a known bug? Have I misconfigured anything?
>
> Using %C placeholder instead of %c would solve the issue I think. The 4th
> flag in the log trace above printed when the message is received is the %C
> placeholder and it is already at 0 (flags:-1:2:-1:*0*:-1).
>
> Thanks for your help,
>
> Giulio
>
>
>
>
>
>
>


Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-19 Thread Alexander Malysh
Hi,

did you maybe changed access log format and mixed %c / %C there ?

Regards,
Alexander Malysh
Am 3. Okt. 2022, 11:46 +0200 schrieb Giulio Giovannini :
> Hi all,
>
> I receive on kannel (svn-r5188M) an MO message with the below flags:
>
> 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:] 
> [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1] 
> [msg:278:] [udh:0:]
>
> As you can see the second flag, the message coding %c, is set to 2 and the 
> body of the MO is UCS2 encoded.
>
> I forward this message out using smsbox HTTP client capabilities configuring 
> the below get-url:
>
> group = sms-service
> keyword-regex = ".*"
> name= 
> catch-all = true
> get-url = 
> "http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1;
> accept-x-kannel-headers = true
> max-messages = 0
>
> As you can see I am asking kannel to fill parameter messageCoding with 
> content of placeholder %c
>
> If I check the smsbox access log I see that the messageCoding has been set to 
> 0 when the message is forwarded to the HTTP endpoint defined in the get-url.
>
> 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url: 
> 'http:///.com/dispatcher?messageCoding=0===' 
> reply: 200 '<< successful >>'
>
> Is this a known bug? Have I misconfigured anything?
>
> Using %C placeholder instead of %c would solve the issue I think. The 4th 
> flag in the log trace above printed when the message is received is the %C 
> placeholder and it is already at 0 (flags:-1:2:-1:0:-1).
>
> Thanks for your help,
>
> Giulio
>
>
>
>
>
>


Re: Error SQLBOX installation on Ubuntu 20.04

2022-10-18 Thread vinayak mv
I have installed from SVN trunk

On Tue, 18 Oct, 2022, 6:07 pm Antony Stone, <
antony.st...@kannel.open.source.it> wrote:

> On Tuesday 18 October 2022 at 12:00:43, Textnator Support wrote:
>
> > Hi,
> > i tried to install sqlbox from kannel1.5 addons on ubuntu 20.04
>
> 1.5 is a very old development version.
>
> I recommend using 1.4.5 (much more recent production version) instead.
>
>
> Antony.
>
> --
> You can spend the whole of your life trying to be popular,
> but at the end of the day the size of the crowd at your funeral
> will be largely dictated by the weather.
>
>  - Frank Skinner
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>


Re: Error SQLBOX installation on Ubuntu 20.04

2022-10-18 Thread Antony Stone
On Tuesday 18 October 2022 at 12:00:43, Textnator Support wrote:

> Hi,
> i tried to install sqlbox from kannel1.5 addons on ubuntu 20.04

1.5 is a very old development version.

I recommend using 1.4.5 (much more recent production version) instead.


Antony.

-- 
You can spend the whole of your life trying to be popular,
but at the end of the day the size of the crowd at your funeral
will be largely dictated by the weather.

 - Frank Skinner

   Please reply to the list;
 please *don't* CC me.



Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-05 Thread Mesbahuddin Malik
Can have a try on SQLBox ?

On Wed, Oct 5, 2022 at 4:55 PM Giulio Giovannini 
wrote:

> Thanks Mesbahuddin.
>
> If you mean that I might not be actually using the get-url I have reported
> in my email then I sure I am using that. All my inbound services are
> defined in the same way, specifying messgaCoding=%c in the get-url.
> Plus I see in the logs the HTTP GET performed by kannel to my endpoint and
> I can see it is coming from that get-url configuration.
>
> Giulio
>
> On Wed, 5 Oct 2022 at 12:42, Mesbahuddin Malik 
> wrote:
>
>> Double check your config files.
>>
>> Regards
>> Mesbah
>>
>> On Wed, Oct 5, 2022 at 3:53 PM Giulio Giovannini 
>> wrote:
>>
>>> Hi all,
>>>
>>> nobody has ever encountered this issue or knows how to solve it?
>>>
>>> Best ragards,
>>> Giulio
>>>
>>> On Mon, 3 Oct 2022 at 11:46, Giulio Giovannini 
>>> wrote:
>>>
 Hi all,

 I receive on kannel (svn-r5188M) an MO message with the below flags:

 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:]
 [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1]
 [msg:278:] [udh:0:]

 As you can see the second flag, the message coding %c, is set to 2 and
 the body of the MO is UCS2 encoded.

 I forward this message out using smsbox HTTP client capabilities
 configuring the below get-url:

 group = sms-service
 keyword-regex = ".*"
 name= 
 catch-all = true
 get-url = "
 http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1
 "
 accept-x-kannel-headers = true
 max-messages = 0

 As you can see I am asking kannel to fill parameter messageCoding with
 content of placeholder %c

 If I check the smsbox access log I see that the messageCoding has been
 set to 0 when the message is forwarded to the HTTP endpoint defined in the
 get-url.

 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url:
 'http:///
 .com/dispatcher?messageCoding=0==='
 reply: 200 '<< successful >>'

 Is this a known bug? Have I misconfigured anything?

 Using %C placeholder instead of %c would solve the issue I think. The
 4th flag in the log trace above printed when the message is received is the
 %C placeholder and it is already at 0 (flags:-1:2:-1:*0*:-1).

 Thanks for your help,

 Giulio









Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-05 Thread Giulio Giovannini
Thanks Mesbahuddin.

If you mean that I might not be actually using the get-url I have reported
in my email then I sure I am using that. All my inbound services are
defined in the same way, specifying messgaCoding=%c in the get-url.
Plus I see in the logs the HTTP GET performed by kannel to my endpoint and
I can see it is coming from that get-url configuration.

Giulio

On Wed, 5 Oct 2022 at 12:42, Mesbahuddin Malik 
wrote:

> Double check your config files.
>
> Regards
> Mesbah
>
> On Wed, Oct 5, 2022 at 3:53 PM Giulio Giovannini 
> wrote:
>
>> Hi all,
>>
>> nobody has ever encountered this issue or knows how to solve it?
>>
>> Best ragards,
>> Giulio
>>
>> On Mon, 3 Oct 2022 at 11:46, Giulio Giovannini 
>> wrote:
>>
>>> Hi all,
>>>
>>> I receive on kannel (svn-r5188M) an MO message with the below flags:
>>>
>>> 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:]
>>> [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1]
>>> [msg:278:] [udh:0:]
>>>
>>> As you can see the second flag, the message coding %c, is set to 2 and
>>> the body of the MO is UCS2 encoded.
>>>
>>> I forward this message out using smsbox HTTP client capabilities
>>> configuring the below get-url:
>>>
>>> group = sms-service
>>> keyword-regex = ".*"
>>> name= 
>>> catch-all = true
>>> get-url = "
>>> http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1
>>> "
>>> accept-x-kannel-headers = true
>>> max-messages = 0
>>>
>>> As you can see I am asking kannel to fill parameter messageCoding with
>>> content of placeholder %c
>>>
>>> If I check the smsbox access log I see that the messageCoding has been
>>> set to 0 when the message is forwarded to the HTTP endpoint defined in the
>>> get-url.
>>>
>>> 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url:
>>> 'http:///.com/dispatcher?messageCoding=0==='
>>> reply: 200 '<< successful >>'
>>>
>>> Is this a known bug? Have I misconfigured anything?
>>>
>>> Using %C placeholder instead of %c would solve the issue I think. The
>>> 4th flag in the log trace above printed when the message is received is the
>>> %C placeholder and it is already at 0 (flags:-1:2:-1:*0*:-1).
>>>
>>> Thanks for your help,
>>>
>>> Giulio
>>>
>>>
>>>
>>>
>>>
>>>
>>>


Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-05 Thread Mesbahuddin Malik
Double check your config files.

Regards
Mesbah

On Wed, Oct 5, 2022 at 3:53 PM Giulio Giovannini 
wrote:

> Hi all,
>
> nobody has ever encountered this issue or knows how to solve it?
>
> Best ragards,
> Giulio
>
> On Mon, 3 Oct 2022 at 11:46, Giulio Giovannini 
> wrote:
>
>> Hi all,
>>
>> I receive on kannel (svn-r5188M) an MO message with the below flags:
>>
>> 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:]
>> [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1]
>> [msg:278:] [udh:0:]
>>
>> As you can see the second flag, the message coding %c, is set to 2 and
>> the body of the MO is UCS2 encoded.
>>
>> I forward this message out using smsbox HTTP client capabilities
>> configuring the below get-url:
>>
>> group = sms-service
>> keyword-regex = ".*"
>> name= 
>> catch-all = true
>> get-url = "
>> http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1
>> "
>> accept-x-kannel-headers = true
>> max-messages = 0
>>
>> As you can see I am asking kannel to fill parameter messageCoding with
>> content of placeholder %c
>>
>> If I check the smsbox access log I see that the messageCoding has been
>> set to 0 when the message is forwarded to the HTTP endpoint defined in the
>> get-url.
>>
>> 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url:
>> 'http:///.com/dispatcher?messageCoding=0==='
>> reply: 200 '<< successful >>'
>>
>> Is this a known bug? Have I misconfigured anything?
>>
>> Using %C placeholder instead of %c would solve the issue I think. The 4th
>> flag in the log trace above printed when the message is received is the %C
>> placeholder and it is already at 0 (flags:-1:2:-1:*0*:-1).
>>
>> Thanks for your help,
>>
>> Giulio
>>
>>
>>
>>
>>
>>
>>


Re: Mismatch between received message coding and smsbox forwarded message coding

2022-10-05 Thread Giulio Giovannini
Hi all,

nobody has ever encountered this issue or knows how to solve it?

Best ragards,
Giulio

On Mon, 3 Oct 2022 at 11:46, Giulio Giovannini 
wrote:

> Hi all,
>
> I receive on kannel (svn-r5188M) an MO message with the below flags:
>
> 2022-10-03 08:14:15 Receive SMS [SMSC:] [SVC:] [ACT:] [BINF:]
> [FID:] [META:?smpp?] [from:] [to:xxx] [flags:-1:2:-1:0:-1]
> [msg:278:] [udh:0:]
>
> As you can see the second flag, the message coding %c, is set to 2 and the
> body of the MO is UCS2 encoded.
>
> I forward this message out using smsbox HTTP client capabilities
> configuring the below get-url:
>
> group = sms-service
> keyword-regex = ".*"
> name= 
> catch-all = true
> get-url = "
> http://.com/dispatcher?messageCoding=%c=%P=%p=%b=1
> "
> accept-x-kannel-headers = true
> max-messages = 0
>
> As you can see I am asking kannel to fill parameter messageCoding with
> content of placeholder %c
>
> If I check the smsbox access log I see that the messageCoding has been set
> to 0 when the message is forwarded to the HTTP endpoint defined in the
> get-url.
>
> 2022-10-03 08:14:15 SMS HTTP-request sender: request: 'xxx!' url:
> 'http:///.com/dispatcher?messageCoding=0==='
> reply: 200 '<< successful >>'
>
> Is this a known bug? Have I misconfigured anything?
>
> Using %C placeholder instead of %c would solve the issue I think. The 4th
> flag in the log trace above printed when the message is received is the %C
> placeholder and it is already at 0 (flags:-1:2:-1:*0*:-1).
>
> Thanks for your help,
>
> Giulio
>
>
>
>
>
>
>


Re: FREE UNOFFICIAL TRANSACTIONAL WHATSAPP USER/RESELLER WITH API AND INBOUND ACCOUNT FOR ONE MONTH

2022-08-29 Thread Web Services
Signup on https://wa.poweredm.in.net/register

On Tue, 30 Aug, 2022, 10:46 am James Tugume,  wrote:

> Hello,
>
> I am interested in using your API services.
>
> Please share the details
>
> On Tue, Aug 30, 2022 at 8:10 AM Textnator Support 
> wrote:
>
>> Hi,
>> If anybody need whatsapp API resellership/user account  for integrating
>> in billing software or inbound webhook for CRM integration or bulk
>> transactional messaging.please let me know
>>
>> Kind Regards,
>> Textnator Team
>> +919895909009
>> www.textnator.com
>>
>


Re: FREE UNOFFICIAL TRANSACTIONAL WHATSAPP USER/RESELLER WITH API AND INBOUND ACCOUNT FOR ONE MONTH

2022-08-29 Thread James Tugume
Hello,

I am interested in using your API services.

Please share the details

On Tue, Aug 30, 2022 at 8:10 AM Textnator Support 
wrote:

> Hi,
> If anybody need whatsapp API resellership/user account  for integrating in
> billing software or inbound webhook for CRM integration or bulk
> transactional messaging.please let me know
>
> Kind Regards,
> Textnator Team
> +919895909009
> www.textnator.com
>


Re: kannel init.d script question

2022-08-15 Thread Textnator Support
FOR UNOFFICIAL WHATSAPP SENDER USER/RESELLER ACCOUNTS AND API AND WEBHOOK
API, PLEASE REPLY FOR DEMO

On Wed, Jun 29, 2022 at 7:28 PM lbrezs...@gmx.co.uk 
wrote:

> One more error: start-stop-daemon: unrecognized option '--retry'
>
> kannel[1169]:  bearerbox
> kannel[1173]: /usr/local/sbin/start-stop-daemon: unrecognized option
> '--retry'
> kannel[1173]: Try `/usr/local/sbin/start-stop-daemon --help' for more
> information.
> kannel[1169]: .
> systemd[1]: kannel.service: Succeeded.
>
> On 6/27/2022 20:59, lbrezs...@gmx.co.uk wrote:
> > Compiled kannel from svn (version 5324) on Debian.
> >
> > Copied kannel init script to /etc/init.d/
> >
> > ~$ sudo cp /usr/src/gateway-svn-5324/debian/kannel.init
> > /etc/init.d/kannel
> >
> > To start kannel
> >
> > ~$ systemctl start kannel
> >
> > works as expected, but
> >
> > ~$ systemctl stop kannel
> >
> > does not.
> >
> > kannel[2707]: start-stop-daemon: unrecognized option '--retry'
> > kannel[2707]: Try `start-stop-daemon --help' for more information.
> > kannel[2705]: .
> > systemd[1]: kannel.service: Succeeded.
> > systemd[1]: kannel.service: Unit process 2199 (run_kannel_box) remains
> > running after unit stopped.
> > systemd[1]: kannel.service: Unit process 2201 (bearerbox) remains
> > running after unit stopped.
> > systemd[1]: kannel.service: Unit process 2211 (run_kannel_box) remains
> > running after unit stopped.
> > systemd[1]: kannel.service: Unit process 2212 (smsbox) remains running
> > after unit stopped.
> > systemd[1]: Stopped kannel.service.
> > systemd[1]: kannel.service: Consumed 1.102s CPU time.
> >
> > As a result, kannel is still running
> >
> > ~$ pgrep -u kannel
> >
> > 2199
> > 2201
> > 2211
> > 2212
> >
> > shows all 4 pids active and have to kill them manually.
> >
> > Am I missing something? Or it's a bug?
> >
> > Thanks,
> >
> > Lelik.
> >
> >
>
>


Re: kannel init.d script question

2022-06-29 Thread lbrezs...@gmx.co.uk

One more error: start-stop-daemon: unrecognized option '--retry'

kannel[1169]:  bearerbox
kannel[1173]: /usr/local/sbin/start-stop-daemon: unrecognized option
'--retry'
kannel[1173]: Try `/usr/local/sbin/start-stop-daemon --help' for more
information.
kannel[1169]: .
systemd[1]: kannel.service: Succeeded.

On 6/27/2022 20:59, lbrezs...@gmx.co.uk wrote:

Compiled kannel from svn (version 5324) on Debian.

Copied kannel init script to /etc/init.d/

~$ sudo cp /usr/src/gateway-svn-5324/debian/kannel.init
/etc/init.d/kannel

To start kannel

~$ systemctl start kannel

works as expected, but

~$ systemctl stop kannel

does not.

kannel[2707]: start-stop-daemon: unrecognized option '--retry'
kannel[2707]: Try `start-stop-daemon --help' for more information.
kannel[2705]: .
systemd[1]: kannel.service: Succeeded.
systemd[1]: kannel.service: Unit process 2199 (run_kannel_box) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2201 (bearerbox) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2211 (run_kannel_box) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2212 (smsbox) remains running
after unit stopped.
systemd[1]: Stopped kannel.service.
systemd[1]: kannel.service: Consumed 1.102s CPU time.

As a result, kannel is still running

~$ pgrep -u kannel

2199
2201
2211
2212

shows all 4 pids active and have to kill them manually.

Am I missing something? Or it's a bug?

Thanks,

Lelik.






Re: Multipart long message delivery receipt problem

2022-06-25 Thread lbrezs...@gmx.co.uk

Hi Ruben,

We are fully aware of TLV 0x0427. We implemented and use it .. with 1 of
our 3 providers.

The other two do not support it. :(

Regards,

Lelik.


On 6/24/2022 19:45, Ruben Melikyan wrote:

Hi Lelik,
To avoid such behavior you should tell kannel to submit long messages
as payload (instead of multipart, which is default option). In this
case you will have only one submit and one delivery report for long
messages.

You can reach this functionality by adding TLV parameter for your
smsc. Normally it goes  in the end of your smsc config.

Below you can see config example

#-SMSC smpp -

group = smsc
smsc = smpp
smsc-id = MYSMSC
host = ***.***.***.***
port = 
transceiver-mode = true
interface-version = 34
**
***



group = smpp-tlv
name = message_payload
tag = 0x0424
type = octetstring
length = 5000
smsc-id = MYSMSC;



On Wed, 22 Jun 2022 at 01:26 lbrezs...@gmx.co.uk
 wrote:

Alexander,

We observed totally different behaviour of Kannel:

1) Kannel requested all segments for delivery, not just 1, i.e. 3
segment message will result in 3 submit_sm (s) all marked with
registered_delivery: 1 = 0x0001

2) dlr_mask is altered with dlr8/16 flipped back to 0 as kannel
converts ACKs and NACKs to dlr8/16 instead

3) Kannel receives all corresponding submit_sm_resp(s). Only 1st
segment message_id is written to dlr storage. And only one
ACK/NACK is converted to dlr8/16.

4) Depending on the end user mobile provider, we get either all
segments deliver_sm(s) or just 1. In fact, majority of the
carriers return multiple. In fact, only one carrier returns 1
part and it's the last segment message_id :(

5) The order of the corresponding deliver_sm is arbitrary. If the
1st segment deliver_sm comes 1st, then you are in luck, as it
will be matched to the message_id in dlr_storage and delivered to
smsbox. Any other part would result in error "got DLR but could
not fi nd message or was not interested in it" and dlr would be lost.

In my honest opinion, there is an easy fix, but it involves
altering Kannel source code and re-compiling it.

Write both id(s) to the dlr storage. id of the 1 segment + id of
the current segment. We use redis for example. 3 segment message
would result in something like this:

Now:

123) "dlr:provider_smsc:11"

Altered:

100) "dlr:provider_smsc:11:11"

101) "dlr:provider_smsc:11:12"

102) "dlr:provider_smsc:11:13"

When 1st deliver_sm received, let say for message_id 13
(last), match dlr by message id 13, but delete by all dlr(s)
marked 11, and give the dlr to smsbox.

When next dlr let say for id 12 comes in, it will result in
"got DLR but could not find message or was not interested in it"
error (flip to warning) and no dlr would be given to smsbox.

This way you always get only one dlr, and you do not depend on
which order they are sent back by the provider.

Regards,

Lelik.


On 6/21/2022 04:27, Alexander Malysh wrote:

Hi,

Kännel per default split long message and request DLR for only
first part of long message. If carrier sends more DLRs as
requested, it’s a bug on carrier side. To get all DLRs requested
for long message, more work on patching channel is needed,
because a mid layer expect only one DLR from kannel to be
delivered, because mid layer made only one request to kannel.

Regards,
Alexander Malysh
Am 16. Juni 2022, 17:54 +0200 schrieb lbrezs...@gmx.co.uk
 <mailto:lbrezs...@gmx.co.uk>:

Hi all,

When sending long messages using native Kannel concatenation
functionality based on UDH, we are experiencing problems with
matching
delivery receipts of the submitted messages.

The problem arises from the fact that not all carries send back all
delivery receipts. Some send only one receipt and it's not not
necessarily #1.

Basically there are 3 scenarios:

1) Carrier/Provider #1 sends back 1 delivery receipt and message_id
correspondents to segment #1. Bearer_box matches by message_id, and
forwards 1 delivery receipt to sms_box. This is the most
desirable path.

2) Carrier/Provider #2 sends back 1 delivery receipt and message_id
correspondents to last segment. Bearer_box cannot match by
message_id,
and does NOT forward a delivery receipt to sms_box at all.

Delivery receipt is lost.

3) Carrier/Provider #3 sends back all delivery receipts for each
segment. The order is random, lat say 5-segment message migh
come back
as 3,5,1,4,2. Bearer_box cannot match 3,5, matches 1 , cannot
match 4,2
. It forwards only a delivery receipt for segment # 1 to
sms_box. The
other 2,3,4,5 would stay in dlr-storage and eventually expir

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

2022-06-24 Thread Stipe Tolj

Am 22.06.22, 09:13, schrieb christopher kamutumwa:

Hello team,
I get this when % sign is put in message . Advise how to resolve.


the function octstr_url_decode() assumes that the input is a URL-encoded 
string.


By definition a % is a special character in the URL-encoded string 
format, which follows a 2 character value representing the byte code, 
i.e. %30 for the ASCII character '0'. A sole '%' in the string, i.e. at 
the end would be an illegal input, by definition.


If you need to "decode" a '%' sign itself, that would be the URL-encoded 
value %25.


--
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: octstr_url_decode: corrupted end-of-string <%>

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

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

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


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

2022-06-22 Thread Alvaro Cornejo
Hi

I guess you need to urleconde your string.

Regards,

Alvaro
||
 Stay safe / Cuídate/  Reste sécurisé
*7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
mesure.
 *q *Recycle always / Recicla siempre / Recyclez toujours
 P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si nécessaire


Le mer. 22 juin 2022 à 02:23, christopher kamutumwa <
chriskamutu...@gmail.com> a écrit :

> Hello team,
> I get this when % sign is put in message . Advise how to resolve.
>
> Thanks in advances
>
> chris
>


Re: Storing number of SMS segments (submit_sms) in the database

2022-06-22 Thread Simon Peter Otandeka
I am using SMPP.
Where in kannel/sqlbox config do I set that parameter?

Best regards,
Simon



On Tue, 21 Jun 2022 at 14:18, Mesbahuddin Malik 
wrote:

> You did not mention type of SMSC you are using.
> in SMPP there is an option payload .
> Regards
>
> On Tue, Jun 21, 2022 at 1:48 PM Simon Peter Otandeka 
> wrote:
>
>> Hey All,
>>
>> I have a kannel-sqlbox set up. Wanted to know if it's possible to store
>> the number of segments (submit_sm) for concatenated or long messages in the
>> database. Is there a flag or field for that in sqlbox set up?
>>
>> Thanks,
>> Peter
>>
>>


Re: Storing number of SMS segments (submit_sms) in the database

2022-06-21 Thread Mesbahuddin Malik
You did not mention type of SMSC you are using.
in SMPP there is an option payload .
Regards

On Tue, Jun 21, 2022 at 1:48 PM Simon Peter Otandeka 
wrote:

> Hey All,
>
> I have a kannel-sqlbox set up. Wanted to know if it's possible to store
> the number of segments (submit_sm) for concatenated or long messages in the
> database. Is there a flag or field for that in sqlbox set up?
>
> Thanks,
> Peter
>
>


Re: change modems / bearerbox no longer connects

2022-06-21 Thread Alexander Malysh
Hi,

you have to enable debug and see what’s going wrong. sometimes you need a init 
string in kennel config to get modem working.

Regards,
Alexander Malysh
Am 10. Juni 2022, 01:09 +0200 schrieb Stuart Kendrick 
:
> I have just replaced my old 3G modem (MultiTech) with a new 4G one (also 
> MultiTech) … and now bearerbox fails to negotiate speed … • What is this 
> telling me? […]2022-06-09T15:53:50.161623-07:00 vishnu bearerbox[5519]: 
> 2022-06-09 15:53:50 [5519] [0] INFO: AT2[/dev/modem]: configuration doesn't 
> show modemtype. will autodetect2022-06-09T15:53:50.161746-07:00 vishnu 
> bearerbox[5519]: 2022-06-09 15:53:50 [5519] [6] INFO: AT2[/dev/modem]: 
> opening device2022-06-09T15:53:50.161842-07:00 vishnu bearerbox[5519]: 
> 2022-06-09 15:53:50 [5519] [0] INFO: Adding interface 
> *2022-06-09T15:53:50.162154-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 
> [5519] [0] INFO: 
> 2022-06-09T15:53:50.162202-07:00 
> vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: Kannel bearerbox 
> II version 1.4.5 starting2022-06-09T15:53:50.162259-07:00 vishnu 
> bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: MAIN: Start-up done, 
> entering mainloop2022-06-09T15:53:50.162311-07:00 vishnu bearerbox[5519]: 
> 2022-06-09 15:53:50 [5519] [5] INFO: Client connected from 
> <127.0.0.1>2022-06-09T15:53:51.164367-07:00 vishnu bearerbox[5519]: 
> 2022-06-09 15:53:51 [5519] [6] INFO: AT2[/dev/modem]: speed set to 
> 1152002022-06-09T15:54:11.485394-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: Closing 
> device2022-06-09T15:54:11.485648-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: opening 
> device2022-06-09T15:54:12.487582-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:12 [5519] [6] INFO: AT2[/dev/modem]: speed set to 
> 576002022-06-09T15:54:32.908334-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: Closing 
> device2022-06-09T15:54:32.909724-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: opening 
> device2022-06-09T15:54:33.910791-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:33 [5519] [6] INFO: AT2[/dev/modem]: speed set to 
> 384002022-06-09T15:54:54.333076-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: Closing 
> device2022-06-09T15:54:54.348974-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: opening 
> device2022-06-09T15:54:55.335600-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:54:55 [5519] [6] INFO: AT2[/dev/modem]: speed set to 
> 192002022-06-09T15:55:15.750830-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: Closing 
> device2022-06-09T15:55:15.751195-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: opening 
> device2022-06-09T15:55:16.753260-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:16 [5519] [6] INFO: AT2[/dev/modem]: speed set to 
> 96002022-06-09T15:55:37.172905-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: Closing 
> device2022-06-09T15:55:37.174270-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: cannot detect 
> speed2022-06-09T15:55:37.174399-07:00 vishnu bearerbox[5519]: 2022-06-09 
> 15:55:37 [5519] [6] ERROR: AT2[/dev/modem]: Couldn't connect (retrying in 10 
> seconds). I can use minicom to query the modem and report information about 
> local service AT+GMI                                                          
>                 Telit                                                         
>                  OK                                                           
>                     AT+GMM                                                    
>                      ME910C1-NA AT+CSQ+CSQ:  29.6 AT#SERVINFO                 
>                                                    #SERVINFO: 
> 5035,-50,"AT","310260",1BE,2C34,256,0,-79 This suggests to me that 
> Linux can talk to the modem via /dev/modem, and that the modem is talking to 
> the service provider linux# ll /dev/modemlrwxrwxrwx 1 root root 7 Jun  9 
> 15:21 /dev/modem -> ttyUSB1linux# ll /dev/ttyUSB1crw-rw-rw- 1 root dialout 
> 188, 1 Jun  9 15:55 /dev/ttyUSB1linux# cat 
> /etc/udev/rules.d/10-modem.rulesKERNEL=="ttyUSB1", SYMLINK+="modem", 
> MODE="0666"linux# From /etc/kannel/kannel.conf# SMSC GSMgroup = smscsmsc = 
> atmodemtype = autodevice = /dev/modemvalidityperiod = 24max-error-count = 20 
> From /etc/kannel/modems.conf# If modemtype=auto, try everyone and defaults to 
> this onegroup = modemsid = genericname = "Generic Modem" Do I perhaps need to 
> define something other than ‘generic’ for a 4G Multitech? --sk Stuart 
> KendrickAllen Institute


Re: Kannel as server?

2022-06-20 Thread lbrezs...@gmx.co.uk

https://www.smsfoxbox.it/documents/pdf/open_smpp_box_user_guide.pdf

On 6/20/2022 07:39, Antony Stone wrote:

On Monday 20 June 2022 at 13:18:46, Mesbahuddin Malik wrote:


what type of SMSC you are using smpp or http ?
Kannel do for both though opensmpp is not suitable until it is customized.

Sorry - I should have said - SMPP.

Interesting that you mention OpenSMPP - it's something I've found references
to whilst trying to discover the answer for myself, and it appears to be an
add-on for Kannel, but I find no documentation at all about how to install or
configure it.

https://www.kannel.org/download/1.4.5/userguide-1.4.5/userguide.html doesn't
seem to mention it at all, and I don't find it at https://kannel.org/ either.

If you could point me to any online guide to making this work, thanks!


On Mon, Jun 20, 2022 at 4:06 PM Antony Stone wrote:

Hi.

I've been using kannel for some time, connecting as a client to a mobile
operator's SMSC.

I've been asked whether we can set up a test environment which doesn't
have a connection to a "real" SMSC, but instead talks to something we run
which acts in the same way.

So, my question is: can kannel act as a server, allowing another (client)
kannel instance to connect to it as though it were an operator's SMSC?


Thanks in advance,


Antony.




Re: Kannel as server?

2022-06-20 Thread Antony Stone
On Monday 20 June 2022 at 13:18:46, Mesbahuddin Malik wrote:

> what type of SMSC you are using smpp or http ?
> Kannel do for both though opensmpp is not suitable until it is customized.

Sorry - I should have said - SMPP.

Interesting that you mention OpenSMPP - it's something I've found references 
to whilst trying to discover the answer for myself, and it appears to be an 
add-on for Kannel, but I find no documentation at all about how to install or 
configure it.

https://www.kannel.org/download/1.4.5/userguide-1.4.5/userguide.html doesn't 
seem to mention it at all, and I don't find it at https://kannel.org/ either.

If you could point me to any online guide to making this work, thanks!

> On Mon, Jun 20, 2022 at 4:06 PM Antony Stone wrote:
> > Hi.
> > 
> > I've been using kannel for some time, connecting as a client to a mobile
> > operator's SMSC.
> > 
> > I've been asked whether we can set up a test environment which doesn't
> > have a connection to a "real" SMSC, but instead talks to something we run
> > which acts in the same way.
> > 
> > So, my question is: can kannel act as a server, allowing another (client)
> > kannel instance to connect to it as though it were an operator's SMSC?
> > 
> > 
> > Thanks in advance,
> > 
> > 
> > Antony.

-- 
"Tannenbaumschmuck" is a perfectly reasonable German word
meaning Christmas tree decorations, and is not a quote from Linus Torvalds.

   Please reply to the list;
 please *don't* CC me.



Re: Kannel as server?

2022-06-20 Thread Mesbahuddin Malik
what type of SMSC you are using smpp or http ?
Kannel do for both though opensmpp is not suitable until it is customized.

Regards

On Mon, Jun 20, 2022 at 4:06 PM Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> Hi.
>
> I've been using kannel for some time, connecting as a client to a mobile
> operator's SMSC.
>
> I've been asked whether we can set up a test environment which doesn't
> have a
> connection to a "real" SMSC, but instead talks to something we run which
> acts
> in the same way.
>
> So, my question is: can kannel act as a server, allowing another (client)
> kannel instance to connect to it as though it were an operator's SMSC?
>
>
> Thanks in advance,
>
>
> Antony.
>
> --
> If at first you don't succeed, destroy all the evidence that you tried.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>


RE: OpenSMPP+Kannel: DLR: (dst & src) are expected INVETED in the deliver_sm (but remains as in submit_sm)

2022-06-09 Thread Mario Noboa
Hi list,

I'm a newbie with opensmpp, i found this thread, I think I have the same
problem.

I'm woking with http-based smsc  and opensmpp, and when i send a dlr, dst
and src doesn't INVETED.

I send the opensmppbox logs in the attachment

Do you have any ideas?

Thanks a lot!


- Original Message -

From: Rene Kluwen
To: 'Didac Royo'
Cc: users at kannel.org <http://www.kannel.org/mailman/listinfo/users>
Sent: Wednesday, March 02, 2011 4:56 PM
Subject: RE: OpenSMPP+Kannel: DLR: (dst & src) are expected INVETED in the
deliver_sm (but remains as in submit_sm)


Viewing this log, it seems that your sms gateway is doing things right.
Somewhere along the line, bearerbox OR opensmppbox reverses the addresses.
Looking at the code, I cannot see which one is doing things wrong. Both seem
to be doing things allrighty…

Judging from your bearerbox log:

Ψ  2011-03-01 16:50:04 Receive DLR [SMSC:GMS] [SVC:ismsad] [ACT:sit2]
[BINF:] [FID:110301S00d1a44c] [META:?smpp?dlr_err=000&] [from:Info]
[to:+34695839615] [flags:-1:-1:-1:-1:1] [msg:111:id:110301S00d1a44c sub:000
dlvrd:000 submit date:1103011650 done date:1103011650 stat:DELIVRD err:000
text:] [udh:0:]

It seems that smsc smpp is doing things wrong. On line 1487 and line 1545 of
smsc_smpp.c, where the function handle_dlr() is called, this function
replaces source_addr with destination_address.
Or maybe otherwise: dlr_find is called and returns the msg structure with
the original source_addr and dest_addr still in place.
Maybe somebody with some more knowledge of the smpp driver can shed a light
on this?

== Rene








*Mario Noboa C.*  | IT Development Specialist
Teamsourcing
www.teamsourcing.com.ec | mno...@teamsourcing.com.ec


opensmpp.log
Description: Binary data


Re: Routing DLR to ESME using OpenSMPPBox

2022-05-09 Thread Ruben Melikyan
Hi,
According to provided log, it seems kannel does not find dlr record to process.
Returning to your configs It will be better to let CORE to handle dlr store and 
update process.
So, i suggest to remove dlr-storage=internal line from opensmppbox config and 
place it to core setup. 
Below is my working configs concerning dlr.

.
* core config
group= core
…….
…….
store-type= file
store-location= “your location here”/STORE
dlr-storage=spool
dlr-spool = “your location here”/DLR
.

Note: you do not need to create STORE and DLR flies in your location. Kannel 
will create them automatically on start.

Best regards,
Ruben Melikyan

> On 9 May 2022, at 05:48, christopher kamutumwa  
> wrote:
> 
> 
> Thank you ruben,
> added that line but still getting below in logs please advise
> 
> 2022-05-09 03:45:12 [20164] [11] INFO: We received an SMS message.
> 2022-05-09 03:45:12 [20164] [11] DEBUG: DLR[mysql]: Looking for DLR 
> smsc=smpp1, ts=a70c7834-3a07-43c0-9749-89cebfeedc85, dst=+260976198318, type=1
> 2022-05-09 03:45:12 [23636] [24] DEBUG: boxc_sender: sent message to 
> <127.0.0.1>
> 2022-05-09 03:45:12 [20164] [11] DEBUG: sql: SELECT `mask`, `service`, `url`, 
> `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND `ts`=?  LIMIT 
> 1
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=mask buffer_type=253 
> max_length=0 length=4
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=service buffer_type=253 
> max_length=0 length=16
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=url buffer_type=253 
> max_length=0 length=2048
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=source buffer_type=253 
> max_length=0 length=32
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=destination buffer_type=253 
> max_length=0 length=32
> 2022-05-09 03:45:12 [20164] [11] DEBUG: column=boxcid buffer_type=253 
> max_length=0 length=16
> 2022-05-09 03:45:12 [20164] [11] WARNING: DLR[mysql]: DLR from SMSC 
> for DST<+260976198318> not found.
> 2022-05-09 03:45:12 [20164] [11] WARNING: msg_to_pdu failed, sending negative 
> ack
> 
>   Virus-free. www.avg.com
> 
>> On Sun, May 8, 2022 at 12:03 PM Ruben Melikyan  wrote:
>> Try to set in smsc config the following line:
>> reroute-dlr=true
>> 
>> Best regards,
>> Ruben Melikyan
>> 
 On 8 May 2022, at 10:32, christopher kamutumwa  
 wrote:
 
>>> 
>>> I have configured my servers to send from ESME to SMSC through OpenSMPPBox,
>>> i have applied the below flow
>>> ESME -->> OpenSMPPBox -->> SQLBox -->>Bearerbox -->> SMSC
>>> I have succeeded in sending the sms from ESME to the SMSC but my problem is
>>> related to the DLR.
>>> The Bearerbox actually received the DLR from the SMSC but it didn't route
>>> it to the ESME.
>>> 
>>> What is the required configurations that could resolve the above issue. i
>>> need to route the DLR to the ESME
>>> 
>>> Your help in this regard is highly appreciated and thanks in advance.i can 
>>> see entries in db when i send msg
>>> 
>>> Below are my config files and log error,
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: DLR[mysql]: Looking for DLR 
>>> smsc=smpp1, ts=1a11039a-901d-43e3-8f99-1b42fa14aacb, dst=+260976198318, 
>>> type=1
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: sql: SELECT `mask`, `service`, `url`, 
>>> `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND `ts`=?  
>>> LIMIT 1
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=mask buffer_type=253 
>>> max_length=0 length=4
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=service buffer_type=253 
>>> max_length=0 length=16
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=url buffer_type=253 
>>> max_length=0 length=2048
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=source buffer_type=253 
>>> max_length=0 length=32
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=destination buffer_type=253 
>>> max_length=0 length=32
>>> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=boxcid buffer_type=253 
>>> max_length=0 length=16
>>> 2022-05-07 14:36:47 [3023] [7] WARNING: DLR[mysql]: DLR from SMSC 
>>> for DST<+260976198318> not found.
>>> 2022-05-07 14:36:47 [3023] [7] WARNING: msg_to_pdu failed, sending negative 
>>> ack
>>> *** Kannel.conf 
>>> #-
>>> # core setup
>>> 
>>> group = core
>>> admin-port = 13000
>>> smsbox-port = 13001
>>> wapbox-port = 13002
>>> admin-password = admin123
>>> status-password = status123
>>> wdp-interface-name = "*"
>>> log-file = "/usr/local/kannel/bearerbox.log"
>>> log-level = 3
>>> access-log = "/usr/local/kannel/bearerboxaccess.log"
>>> store-type = spool
>>> store-location = "/usr/local/kannel/store"
>>> store-dump-freq = 60
>>> #-
>>> # smsc setup
>>> 
>>> group = smsc
>>> smsc = smpp
>>> smsc-id = VFSMPP1
>>> host = "x.x.x.x"
>>> port = 
>>> smsc-username = egypt321
>>> smsc-password = egypt321
>>> system-type = "egypt321"
>>> address-range = ""
>>> dest-addr-ton=1
>>> dest-addr-npi=1
>>> 

Re: Routing DLR to ESME using OpenSMPPBox

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

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


Virus-free.
www.avg.com

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

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

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

Re: Routing DLR to ESME using OpenSMPPBox

2022-05-08 Thread Ruben Melikyan
Try to set in smsc config the following line:
reroute-dlr=true

Best regards,
Ruben Melikyan

> On 8 May 2022, at 10:32, christopher kamutumwa  
> wrote:
> 
> 
> I have configured my servers to send from ESME to SMSC through OpenSMPPBox,
> i have applied the below flow
> ESME -->> OpenSMPPBox -->> SQLBox -->>Bearerbox -->> SMSC
> I have succeeded in sending the sms from ESME to the SMSC but my problem is
> related to the DLR.
> The Bearerbox actually received the DLR from the SMSC but it didn't route
> it to the ESME.
> 
> What is the required configurations that could resolve the above issue. i
> need to route the DLR to the ESME
> 
> Your help in this regard is highly appreciated and thanks in advance.i can 
> see entries in db when i send msg
> 
> Below are my config files and log error,
> 2022-05-07 14:36:47 [3023] [7] DEBUG: DLR[mysql]: Looking for DLR smsc=smpp1, 
> ts=1a11039a-901d-43e3-8f99-1b42fa14aacb, dst=+260976198318, type=1
> 2022-05-07 14:36:47 [3023] [7] DEBUG: sql: SELECT `mask`, `service`, `url`, 
> `source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND `ts`=?  LIMIT 
> 1
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=mask buffer_type=253 
> max_length=0 length=4
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=service buffer_type=253 
> max_length=0 length=16
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=url buffer_type=253 max_length=0 
> length=2048
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=source buffer_type=253 
> max_length=0 length=32
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=destination buffer_type=253 
> max_length=0 length=32
> 2022-05-07 14:36:47 [3023] [7] DEBUG: column=boxcid buffer_type=253 
> max_length=0 length=16
> 2022-05-07 14:36:47 [3023] [7] WARNING: DLR[mysql]: DLR from SMSC for 
> DST<+260976198318> not found.
> 2022-05-07 14:36:47 [3023] [7] WARNING: msg_to_pdu failed, sending negative 
> ack
> *** Kannel.conf 
> #-
> # core setup
> 
> group = core
> admin-port = 13000
> smsbox-port = 13001
> wapbox-port = 13002
> admin-password = admin123
> status-password = status123
> wdp-interface-name = "*"
> log-file = "/usr/local/kannel/bearerbox.log"
> log-level = 3
> access-log = "/usr/local/kannel/bearerboxaccess.log"
> store-type = spool
> store-location = "/usr/local/kannel/store"
> store-dump-freq = 60
> #-
> # smsc setup
> 
> group = smsc
> smsc = smpp
> smsc-id = VFSMPP1
> host = "x.x.x.x"
> port = 
> smsc-username = egypt321
> smsc-password = egypt321
> system-type = "egypt321"
> address-range = ""
> dest-addr-ton=1
> dest-addr-npi=1
> interface-version = 34
> enquire-link-interval = 25
> reconnect-delay = 15
> transceiver-mode = 1
> #max-pending-submits = 8
> throughput = 6
> #-
> # smsbox setup
> 
> group = smsbox
> smsbox-id = smsbox1
> bearerbox-host = "127.0.0.1"
> sendsms-port = 13013
> sendsms-chars = "0123456789 +-"
> log-file = "/usr/local/kannel/smsbox.log"
> log-level = 3
> access-log = "/usr/local/kannel/smsboxaccess.log"
> mo-recode = true
> http-request-retry = 1000
> max-pending-requests = 33000
> #-
> # smsbox-route setup
> 
> group = smsbox-route
> smsbox-id = smsc1
> smsc-id = VFSMPP1
> ###
> 
> *** OpenSMPPBox.conf **
> group = core
> dlr-storage = internal
> 
> group = opensmppbox
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13005
> opensmppbox-id = opensmppbox1
> opensmppbox-port = 13003
> log-file = "/usr/local/kannel/smppbox.log"
> #log-level = 3
> our-system-id = Inaccess
> #route-to-smsc = cardboard
> smpp-logins = /usr/local/kannel/smpplogins.txt
> ###
> 
> *** smpplogins.txt***
> test testpw smsc1 *.*.*.*
> ###
> 
> *** SQLBox.conf ***
> group = sqlbox
> id = sqlbox-db
> smsbox-id = sqlbox
> global-sender = ""
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13001
> smsbox-port = 13005
> smsbox-port-ssl = false
> sql-log-table = sent_sms
> sql-insert-table = send_sms
> log-file = "/usr/local/kannel/kannel-sqlbox.log"
> 
> # MYSQL Connection
> group = mysql-connection
> id = sqlbox-db
> host = localhost
> username = root
> password = root
> database = mysqlbox
> ###
> 
> 
> 
> Regards,
> 
>   Virus-free. www.avg.com


Re: OPEN SMPP MANAGEMENT

2022-05-07 Thread Ruben Melikyan


Hi,
You need to have DB connection.
In case of using mysql you need to install sqlbox and in sqlbox config assign 
port number to smsbox-port (see manual). 

For example in your sqlbox config (except other parameters) you will have 
something like this:
……….
group=sqlbox
bearerbox-port = 16001( this is your smsbox-port mentioned in group=core)
smsbox-port = 16005


Then in your opensmppbox config  (except other parameters)  you should have 
following:

group=opensmppbox
opensmppbox-id = (any unique id)
bearerbox-port= 16005
.

If everything configured in right way your traffic will be available in your 
DB. 
You can have many opensmppboxes and all traffic ( including DLR’s) will be 
registered in DB. Then you can filter, select and manipulate data based on your 
opensmppbox-id.


Best regards,
Ruben Melikyan

> On 7 May 2022, at 08:35, christopher kamutumwa  
> wrote:
> 
> Hello,
> How does one calculate traffic from a specific smpp connection in opensmpp. 
> Can someone hint how this can be managed
> 
> Chris
> 
>   Virus-free. www.avg.com


Re: opensmpp failing to install

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

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

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


Re: REDIS: redisCommand() failed: ERR unknown command

2022-04-15 Thread Sayed Hadi Rastgou Haghi
After receiving any deliver_sm (DLR-4, DLR-1 or DLR-2), kannel checks the
dlr-storage (REDIS in yours) to find the entry and call the specified
dlr-url if available.

Both DLRs seem OK to me.
As you mentioned, still *dlr:?:?* is the problem in both versions.

Let me check more.


On Fri, Apr 15, 2022 at 7:47 PM lbrezs...@gmx.co.uk 
wrote:

> We considered DLR 27, but unfortunately some small number of ISPs don't
> send DLR 1 or 2 at all.
>
> They just acknowledged they received the request,  but not that end user
> (mobile phone) received it.
>
> Question: why code handling DLR1 and DLR4 is different? I compared the
> structure of both DLRa and they are the same:
>
> DLR4:
> id:0273822961 sub:001 dlvrd:000 submit date:2204142257 done date
> 2204142257 stat ACCEPTD err:003 text:Test DLR 4
> DLR1
> id:0274640129 sub:001 dlvrd:001 submit date:2204151041 done date
> 2204151041 stat DELIVRD err:000 text:Test DLR 1
>
> Why even make a trip to REDIS? As you need to wait for DLR 1/2 anyways,
> why even bother?
> They are still forwarded to smsbox, no? Shouldn't be just an "IF"
> statement that DLR 1 or DLR 2 make a trip to REDIS, everything else is
> forwarded to smsbox as is?
>
> By the way, I double-check the WARNING exists on 1.4.4
> (redis_version:3.2.6) vs  ERROR on 1.4.5 (redis_version:6.0.16)
>
> old message, 1.4.4 (redis_version:3.2.6) :
>
> 2022-04-15 02:57:01 [24496] [6] DEBUG: DLR[redis]: DLR not destroyed,
> still waiting for other delivery report
> 2022-04-15 02:57:01 [24496] [6] DEBUG: Updating DLR status in keystore
> 2022-04-15 02:57:01 [24496] [6] WARNING: DLR: REDIS: No dlr found to
> update for dlr:?:?
> 2022-04-15 02:57:01 [24496] [6] DEBUG: new group created `smpp'
> 2022-04-15 02:57:01 [24496] [6] DEBUG: group=`smpp' key=`dlr_err' value='
>
> new message, 1.4.5 (redis_version:6.0.16):
>
> 2022-04-07 16:05:40 [612] [6] ERROR: REDIS: redisCommand() failed: `ERR
> unknown command `smsc_id`, with args beginning with: `1117930062`, `4`, '
> 2022-04-07 16:05:40 [612] [6] ERROR: DLR: REDIS: Error while updating
> dlr entry for dlr:?:?
>
> On 4/14/2022 20:55, lbrezs...@gmx.co.uk wrote:
> > I don't think it's the message.
> >
> > bearer-box access-log looks ordinary
> >
> > 2022-04-14 18:49:56 send-SMS request added - sender:smsuser:XX999
> > 192.168.27.35 target:1XXX9562019 request: 'Test DLR 4'
> >
> > Hower, there is an important piece of information I forgot to mention.
> >
> > Machine that handles DLR 4s correctly:
> >
> > Kannel bearerbox version 1.4.4.
> > Compiler 6.2.1 20161124.
> > System Linux, release 4.9.0-13-amd64
> > debian 10 = SMP Debian 4.9.228-1 (2020-07-05), machine x86_64
> > hiredis API 0.13.3
> > redis_version:3.2.6
> >
> > Machine that handles DLR 4s incorrectly:
> >
> > Kannel bearerbox version 1.4.5.
> > Compiler 10.1.0.
> > System Linux, release 5.10.0-13-amd64,
> > debian 11 = SMP Debian 5.10.106-1 (2022-03-17), machine x86_64
> > Using hiredis API 0.14.1
> > redis_version:6.0.16
> >
> > On 4/14/2022 18:38, Sayed Hadi Rastgou Haghi wrote:
> >> REDIS: redisCommand()
> >
>
>

-- 
Sincerely,

Sayed Hadi Rastgou Haghi


Re: REDIS: redisCommand() failed: ERR unknown command

2022-04-15 Thread lbrezs...@gmx.co.uk

We considered DLR 27, but unfortunately some small number of ISPs don't
send DLR 1 or 2 at all.

They just acknowledged they received the request,  but not that end user
(mobile phone) received it.

Question: why code handling DLR1 and DLR4 is different? I compared the
structure of both DLRa and they are the same:

DLR4:
id:0273822961 sub:001 dlvrd:000 submit date:2204142257 done date
2204142257 stat ACCEPTD err:003 text:Test DLR 4
DLR1
id:0274640129 sub:001 dlvrd:001 submit date:2204151041 done date
2204151041 stat DELIVRD err:000 text:Test DLR 1

Why even make a trip to REDIS? As you need to wait for DLR 1/2 anyways,
why even bother?
They are still forwarded to smsbox, no? Shouldn't be just an "IF"
statement that DLR 1 or DLR 2 make a trip to REDIS, everything else is
forwarded to smsbox as is?

By the way, I double-check the WARNING exists on 1.4.4
(redis_version:3.2.6) vs  ERROR on 1.4.5 (redis_version:6.0.16)

old message, 1.4.4 (redis_version:3.2.6) :

2022-04-15 02:57:01 [24496] [6] DEBUG: DLR[redis]: DLR not destroyed,
still waiting for other delivery report
2022-04-15 02:57:01 [24496] [6] DEBUG: Updating DLR status in keystore
2022-04-15 02:57:01 [24496] [6] WARNING: DLR: REDIS: No dlr found to
update for dlr:?:?
2022-04-15 02:57:01 [24496] [6] DEBUG: new group created `smpp'
2022-04-15 02:57:01 [24496] [6] DEBUG: group=`smpp' key=`dlr_err' value='

new message, 1.4.5 (redis_version:6.0.16):

2022-04-07 16:05:40 [612] [6] ERROR: REDIS: redisCommand() failed: `ERR
unknown command `smsc_id`, with args beginning with: `1117930062`, `4`, '
2022-04-07 16:05:40 [612] [6] ERROR: DLR: REDIS: Error while updating
dlr entry for dlr:?:?

On 4/14/2022 20:55, lbrezs...@gmx.co.uk wrote:

I don't think it's the message.

bearer-box access-log looks ordinary

2022-04-14 18:49:56 send-SMS request added - sender:smsuser:XX999
192.168.27.35 target:1XXX9562019 request: 'Test DLR 4'

Hower, there is an important piece of information I forgot to mention.

Machine that handles DLR 4s correctly:

Kannel bearerbox version 1.4.4.
Compiler 6.2.1 20161124.
System Linux, release 4.9.0-13-amd64
debian 10 = SMP Debian 4.9.228-1 (2020-07-05), machine x86_64
hiredis API 0.13.3
redis_version:3.2.6

Machine that handles DLR 4s incorrectly:

Kannel bearerbox version 1.4.5.
Compiler 10.1.0.
System Linux, release 5.10.0-13-amd64,
debian 11 = SMP Debian 5.10.106-1 (2022-03-17), machine x86_64
Using hiredis API 0.14.1
redis_version:6.0.16

On 4/14/2022 18:38, Sayed Hadi Rastgou Haghi wrote:

REDIS: redisCommand()






Re: REDIS: redisCommand() failed: ERR unknown command

2022-04-14 Thread lbrezs...@gmx.co.uk

I don't think it's the message.

bearer-box access-log looks ordinary

2022-04-14 18:49:56 send-SMS request added - sender:smsuser:XX999
192.168.27.35 target:1XXX9562019 request: 'Test DLR 4'

Hower, there is an important piece of information I forgot to mention.

Machine that handles DLR 4s correctly:

Kannel bearerbox version 1.4.4.
Compiler 6.2.1 20161124.
System Linux, release 4.9.0-13-amd64
debian 10 = SMP Debian 4.9.228-1 (2020-07-05), machine x86_64
hiredis API 0.13.3
redis_version:3.2.6

Machine that handles DLR 4s incorrectly:

Kannel bearerbox version 1.4.5.
Compiler 10.1.0.
System Linux, release 5.10.0-13-amd64,
debian 11 = SMP Debian 5.10.106-1 (2022-03-17), machine x86_64
Using hiredis API 0.14.1
redis_version:6.0.16

On 4/14/2022 18:38, Sayed Hadi Rastgou Haghi wrote:

REDIS: redisCommand()




Re: REDIS: redisCommand() failed: ERR unknown command

2022-04-14 Thread Sayed Hadi Rastgou Haghi
Dear akamat,
Can you send the failed DLR message as well?

In my opinion, the problem is in connection with  dlr-message parsing.
It can be found in bearer-box access-log or captured with wireshark.



On Fri, Apr 15, 2022 at 12:28 AM lbrezs...@gmx.co.uk 
wrote:

> Using Redis for dlr-storage.
>
> dlr-mask=31, which means everything.
>
> Lately getting redis errors when receiving DLR 4
>
> Anybody came across the same issue?
>
> Logs:
>
> 2022-04-14 19:03:08 [2603] [6] DEBUG: DLR[redis]: DLR not destroyed, still
> waiting for other delivery report
> 2022-04-14 19:03:08 [2603] [6] DEBUG: Updating DLR status in keystore
> 2022-04-14 19:03:08 [2603] [6] ERROR: REDIS: redisCommand() failed: `ERR
> unknown command `*smsc_id*`, with args beginning with: `27807`, `4`, '
> 2022-04-14 19:03:08 [2603] [6] ERROR: DLR: REDIS: Error while updating dlr
> entry for dlr:?:?
> 2022-04-14 19:03:08 [2603] [6] DEBUG: new group created `orig_msg'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: group=`orig_msg' key=`dlr_mask'
> value=`31'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: new group created `orig_msg'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: group=`orig_msg' key=`dlr_mask'
> value=`31'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: new group created `smpp'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: group=`smpp' key=`dlr_err' value=`'
> 2022-04-14 19:03:08 [2603] [6] DEBUG: SMPP[smsc_id]: Sending PDU:
> 2022-04-14 19:03:08 [2603] [6] DEBUG: SMPP PDU 0x7faa36eee9f0 dump:
> 2022-04-14 19:03:08 [2603] [6] DEBUG:   type_name: deliver_sm_resp
> 2022-04-14 19:03:08 [2603] [6] DEBUG:   command_id: 2147483653 = 0x8005
> 2022-04-14 19:03:08 [2603] [6] DEBUG:   command_status: 0 = 0x
> 2022-04-14 19:03:08 [2603] [6] DEBUG:   sequence_number: 25058 = 0x61e2
> 2022-04-14 19:03:08 [2603] [6] DEBUG:   message_id: NULL
> 2022-04-14 19:03:08 [2603] [6] DEBUG: SMPP PDU dump ends.
>
>
> On 3/31/2022 03:23, akamat sarat wrote:
>
> Dear All,
> Thank you for your replies.
>
> We are using kannel 1.4.5 with the following setup: sqlbox -> bearerbox
> -> smsc and  connected in  transceiver mode to SMSC.
> we are inserting into mysql send_sms table for sending.
> We are working with several SMSC and they where able to provide us with
> logs clearly showing that they have submitted a DLR to our kannel server
> and have received ACK from our kannel server.
> In the example below the final Deliver_sm WE DO NOT see in any of the logs
> (access or SMSC) once or ever and the DLR is stuck in dlr table with where
> ts = 150903932114
> There aren't any errors in sql box logs (we are using mysql).
> We do not see any errors in SMSC logs except: "Could not parse DLR string
> sscanf way, fallback to old way. Please report!"
> I will reiterate that missing DLRs are happening intermittently about 25%
> of them are stuck in dlr table, and even with the error above 75% of them
> still come in normally.
> Also in the BB logs we have a lot of the following:
> "
> sms_router: handling message
> Routing failed, re-queued
> "
> Not sure if it is all connected or not ...
> Any help would be much appreciated!
>
> here is an example: ( sensitive parts were redacted)
> Our Submit_sm as logged on our server:
> 022-03-30 07:11:59 [9] [11] DEBUG:   type_name: submit_sm
> 2022-03-30 07:11:59 [9] [11] DEBUG:   command_id: 4 = 0x0004
> 2022-03-30 07:11:59 [9] [11] DEBUG:   command_status: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   sequence_number: 8513 = 0x2141
> 2022-03-30 07:11:59 [9] [11] DEBUG:   service_type: ""
> 2022-03-30 07:11:59 [9] [11] DEBUG:   source_addr_ton: 5 = 0x0005
> 2022-03-30 07:11:59 [9] [11] DEBUG:   source_addr_npi: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   source_addr: "srcaddr"
> 2022-03-30 07:11:59 [9] [11] DEBUG:   dest_addr_ton: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   dest_addr_npi: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   destination_addr: "***"
> 2022-03-30 07:11:59 [9] [11] DEBUG:   esm_class: 3 = 0x0003
> 2022-03-30 07:11:59 [9] [11] DEBUG:   protocol_id: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   priority_flag: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   schedule_delivery_time: NULL
> 2022-03-30 07:11:59 [9] [11] DEBUG:   validity_period: NULL
> 2022-03-30 07:11:59 [9] [11] DEBUG:   registered_delivery: 1 = 0x0001
> 2022-03-30 07:11:59 [9] [11] DEBUG:   replace_if_present_flag: 0 =
> 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   data_coding: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   sm_default_msg_id: 0 = 0x
> 2022-03-30 07:11:59 [9] [11] DEBUG:   sm_length: 48 = 0x0030
> 2022-03-30 07:11:59 [9] [11

Re: opensmpp failing to install

2022-04-12 Thread Loyc Cossou
Hi,

Have you done * ./bootstrap.sh* before ./configure?

--
loyc Cossou

[image: Mailtrack]

Sender
notified by
Mailtrack

12/04/22,
19:17:25

Le mar. 12 avr. 2022 à 15:56, christopher kamutumwa <
chriskamutu...@gmail.com> a écrit :

>
>
> -- Forwarded message -
> From: christopher kamutumwa 
> Date: Sun, Apr 10, 2022 at 4:18 AM
> Subject: opensmpp failing to install
> To: users 
>
>
> Hello Support,
> Need help with installing opensmpp on ubuntu server below is error i
> receive when installing
>
> root@ubuntu:~/trunk# make
> make  all-recursive
> make[1]: Entering directory `/root/trunk'
> Making all in gw
> make[2]: Entering directory `/root/trunk/gw'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -Wall -g -O2
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
>  -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> -Winline -Wformat -Wformat-security -Wmissing-format-attribute
> -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -MT
> opensmppbox.o -MD -MP -MF ".deps/opensmppbox.Tpo" -c -o opensmppbox.o
> opensmppbox.c; \
> then mv -f ".deps/opensmppbox.Tpo" ".deps/opensmppbox.Po"; else rm
> -f ".deps/opensmppbox.Tpo"; exit 1; fi
> opensmppbox.c:81:26: fatal error: gw/meta_data.h: No such file or directory
>  #include "gw/meta_data.h"
>   ^
> compilation terminated.
> make[2]: *** [opensmppbox.o] Error 1
> make[2]: Leaving directory `/root/trunk/gw'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/trunk'
> make: *** [all] Error 2
>
> thanks in advance
>
> chris
>


Re: Missing delivery reports from SMSC dropping delivery reports

2022-02-19 Thread Stipe Tolj

Am 14.02.22, 18:01, schrieb akamat sarat:

Dear Users,

We are unable to debug an issue with SMSC having to do with delivery
reports missing from SMSC over smpp bind.
The  connection to SMSC is   working properly according to kannel logs.
No obvious errors are visible in the logs.
But we are missing delivery reports that SMSC is saying were delivered
and ACKd by kannel.
Specifically they are saying that they have 'CDRs state "Delivered
Direct"' and that kannel ACKd the delivery report.
We however cannot see it in kannel access logs or SMSC logs or in any logs.
Having run tcpdumps we cannot locate it either.

Any way to debug this issue that we are missing?
Thanks,
Akamat


Hi Akamat,

what COULD be the case here is that Kannel bearerbox does ACK the 
deliver_sm PDUs from the SMSC with a corresponding deliver_sm_resp PDU, 
(so from the SMSCs perspective they are acknowledged), but your DLR 
message ID setup (or smsc-id patch setup) is configured wrong in Kannel, 
and the DLR is formally not resolved in bearerbox to the temporary data 
that is store in the DLR storage. Hence the DLR is "not found", and then 
not logged to the access-log (in older releases).


Suggesting you run the bearerbox.log (log-file) in DEBUG level 
(log-level = 0), and then check that you DO see the deliver_sm PDUs from 
the SMSC.


Additional things to check:

- Make sure you are AWARE of the message ID notation. Some SMSCs use hex 
in submit_sm_resp PDU, but decimal in the deliver_sm payload (see 
msg-id-type directive)


- If you splitted the SMPP binds in receiver and transmitter, make sure 
they have the same 'smsc-id' identifier, otherwise you would receive a 
DLR on the receive bind that would not resolve correctly from the DLR 
storage, since the transmitter side used a difference smsc-id tag.


--
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: Missing delivery reports from SMSC dropping delivery reports

2022-02-15 Thread Sayed Hadi Rastgou Haghi
I would like to ask your send sms parameters especially  *dlr-mask*

On Mon, Feb 14, 2022 at 8:42 PM Antony Stone <
antony.st...@kannel.open.source.it> wrote:

> On Monday 14 February 2022 at 17:01:09, akamat sarat wrote:
>
> > The  connection to SMSC is   working properly according to kannel logs.
> > No obvious errors are visible in the logs.
> > But we are missing delivery reports that SMSC is saying were delivered
> and
> > ACKd by kannel.
> > Specifically they are saying that they have 'CDRs state "Delivered
> Direct"'
> > and that kannel ACKd the delivery report.
>
> I would ask your upstream SMSC hoster to send you a copy of the ACK they
> claim
> came from kannel - preferably as a packet capture, which you can then
> compare
> with your own.
>
> After all, you say "there is no ACK" and you cannot investigate something
> that
> isn't there.  They are saying "there is an ACK", so that is where to start
> investigating.
>
>
> Antony.
>
> --
> There's no such thing as bad weather - only the wrong clothes.
>
>  - Billy Connolly
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
>

-- 
Sincerely,

Sayed Hadi Rastgou Haghi


Re: Missing delivery reports from SMSC dropping delivery reports

2022-02-14 Thread Antony Stone
On Monday 14 February 2022 at 17:01:09, akamat sarat wrote:

> The  connection to SMSC is   working properly according to kannel logs.
> No obvious errors are visible in the logs.
> But we are missing delivery reports that SMSC is saying were delivered and
> ACKd by kannel.
> Specifically they are saying that they have 'CDRs state "Delivered Direct"'
> and that kannel ACKd the delivery report.

I would ask your upstream SMSC hoster to send you a copy of the ACK they claim 
came from kannel - preferably as a packet capture, which you can then compare 
with your own.

After all, you say "there is no ACK" and you cannot investigate something that 
isn't there.  They are saying "there is an ACK", so that is where to start 
investigating.


Antony.

-- 
There's no such thing as bad weather - only the wrong clothes.

 - Billy Connolly

   Please reply to the list;
 please *don't* CC me.



  1   2   3   4   5   6   7   8   9   10   >