RE: Error in kannel-monitor
This is a standard script from Kannel (gateway-1.5.0/contrib/kannel-monitor) Standard script posted /var/www/html/kannel-monitor If using a test script, all ok http://localhost/;; if (($fp = fopen($url, "r"))) { echo "Ok"; } else { echo "Not ok"; } fclose($fp); ?> Perhaps the problem of access to the port 13000 (Kannel admin) Kannel 1.5.0, Centos 7, Kannel independently compiled -Original Message- From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Milan P. Stanic Sent: Tuesday, March 01, 2016 5:26 PM To: de...@kannel.org Subject: Re: Error in kannel-monitor Dear Vladimir, Please post your questions to users@kannel.org mailing list where you have better chances to get answer. de...@kannel.org list is for developers discussions. On Tue, 2016-03-01 at 10:47, Беляев Владимир Николаевич wrote: > $url = $config["base_url"]."/status.xml"; > $xml_data = ""; > /* open the file description to the URL */ > if (($fp = fopen($url, "r"))) { > $bgcolor = 'green'; > /* read the XML input */ > while (!feof($fp)) { > $xml_data .= fread($fp, 20); > } > fclose($fp); > > Through the browser opens the URL It is not clear (at least to me) what you are trying to do with this php script and how do invoke it. Please try to describe what you are trying to achieve and how do you do that. Also describe your working environment i.e. your OS and how did you installed Kannel and accompanying software. > > When you open a kannel-monitor I get an error > > > > [Tue Feb 09 09:50:14.899177 2016] [:error] [pid 45752] [client > > 172.19.1.35:56951] PHP Warning: > > fopen(http://localhost:13000/status.xml?password=): failed to open stream: > > Permission denied in /var/www/html/kannel-monitor/index.php on line > > 91 > > > > What can be wrong& > > Message tells that the index.php cannot open something (file, socket or > something else). > Look at line 91 in index.php script and see what file it is trying to open > and check the permissions of that file and who is the owner of it. > > Or, post your index.php script (just few lines around line 91) so someone > could give you a hint. > > >
Re: Kannel Debian Instalation
On Tue, 2016-03-01 at 07:52, Crystian Luís wrote: > Hi, I am having some troubles to install Kannel with OPENSMPPBOX in Debian > 8, Somebody has a TUTORIAL or MANUAL to help me? > > There is some apt-get command to install opensmppbox? I prefer use apt-get > in debian, I'ts easy to create OS releases to re-install sessions. You mean apt-get repository because you have apt-get command installed when you install Debian. I made Kannel apt repository but it was for the Debian Wheezy and not Jessie because I don't use Kannel anymore. But I can upload sources with Debian build scripts if someone wants to take over to maintain it. Of course I could build Kannel for Jessie and put it on my apt repository but I'm hesitant to do that because I couldn't test it and I think it would be bad to put untested package for users to use it especially in production.
Re: Kannel Debian Instalation
01.03.2016 17:52, Crystian Luís пишет: Hi, I am having some troubles to install Kannel with OPENSMPPBOX in Debian 8, Somebody has a TUTORIAL or MANUAL to help me? There is some apt-get command to install opensmppbox? I prefer use apt-get in debian, I'ts easy to create OS There is manual on oficial site. http://kannel.org/userguide.shtml
Kannel Debian Instalation
Hi, I am having some troubles to install Kannel with OPENSMPPBOX in Debian 8, Somebody has a TUTORIAL or MANUAL to help me? There is some apt-get command to install opensmppbox? I prefer use apt-get in debian, I'ts easy to create OS releases to re-install sessions. Thank you! Crystian Luís Kammler Telefone Celular: 49 8436 5030 MSN: crystianl...@gmail.com Skype: crystianluis
Re: Kannel Sms configuration
Enable debug off messages and see if the delay is on your side or your provider side. Check network connectivity with provider. Is it fluctuating? On Wed, Feb 24, 2016 at 2:17 PM, Omar Aliwrote: > Hi Everyone, > > > This is my whole System Architecture, > > > > group = core > admin-port = 13003 > smsbox-port = 13013 > admin-password = bar > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > unified-prefix = "00358,0" > dlr-storage = pgsql > > group = pgsql-connection > id = mydlr > host = 127.0.0.1 > username = postgres > password = > database = suna > max-connections = 1 > > group = dlr-db > id = mydlr > table = dlr > field-smsc = smsc > field-timestamp = ts > field-destination = destination > field-source = source > > field-source = source > field-service = service > field-url = url > field-mask = mask > field-status = status > field-boxc-id = boxc > > # SMSC CONNECTIONS > group = smsc > smsc = smpp > host = 172.20.11.126 > port=6693 > smsc-username = xx > smsc-id = xx > smsc-password = Testing > system-type = "smpp" > #port=6693 > interface-version = 33 > source-addr-autodetect = yes > dest-addr-ton = 1 > dest-addr-npi = 1 > transceiver-mode = 1 > reconnect-delay = 10 > #connect-allow-ip = 192.1.0.0 > > # SMSBOX SETUP > group = smsbox > bearerbox-host = localhost > sendsms-port = 13031 > global-sender = "suna" > mo-recode = true > > # SEND-SMS USERS > group = sendsms-user > username = xxx > password = xx > max-messages = 3 > concatenation = true > forced-smsc = SOL > > > # this sender is for Kannel relay testing (http_smsc) > group = sendsms-user > username = kannel > password = rL4y > #user-deny-ip = "*.*.*.*" > #user-allow-ip = "192.1.0.0." > > # SERVICES > mo-recode = true > > # SEND-SMS USERS > group = sendsms-user > username = sunanews > password = sunanews > max-messages = 3 > concatenation = true > forced-smsc = SOL > > > # this sender is for Kannel relay testing (http_smsc) > group = sendsms-user > username = kannel > password = rL4y > #user-deny-ip = "*.*.*.*" > #user-allow-ip = "192.1.0.0." > > # SERVICES > > # there should be default always > group = sms-service > keyword = default > get-url = " > http://127.0.0.1/SUDANEWS/process_request.php?content=%a=%p; > max-messages = 0 > > > > > > I am having troubles in latency in delivering the message to the SMSc. Can > anyone help please > > > Thanks and best regards. >