Sorry I posted this in the wrong mail.... ----- Messaggio originale ----- Da: "umbertofilippo" <umbertofili...@tiscali.it> Inviato: 12/02/2017 20:04 A: "users@kannel.org" <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 10000 in use when in the 'smskannel.conf' there's only port 13000 (for bbox), 13001 (for smsbox), 20000 (for smsc), 13013 (for send-sms and global-sender)? Finally, I also tried to open port 10000 but that did not solve the problem (by 'sudo ufw allow 10000'). 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 = <none>, log_lvl = 0 2017-02-11 16:24:45 [4996] [0] INFO: Host localhost Port 10000 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 `10000' 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]