[ANNOUNCE] GSMA MWC 2024 Meeting opportunity

2024-02-20 Thread Stipe Tolj

Dear all,

as every year, we are attending the GSMA Mobile World Congress in 
Barcelona, Spain from 26 Feb to 29 Feb 2024.


If you are a mobile network operator, a messaging aggregator, a system 
integrator for mobile networks and/or services, or an enterprise 
representative in the mobile business, and would like to meet us on the 
venue for discussion about


- commercial support/consulting for Kannel deployments, development 
and/or integration


- our commercial add-on products
  - Kannel SMPP v5.0 server (smppbox)
  - Kannel SMPP v5.0 proxy filter (smppproxy)
  - Kannel AMQP v0.9.1 messaging broker (amqpbox-rabbitmq)
  - Kannel AMQP v1.0 messaging broker (amqpbox)
  - Kannel S@T gateway (gateway-stk)
  - Kannel OTA gateway (gateway-ota)
  - Kannel vSMSC (virtual SMSC) solutions
  - Kannel SMS inter-working/hubbing (iwsmsc)
  - Kannel-CG (carrier-grade) Mobile Internet Gateway (kannel-cg)
  - Kannel-CG (carrier-grade) MMSC (kannel-mmsc)

- our commercial Support Level Agreements (SLA) for business critical 
Kannel installations


- future technology integrations
  - RCS Inter-working, ...

- to discuss any other topic...

please feel free to set-up an appointment with us at the MWC via our 
main web site URL http://www.kannel.org/, or via the direct interface to 
the scheduling planer via URL


  https://kannel.appointlet.com/

We're looking forward to see you at MWC in Barcelona.

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



Use case for dlr-url of sms-service

2023-12-05 Thread Eduard Takhtamirov
Hello everyone,

What's a typical use of "dlr-url" config setting within an "sms-service"
group? I'm specifically interested in DLR on sendsms when "dlr-url" of an
"sendsms-user" group is undefined (otherwise this dlr-url would work, I
know), while "sms-service" could be, e.g., "catch-all".

Thanks,
Ed


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 



Implementing SMS to email

2023-12-05 Thread G. Kochar
 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.
>
>


Opensmpp Plus Kannel Debian 11

2023-10-16 Thread info

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.



Quectel EG25

2023-10-16 Thread info.ubichip
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: 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?


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

2023-10-10 Thread 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
>


SMPP message ID greater than 9223372036854775807 breaking DLRs

2023-08-03 Thread Alex Kinch
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


Working configuration for a Huawei E220 modem

2023-07-15 Thread TSHIMANGA Minkoka

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: 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./




Error in LD when building kannel on Ubuntu 22.04

2023-07-04 Thread Paulo Correia
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.*
> 
>
>


Kannel with emi2 smsc connections behind NAT?

2023-07-01 Thread Paulo Correia
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

[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: 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 . 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?



Using Kannel to emulate SMSC (through SMPP)? ?

2023-04-25 Thread mymailinglistemail
> 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  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
>
> 

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

*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 
 

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 
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 = "”
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.


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

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

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
>


MO Routing on the fly

2023-04-19 Thread akamat sarat
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
>


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

2023-04-16 Thread Robin C
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.*
>
>


TPS of SqlBox in production?

2023-02-15 Thread Paulo Correia
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

[cid:ea96e9a7-bbd1-4d2a-8827-567fa97cd42d]

[cid:a2472c62-7d9d-4910-93fd-466c6fc9aeca]

_

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

paulo.corr...@go4mobility.com

+351 210 337 700


[https://www.pdmfc.com/images/email-signature/28-03.png]
[https://www.pdmfc.com/images/email-signature/28-04.png] 
[https://www.pdmfc.com/images/email-signature/28-06.png] 
   
[https://www.pdmfc.com/images/email-signature/28-05.png] 
   
[https://www.pdmfc.com/images/email-signature/28-07.png] 
 
[https://www.pdmfc.com/images/email-signature/28-08.png] 





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  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
> 
>
>
>
> Please help me if someone has idea about this.
>
>
>
> Thanks,
>
> Srinivas Akula
>
>
>
> Sent from Mail  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 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 
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

Please help me if someone has idea about this.

Thanks,
Srinivas Akula

Sent from Mail 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
>
>
>


Delivery Receipt is not coming for a few HTTP requests

2023-02-06 Thread srinivas akula
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
>
>


dlr_err

2023-02-01 Thread 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
>


error: conflicting types for ‘ws_yy_parse’ - CentOs7

2023-01-16 Thread mahesh Lavanam
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
>
>


Charset or body misformed, rejected

2023-01-04 Thread Ali Kashif
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.
>
>
>
>


Super Steep Learning Curve

2022-12-23 Thread Ray Kannel Newbie
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.


Send TLV values to ESME/Client through DLR

2022-12-09 Thread George Muhoro
I want to send a custom value for TLV tag 0x0427 which is the message_state
in the DLR deliver_sm pdu. Specifically I want to send the value "Rejected".

Currently I inject the dlr like this
http://localhost:13010/sms?dlr-mask=2=xx

How do I add that custom TLV so that the ESME on the other end receives it?

--
GM


power-cycling USB modem remotely

2022-12-04 Thread Stuart Kendrick
Anyone know how to cut power to a USB device remotely?

Sometimes, after a reboot, not only does Kannel not load, but the modem does 
not respond to 'ATE1' sent from minicom

root@linux:~# minicom


Welcome to minicom 2.8

OPTIONS: I18n
Port /dev/modem

Press CTRL-A Z for help on special keys



I can visit the server, unplug the modem's USB cable, plug it back in, and the 
modem then responds just fine

But I would prefer a way to do this remotely

Ubuntu 22.04

--sk


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
>


Kannel Commercial version

2022-11-26 Thread Gabriel Augusto Diaz Zapata
Hi Team

I am urgently interested on a commercial version of Kannel
Please contact me for details


Let me know

gabrielD


Routing SMS by sender id

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

Regards

Chris


Re: 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


FREE BULK SMS FRONT END APPLICATION

2022-11-13 Thread Textnator Support
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: 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.
>
>


Error Installing SQLBOX on Ubuntu 20.04-gateway-1.5.0

2022-10-18 Thread Textnator Support
checking for Ct-Lib support... no
checking for FreeTDS Ct-Lib support... no
checking for gw-config... /usr/local/bin/gw-config
checking Kannel version... 1.5.0
checking Kannel libs... -L/usr/local/lib/kannel -lgw -lwap -lgwlib
-lmysqlclient -ldl -lrt -lresolv -lnsl -lm  -lpthread -lxml2
-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -ldl -lssl -lcrypto
-lresolv -lm -lrt
checking Kannel includes... -I/usr/local/include/kannel -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/mysql
checking for cfg_create in -lgwlib... no
configure: error: Kannel gwlib is required!


./gw-config --libs

-L/usr/local/lib/kannel -lgw -lwap -lgwlib -lmysqlclient -ldl -lrt -lresolv
-lnsl -lm  -lpthread -lxml2 -L/usr/lib/x86_64-linux-gnu -lmysqlclient
-lpthread -ldl -lssl -lcrypto -lresolv -lm -lrt


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.



Error SQLBOX installation on Ubuntu 20.04

2022-10-18 Thread Textnator Support
Hi,
i tried to install sqlbox from kannel1.5 addons on ubuntu 20.04, im getting
this error,if someone has any solution please share.

autoconf (GNU Autoconf) 2.69
libtool (GNU libtool) 2.4.6
automake (GNU automake) 1.9


Kannel/gateway-1.5.0/addons/sqlbox# ./bootstrap
+ set -e
+ amvers=no
+ automake-1.11 --version
+ automake-1.10 --version
+ automake-1.9 --version
+ amvers=-1.9
+ test -1.9 = no
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ set +x
+ test ! -d autotools
+ libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: You should add the contents of the following files to
'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltsugar.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize:   '/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
+ test -f ltmain.sh
+ aclocal-1.9 -I autotools
+ autoconf
configure.in:38: error: possibly undefined macro: AC_PROG_LIBTOOL
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.


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


Mismatch between received message coding and smsbox forwarded message coding

2022-10-03 Thread 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


Fwd: FREE TO USE UNOFFICIAL WHATSAPP API

2022-10-02 Thread Textnator Support
Hi ,
Im providing free unofficial whatsapp API for developers and users,you can
build whatsapp chatbots, bulk whatsapp and most of the application using
this API.it is absolutely free of cost.

To add a whatsapp number instance
Go to https://mapi.textnator.com:4000/?id=a9945a6f
Here a9945a6f is the instance token that u have to use to send the
messages,Please use the attached postman collection to send all type of
whatsapp messages.

Please check https://hookbin.com/W16RGVnJ7XsYNQRYewX3 for inbound messages
and reports

Kind Regards
Textnator.


free_textnator.postman_api_collection.json
Description: application/json


FREE TO USE UNOFFICIAL WHATSAPP API

2022-10-02 Thread Textnator Support
Hi ,
Im providing free unofficial whatsapp API for developers and users,you can
build whatsapp chatbots, bulk whatsapp and most of the application using
this API.it is absolutely free of cost.

To add a whatsapp number instance
Go to https://mapi.textnator.com:4000/?id=a9945a6f
Here a9945a6f is the instance token that u have to use to send the
messages,Please use the attached postman collection to send all type of
whatsapp messages.


Kind Regards
Textnator.


free_textnator.postman_api_collection.json
Description: application/json


upgraded to Ubuntu 22.04 / Kannel failing to start

2022-09-04 Thread Stuart Kendrick
BRIEF

  *   I upgraded from Ubuntu 20.04 to 22.04 (Jammy Jellyfish)
  *   When I rebooted, Kannel failed to start.
 *   If I kill the various 'box' processes, then Kannel proceeds to load 
successfully
  *   How can I configure Kannel to load automatically at boot, without this 
manual intervention?


DETAIL

  *   Syslog extract shortly after reboot
2022-09-04T03:44:18.473919-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [0] INFO: HTTP: Opening server at port 13000.
2022-09-04T03:44:18.473999-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [0] INFO: Set SMS resend frequency to 60 seconds.
2022-09-04T03:44:18.474043-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [0] INFO: SMS resend retry set to 5.
2022-09-04T03:44:18.478607-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [5] ERROR: bind failed
2022-09-04T03:44:18.478664-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [5] ERROR: System error 98: Address already in use
2022-09-04T03:44:18.478711-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [5] PANIC: Could not open smsbox port 13001
2022-09-04T03:44:18.478941-07:00 ubuntu bearerbox[1908]: 2022-09-04 03:44:18 
[1908] [5] PANIC: /usr/sbin/bearerbox(gw_backtrace+0xe0) [0x5607beed48e0]
[...]


  *   I then kill all the 'box' processes
root@ubuntu:~# ps -ef | grep box
kannel  1986   1  0 03:44 ?00:00:00 /usr/sbin/run_kannel_box 
--pidfile /var/run/kannel/kannel_bearerbox.pid --no-extra-args 
/usr/sbin/bearerbox -v 4 -- /etc/kannel/kannel.conf
kannel  19881986  0 03:44 ?00:00:00 /usr/sbin/bearerbox -v 4 -- 
/etc/kannel/kannel.conf
kannel  2092   1  0 03:44 ?00:00:00 /usr/sbin/run_kannel_box 
--pidfile /var/run/kannel/kannel_wapbox.pid --no-extra-args /usr/sbin/wapbox -v 
4 -- /etc/kannel/kannel.conf
kannel  20932092  0 03:44 ?00:00:00 /usr/sbin/wapbox -v 4 -- 
/etc/kannel/kannel.conf
root31893177  0 03:46 pts/000:00:00 grep --color=auto box
root@ubuntu:~# kill 1986 1988 2092 2093
root@ubuntu:~#


  *   In syslog, I then I see

2022-09-04T03:46:49.661637-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: HTTP: Opening server at port 13000.
2022-09-04T03:46:49.662217-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: Set SMS resend frequency to 60 seconds.
2022-09-04T03:46:49.662331-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: SMS resend retry set to 5.
2022-09-04T03:46:49.662473-07:00 ubuntu smsbox[3191]: 2022-09-04 03:46:49 
[3191] [0] INFO: Connected to bearerbox at localhost port 13001.
2022-09-04T03:46:49.662539-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: DLR rerouting for smsc id <(null)> disabled.
2022-09-04T03:46:49.662596-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: AT2[/dev/modem]: configuration doesn't show modemtype. will 
autodetect
2022-09-04T03:46:49.662807-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: Adding interface *
[...]
2022-09-04T03:46:49.663534-07:00 ubuntu bearerbox[3190]: 2022-09-04 03:46:49 
[3190] [0] INFO: Kannel bearerbox II version 1.4.5 starting


  *   And Kannel continues to load and begins processing messages successfully

root@ubuntu:~# apt info kannel
Package: kannel
Version: 1.4.5-9ubuntu2
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers 
ubuntu-devel-disc...@lists.ubuntu.com
Original-Maintainer: Chris Hofstaedtler z...@debian.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4,691 kB
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, lsb-base, psmisc, libc6 (>= 2.34), libct4 (>= 0.64), libhiredi
s0.14 (>= 0.14.0), libmysqlclient21 (>= 8.0.11), libpam0g (>= 0.99.7.1), libpcre
3, libpq5, libsqlite3-0 (>= 3.5.9), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.7.
4)
Conflicts: kannel-cvs, kannel-devel
Replaces: kannel-cvs, kannel-devel
Homepage: https://www.kannel.org/
Download-Size: 1,240 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: WAP and SMS gateway
Kannel is a gateway for connecting WAP (Wireless Application Protocol)
phones to the Internet.
It also works as an SMS/SMPP gateway,
for providing SMS based services for GSM phones.
.
Compiled with ssl, MySQL and native malloc.

root@ubuntu:~#


WHAT I HAVE TRIED

  *   I tried uninstalling & re-installing kannel; no change in behavior
 *   apt remove kannel
 *   apt install kannel

--sk

Stuart Kendrick


  1   2   3   4   5   6   7   8   9   10   >