Re: testing Kannel with fakesmsc: Failed to open connection

2017-02-12 Thread umbertofilippo
Forgot to say that I plugged my phone via USB cable and it was 
recognized properly by my system. I am on Ubuntu 16.04.



On 11/02/2017 16:26, umbertofilippo wrote:


Hi,

I am new to Kannel. I just installed it on my Ubuntu 16.04 SO and now 
testing the installation with 'fakesmsc'.


I am reading 'smskannel.conf' file and try to test with the trhee 
suggested steps:


 1. gw/bearerbox gw/smskannel.conf
 2. gw/smsbox gw/smskannel.conf
 3. test/fakesmsc -i 0.1 -m 100 "123 345 text nop"

steps 1. and 2. seem fine (bearerbox and smsbox are running correctly 
from two different terminal windows), but last step is failing.


Below is the messages  I receive, do you have any suggestion on what 
is the actual problem? Why is that  port 1 in use when in the 
'smskannel.conf' there's only port 13000 (for bbox), 13001 (for 
smsbox), 2 (for smsc), 13013 (for send-sms and global-sender)?


Finally, I also tried to open port 1 but that did not solve the 
problem (by 'sudo ufw allow 1'). Thanks in advance for any help.


umberto@umberto-aspire-5738:~/gateway-1.4.4$ ./test/fakesmsc -i 0.1 -m 
100 "123 345 text nop"
2017-02-11 16:24:45 [4996] [0] INFO: Debug_lvl = -1, log_file = 
, log_lvl = 0
2017-02-11 16:24:45 [4996] [0] INFO: Host localhost Port 1 
interval 0.100 max-messages 100

2017-02-11 16:24:45 [4996] [0] INFO: fakesmsc starting
2017-02-11 16:24:45 [4996] [0] DEBUG: Connecting to <127.0.0.1>
2017-02-11 16:24:45 [4996] [0] ERROR: connect to <127.0.0.1> failed
2017-02-11 16:24:45 [4996] [0] ERROR: System error 111: Connection refused
2017-02-11 16:24:45 [4996] [0] ERROR: error connecting to server 
`localhost' at port `1'

2017-02-11 16:24:45 [4996] [0] PANIC: Failed to open connection
2017-02-11 16:24:45 [4996] [0] PANIC: 
./test/fakesmsc(gw_backtrace+0xce) [0x419b4e]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(gw_panic+0x16f) 
[0x419ccf]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(main+0x986) 
[0x40a1b6]
2017-02-11 16:24:45 [4996] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fad8b8e6830]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(_start+0x29) 
[0x40a249]






Messages not inserting in Send Table

2017-02-12 Thread Robin C
Dear Users,
I have installed and configured kannel to send sms with mysql storage. I am
able to send message and i received the message in my handset. But there is
no entry either in Send table nor in Sent table. Can anyone say what will
be the reason for this? And how can i solve this?

-- 

   *Thanks & Regards,*



  Robin C

 Linux System Administrator



*ZIN-CRON | Bulk Sms, Voice Calls, Long Codes, Short Codes, Software
Development, Web & Graphic Designing.*


*www.zincron.co.in  | www. easyhops.co.in
 | www.equipe.co.in   *

*Corporate Office : S**urabhi ,TC 24/614, Door No.64, First floor *

*Elankam Nagar , Thycaud, *

*Thiruvananthapuram - 695014, , Kerala, India*


*Mobile: +919544861010 *| Phone:  0471 650 0414  | Raise Your Ticket:
zincron-ticketing.com


Connect with us @ Facebook

 | LinkedIn


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


R: testing Kannel with fakesmsc: Failed to open connection

2017-02-12 Thread umbertofilippo
Sorry I posted this in the wrong mail

- Messaggio originale -
Da: "umbertofilippo" 
Inviato: ‎12/‎02/‎2017 20:04
A: "users@kannel.org" 
Oggetto: Re: testing Kannel with fakesmsc: Failed to open connection

Forgot to say that I plugged my phone via USB cable and it was recognized 
properly by my system. I am on Ubuntu 16.04.



On 11/02/2017 16:26, umbertofilippo wrote:

Hi,
I am new to Kannel. I just installed it on my Ubuntu 16.04 SO and now testing 
the installation with 'fakesmsc'.
I am reading 'smskannel.conf' file and try to test with the trhee suggested 
steps:
gw/bearerbox gw/smskannel.conf 
gw/smsbox gw/smskannel.conf 
test/fakesmsc -i 0.1 -m 100 "123 345 text nop" 
steps 1. and 2. seem fine (bearerbox and smsbox are running correctly from two 
different terminal windows), but last step is failing.
Below is the messages  I receive, do you have any suggestion on what is the 
actual problem? Why is that  port 1 in use when in the 'smskannel.conf' 
there's only port 13000 (for bbox), 13001 (for smsbox), 2 (for smsc), 13013 
(for send-sms and global-sender)?

Finally, I also tried to open port 1 but that did not solve the problem (by 
'sudo ufw allow 1'). Thanks in advance for any help.
umberto@umberto-aspire-5738:~/gateway-1.4.4$ ./test/fakesmsc -i 0.1 -m 100 "123 
345 text nop"
2017-02-11 16:24:45 [4996] [0] INFO: Debug_lvl = -1, log_file = , log_lvl 
= 0
2017-02-11 16:24:45 [4996] [0] INFO: Host localhost Port 1 interval 0.100 
max-messages 100
2017-02-11 16:24:45 [4996] [0] INFO: fakesmsc starting
2017-02-11 16:24:45 [4996] [0] DEBUG: Connecting to <127.0.0.1>
2017-02-11 16:24:45 [4996] [0] ERROR: connect to <127.0.0.1> failed
2017-02-11 16:24:45 [4996] [0] ERROR: System error 111: Connection refused
2017-02-11 16:24:45 [4996] [0] ERROR: error connecting to server `localhost' at 
port `1'
2017-02-11 16:24:45 [4996] [0] PANIC: Failed to open connection
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(gw_backtrace+0xce) 
[0x419b4e]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(gw_panic+0x16f) [0x419ccf]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(main+0x986) [0x40a1b6]
2017-02-11 16:24:45 [4996] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fad8b8e6830]
2017-02-11 16:24:45 [4996] [0] PANIC: ./test/fakesmsc(_start+0x29) [0x40a249]