kannel

Kannel as SMPP server

霸气de小男生 提交于 2020-01-01 19:23:07
问题 I have created SMS gateway application in which I'm using kannel to connect to MNO(Mobile Network Operators) SMSCs.I have set of clients who are connected to my application given the API (JSON API) and in my application I basically send the request to kannel via its http API. How I have this new clients whose requirement is that his request should go via SMPP protocol as he doesn't feel that JSON API is that much secure as messages can be altered on its way to the recipient. To create SMPP

Check if a process is running using PHP in Linux

*爱你&永不变心* 提交于 2020-01-01 04:25:09
问题 I am using kannel to send SMS via PHP. I want to know how can I check if a particular process is running. For kannel to run, a process named bearerbox should be running all time. I want to check if this process is running or not. Because if the process is not running then a mail will be sent to me notifying me about it. 回答1: The easiest is to use pgrep , which has an exit code of 0 if the process exists, 1 otherwise. Here's an example. exec("pgrep bearerbox", $output, $return); if ($return ==

java for kannel delivery report

泪湿孤枕 提交于 2019-12-24 09:27:14
问题 I have successfully written a class for sending SMS over kannel in Java. But I have big problems to write a delivery report class. Any idea how to write it? 回答1: Kannel will send you back the delivery reports in the url you specify in the dlr-url parameter in the SMS submission, for example example.com/DLR?outgoing_id=123&status=%d . What language you write it in is irrelevant. All you need is an HTTP page that accepts specific parameters via HTTP GET. Kannel will add parameters for the

sqlbox looking for mysql instead of mssql

偶尔善良 提交于 2019-12-21 20:24:11
问题 I tried to start the sqlbox but it panicked, I ran: sqlbox -v 0 /etc/kannel/sqlbox.conf Below is the log: 2017-08-31 13:27:56 [18635] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2017-08-31 13:27:56 [18635] [0] DEBUG: Kannel sqlbox version `1.4.4'. Build `Apr 5 2016 13:32:05', compiler `5.3.1 20160330'. System Linux, release 4.4.0-93-generic, version #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017, machine x86_64. Hostname smpp.bothsmsw.com, IP 127.0.0.1. Libxml version 2.9.3. Using

Kannel Sqlbox not working (trying to connect to SQL Server instead of MySQL)?

落花浮王杯 提交于 2019-12-10 00:08:34
问题 I have a Kannel up and running on an Ubuntu 16.04 box, with local MySQL DLR storage. I want to add sqlbox to queue the incoming SMS in the same database. When I try to launch the sqlbox sqlbox.conf , here is what I get. 2017-08-03 14:02:21 [55982] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2017-08-03 14:02:21 [55982] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2017-08-03 14:02:21 [55982] [0] PANIC: SQLBOX: MSSql: connection

How to set up Kannel without using a 3rd party gateway service

早过忘川 提交于 2019-12-06 06:43:42
问题 I'd like to set up Kannel to send SMS messages without going through a 3rd party gateway like Clickatell or Twilio. In other words, I'd like to connect to the SMPP server for each wireless services (AT&T, Verizon, etc.). How difficult/easy is it to run a Kannel server this way? Each SMSC has to be configured for each mobile network. What is the support like for each network in the US (AT&T, Verizon, T-mobile, Sprint)? Can someone point me to a tutorial/blog for pulling this off (besides the

Kannel as SMPP server

给你一囗甜甜゛ 提交于 2019-12-04 20:14:45
I have created SMS gateway application in which I'm using kannel to connect to MNO(Mobile Network Operators) SMSCs.I have set of clients who are connected to my application given the API (JSON API) and in my application I basically send the request to kannel via its http API. How I have this new clients whose requirement is that his request should go via SMPP protocol as he doesn't feel that JSON API is that much secure as messages can be altered on its way to the recipient. To create SMPP server I'm using Node JS SMPP server and client module and then after receiving the request I basically

Kannel Sqlbox not working (trying to connect to SQL Server instead of MySQL)?

那年仲夏 提交于 2019-12-04 18:14:45
I have a Kannel up and running on an Ubuntu 16.04 box, with local MySQL DLR storage. I want to add sqlbox to queue the incoming SMS in the same database. When I try to launch the sqlbox sqlbox.conf , here is what I get. 2017-08-03 14:02:21 [55982] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2017-08-03 14:02:21 [55982] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2017-08-03 14:02:21 [55982] [0] PANIC: SQLBOX: MSSql: connection settings for id 'sqlbox-db' are not specified! 2017-08-03 14:02:21 [55982] [0] PANIC: sqlbox(gw_backtrace

sqlbox looking for mysql instead of mssql

自作多情 提交于 2019-12-04 14:22:31
I tried to start the sqlbox but it panicked, I ran: sqlbox -v 0 /etc/kannel/sqlbox.conf Below is the log: 2017-08-31 13:27:56 [18635] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2017-08-31 13:27:56 [18635] [0] DEBUG: Kannel sqlbox version `1.4.4'. Build `Apr 5 2016 13:32:05', compiler `5.3.1 20160330'. System Linux, release 4.4.0-93-generic, version #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017, machine x86_64. Hostname smpp.bothsmsw.com, IP 127.0.0.1. Libxml version 2.9.3. Using OpenSSL 1.0.2g 1 Mar 2016. Compiled with MySQL 5.7.11, using MySQL 5.7.19. Compiled with PostgreSQL 9.5

How to set up Kannel without using a 3rd party gateway service

这一生的挚爱 提交于 2019-12-04 14:08:06
I'd like to set up Kannel to send SMS messages without going through a 3rd party gateway like Clickatell or Twilio. In other words, I'd like to connect to the SMPP server for each wireless services (AT&T, Verizon, etc.). How difficult/easy is it to run a Kannel server this way? Each SMSC has to be configured for each mobile network. What is the support like for each network in the US (AT&T, Verizon, T-mobile, Sprint)? Can someone point me to a tutorial/blog for pulling this off (besides the docs)? Cotopaxi, Kannel will happily work with all the carriers in the US. Unfortunately a number of