VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
msc at freeswitch.org Guest
|
Posted: Fri Jan 23, 2009 5:53 pm Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
just for kicks, can you try a raw telnet session, just to make sure
the the event socket is working properly?
telnet localhost 8021
auth ClueCon (press enter twice)
If you get something like this:
h-3.2# telnet localhost 8021
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Content-Type: auth/request
auth ClueCon
Content-Type: command/reply
Reply-Text: +OK accepted
Then the event socket stuff is working. To exit out, type "exit" then
enter twice. Let us know what happens.
-MC
On Fri, Jan 23, 2009 at 2:14 PM, Milena <testeador01@gmail.com> wrote:
Quote: |
I use the stable version of fs 1.0.2 testing out different options of
configuration;
Last thing I was doing was trying to fix some issues with dingaling-google
talk cause i hear no audio at all from an external ip, and i still didnt get
it to work;
so i tried deleting the sofia_* files on the folder db/ as suggested on
another thread about nat related issues (oops?), and then restarting fs.
After this, trying to execute bin/fs_cli doesn't work anymore; it tries to
connect cause i get the output on the box:
2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1791 listener_run()
Connection Open from 127.0.0.1:33055
2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1914 listener_run() Session
complete, waiting for children
2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1938 listener_run()
Connection Closed
but on the console where im trying to run the cli nothing happens,
I tried rebooting the machine; i tried with freeswitch make current, it
didn't fix it; i tried all the way from configure to make and make install
and it didn't fix my problem either.
What should i run or change on the configurations to fix this?
Thank you very much.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Sat Jan 24, 2009 8:26 am Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
Well, telnet works, what else could it be?
another thing i remember doing before the fs_cli stopped working was installing TCAPI and getting it to work, but i didn't change any config files or anything other than what it says in the instalation instructions;
I don't mind so much about replicating the issue and figuring out how did it get damaged, what I really want to know now is how to make it work again cause even reconfiguring/installing fs doesn't fix it and the truth is, the fs_cli is comfortable; any idea on how to fix it other than starting a fresh install of fs from a new os instalation?
Thank you!
My telnet output:
-bash-3.2# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request
auth <my password>
Content-Type: command/reply
Reply-Text: +OK accepted
exit
Content-Type: command/reply
Reply-Text: +OK bye
Content-Type: text/disconnect-notice
Content-Length: 70
Disconnected, goodbye!
See you at ClueCon http://www.cluecon.com/ !!!
Connection closed by foreign host.
-------
Michael Collins wrote:
Quote: | just for kicks, can you try a raw telnet session, just to make sure
the the event socket is working properly?telnet localhost 8021auth ClueCon (press enter twice)If you get something like this:h-3.2# telnet localhost 8021Trying ::1...telnet: connect to address ::1: Connection refused
Trying fe80::1...telnet: connect to address fe80::1: Connection refusedTrying 127.0.0.1...Connected to localhost.Escape character is '^]'.Content-Type: auth/requestauth ClueConContent-Type: command/reply
Reply-Text: +OK acceptedThen the event socket stuff is working. To exit out, type "exit" thenenter twice. Let us know what happens.-MCOn Fri, Jan 23, 2009 at 2:14 PM, Milena <testeador01 at gmail.com> wrote:
Quote: | > I use the stable version of fs 1.0.2 testing out different options of> configuration;> Last thing I was doing was trying to fix some issues with dingaling-google> talk cause i hear no audio at all from an external ip, and i still didnt get
| > it to work;>> so i tried deleting the sofia_* files on the folder db/ as suggested on> another thread about nat related issues (oops?), and then restarting fs.> After this, trying to execute bin/fs_cli doesn't work anymore; it tries to
> connect cause i get the output on the box:> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1791 listener_run()> Connection Open from 127.0.0.1:33055
> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1914 listener_run() Session> complete, waiting for children> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1938 listener_run()> Connection Closed
>> but on the console where im trying to run the cli nothing happens,> I tried rebooting the machine; i tried with freeswitch make current, it> didn't fix it; i tried all the way from configure to make and make install
> and it didn't fix my problem either.>> What should i run or change on the configurations to fix this?>> Thank you very much.>> _______________________________________________
> Freeswitch-users mailing list> Freeswitch-users at lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
>> |
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Jan 24, 2009 9:11 am Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
try rebuilding fs_cli
cd libs/esl
make clean
make
try to run
./fs_cli
if it works copy that into your path
On Sat, Jan 24, 2009 at 7:22 AM, Milena <testeador01@gmail.com (testeador01@gmail.com)> wrote:
Quote: | Well, telnet works, what else could it be?
another thing i remember doing before the fs_cli stopped working was installing TCAPI and getting it to work, but i didn't change any config files or anything other than what it says in the instalation instructions;
I don't mind so much about replicating the issue and figuring out how did it get damaged, what I really want to know now is how to make it work again cause even reconfiguring/installing fs doesn't fix it and the truth is, the fs_cli is comfortable; any idea on how to fix it other than starting a fresh install of fs from a new os instalation?
Thank you!
My telnet output:
-bash-3.2# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request
auth <my password>
Content-Type: command/reply
Reply-Text: +OK accepted
exit
Content-Type: command/reply
Reply-Text: +OK bye
Content-Type: text/disconnect-notice
Content-Length: 70
Disconnected, goodbye!
See you at ClueCon http://www.cluecon.com/ !!!
Connection closed by foreign host.
-------
Michael Collins wrote:
Quote: | just for kicks, can you try a raw telnet session, just to make sure
the the event socket is working properly?telnet localhost 8021auth ClueCon (press enter twice)If you get something like this:h-3.2# telnet localhost 8021Trying ::1...telnet: connect to address ::1: Connection refused
Trying fe80::1...telnet: connect to address fe80::1: Connection refusedTrying 127.0.0.1...Connected to localhost.Escape character is '^]'.Content-Type: auth/requestauth ClueCon
Content-Type: command/reply
Reply-Text: +OK acceptedThen the event socket stuff is working. To exit out, type "exit" thenenter twice. Let us know what happens.-MCOn Fri, Jan 23, 2009 at 2:14 PM, Milena <testeador01 at gmail.com> wrote:
Quote: | > I use the stable version of fs 1.0.2 testing out different options of> configuration;> Last thing I was doing was trying to fix some issues with dingaling-google> talk cause i hear no audio at all from an external ip, and i still didnt get
|
> it to work;>> so i tried deleting the sofia_* files on the folder db/ as suggested on> another thread about nat related issues (oops?), and then restarting fs.> After this, trying to execute bin/fs_cli doesn't work anymore; it tries to
> connect cause i get the output on the box:> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1791 listener_run()> Connection Open from 127.0.0.1:33055
> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1914 listener_run() Session> complete, waiting for children> 2009-01-23 16:23:59 [DEBUG] mod_event_socket.c:1938 listener_run()> Connection Closed
>> but on the console where im trying to run the cli nothing happens,> I tried rebooting the machine; i tried with freeswitch make current, it> didn't fix it; i tried all the way from configure to make and make install
> and it didn't fix my problem either.>> What should i run or change on the configurations to fix this?>> Thank you very much.>> _______________________________________________
> Freeswitch-users mailing list> Freeswitch-users at lists.freeswitch.org
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
>> |
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Jan 24, 2009 12:28 pm Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
Try running
fs_cli -d 7
Maybe the debug log will shed some light.
On Sat, Jan 24, 2009 at 9:16 AM, Milena <testeador01@gmail.com (testeador01@gmail.com)> wrote:
Quote: | Hi, thanks for the reply,
I tried it both with fs down and it didn't work, also when it was turned on, no results either.
Any other ideas please? i really wanna fix it without having to start from zero.
thank you very much
On the Freeswitch console i keep getting the message:
2009-01-24 10:03:23 [DEBUG] mod_event_socket.c:1791 listener_run() Connection Open from 127.0.0.1:54741
2009-01-24 10:03:23 [DEBUG] mod_event_socket.c:1914 listener_run() Session complete, waiting for children
2009-01-24 10:03:23 [DEBUG] mod_event_socket.c:1938 listener_run() Connection Closed
This is what i did in the other console:
-bash-3.2# cd /usr/src/freeswitch-1.0.2/libs/esl/
-bash-3.2# make clean
rm -f *.o src/*.o testclient testserver fs_cli libesl.a *~ src/*~ src/include/*~
-bash-3.2# make
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -c src/esl.c -o src/esl.o
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -c src/esl_event.c -o src/esl_event.o
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -c src/esl_threadmutex.c -o src/esl_threadmutex.o
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -c src/esl_config.c -o src/esl_config.o
ar rcs libesl.a src/esl.o src/esl_event.o src/esl_threadmutex.o src/esl_config.o
ranlib libesl.a
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes fs_cli.c -o fs_cli -L. -L../../libs/libedit/src/.libs -lncurses -lpthread -lesl -ledit
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes testclient.c -o testclient -L. -lncurses -lpthread -lesl
cc -Isrc/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes testserver.c -o testserver -L. -lncurses -lpthread -lesl
-bash-3.2# ./fs_cli
-bash-3.2#
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Mon Jan 26, 2009 8:35 am Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
Good morning
Ok, here is what i get from the console, do you know what can i do to fix it? thank you very much
-bash-3.2# /usr/local/freeswitch/bin/fs_cli -d 7
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration file is /root/.fs_cli_conf.
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration file is /etc/fs_cli.conf.
[DEBUG] libs/esl/fs_cli.c:573 main() profile default does not exist using builtin profile
[DEBUG] libs/esl/fs_cli.c:597 main() Using profile internal [127.0.0.1]
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Content-Type] = [auth/request]
[DEBUG] libs/esl/src/esl.c:833 esl_recv_event() RECV MESSAGE
Content-Type: [auth/request]
[DEBUG] libs/esl/src/esl.c:853 esl_send() SEND
auth ClueCon
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Content-Type] = [command/reply]
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Reply-Text] = [-ERR invalid]
[DEBUG] libs/esl/src/esl.c:833 esl_recv_event() RECV MESSAGE
Content-Type: [command/reply]
Reply-Text: [-ERR invalid]
[ERROR] libs/esl/fs_cli.c:610 main() Error Connecting [Connection Error]
-bash-3.2#
Anthony Minessale wrote:
Quote: |
Quote: | Try runningfs_cli -d 7Maybe the debug log will shed some light. |
|
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Mon Jan 26, 2009 11:45 am Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
Loos like the wrong password to me, look in /usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xml and use fs_cli -p [pass]
Mathieu
On Mon, Jan 26, 2009 at 8:33 AM, Milena <testeador01@gmail.com (testeador01@gmail.com)> wrote:
Quote: | Good morning
Ok, here is what i get from the console, do you know what can i do to fix it? thank you very much
-bash-3.2# /usr/local/freeswitch/bin/fs_cli -d 7
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration file is /root/.fs_cli_conf.
[DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file() Configuration file is /etc/fs_cli.conf.
[DEBUG] libs/esl/fs_cli.c:573 main() profile default does not exist using builtin profile
[DEBUG] libs/esl/fs_cli.c:597 main() Using profile internal [127.0.0.1]
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Content-Type] = [auth/request]
[DEBUG] libs/esl/src/esl.c:833 esl_recv_event() RECV MESSAGE
Content-Type: [auth/request]
[DEBUG] libs/esl/src/esl.c:853 esl_send() SEND
auth ClueCon
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Content-Type] = [command/reply]
[DEBUG] libs/esl/src/esl.c:700 esl_recv_event() RECV HEADER [Reply-Text] = [-ERR invalid]
[DEBUG] libs/esl/src/esl.c:833 esl_recv_event() RECV MESSAGE
Content-Type: [command/reply]
Reply-Text: [-ERR invalid]
[ERROR] libs/esl/fs_cli.c:610 main() Error Connecting [Connection Error]
-bash-3.2#
Anthony Minessale wrote:
Quote: |
Quote: | Try runningfs_cli -d 7Maybe the debug log will shed some light. |
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Mon Jan 26, 2009 11:52 am Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
thanks ^^
2009/1/26 Mathieu Rene <mrene_lists@avgs.ca (mrene_lists@avgs.ca)>
|
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Mon Jan 26, 2009 12:46 pm Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
On a second thought...
it would be nice if the console showed a message when there is a wrong password, something more descriptive than just doing nothing,
also it is not clear to me why the console didn't require me to put the password before i deleted that folder's content even knowing that i changed my password a long time ago.
well, thank you all
1/26 Milena <testeador01@gmail.com (testeador01@gmail.com)>
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Jan 26, 2009 1:14 pm Post subject: [Freeswitch-users] My fs_cli stopped working, can you help m |
|
|
you're right, its fixed int tree to explain the issue now.
On Mon, Jan 26, 2009 at 11:41 AM, Milena <testeador01@gmail.com (testeador01@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|