Do: netstat -putan | Grup 8021 And make sure freeswitch is listening for the event socket If it is and you still can’t connect, try fs_cli -H :: On Thu, 6 Aug 2020 at 19:52, John Tuxies <atuxnull@gmail.com> wrote:
here is the log file. It starts, but i cannot connect to the console
*root@debian: ~ $ fs_cli -r[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting []^CInterrupted.root@debian: ~ $ ps -aux | grep freeswitchfreeswi+ 603 2.3 10.5 910728 106172 ? S<Lsl 09:07 0:00 /usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch -nonat -rproot 651 0.0 0.0 6208 892 pts/0 S+ 09:08 0:00 grep freeswitchroot@debian: ~ $ service freeswitch status● freeswitch.service - freeswitch Loaded: loaded (/etc/systemd/system/freeswitch.service; enabled; vendor preset: enabled) Active: deactivating (stop-sigterm) (Result: timeout)Cntrl PID: 603 (freeswitch) Tasks: 8 (limit: 1148) Memory: 149.1M CGroup: /system.slice/freeswitch.service └─603 /usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch -nonat -rpAug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1186 Deleting Codec b64 116 B64 (STANDARD) 8000hz 20msAug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [CONSOLE] switch_loadable_module.c:2399 mod_b64 has no shutdown routineAug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1263 Deleting Application 'socket'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1318 Deleting API Function 'event_sink'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [CONSOLE] switch_loadable_module.c:2396 Stopping: mod_event_socketAug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1158 Deleting Endpoint 'SIP'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1158 Deleting Endpoint 'IAX2'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1230 Deleting Dialplan 'asterisk'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1263 Deleting Application 'Dial'Aug 04 09:08:35 debian freeswitch[603]: 2020-08-04 09:08:35.393517 [NOTICE] switch_loadable_module.c:1263 Deleting Application 'Goto'root@debian: ~ $*
Any solution on that please?
On Sun, Aug 2, 2020 at 7:40 AM John Tuxies <atuxnull@gmail.com> wrote:
Hi David. Starting it manually as root, without any changes, ia the first thing done. Same error
On Saturday, August 1, 2020, David Villasmil < david.villasmil.work@gmail.com> wrote:
Start it manually with root and see what happens
On Fri, 31 Jul 2020 at 23:21, John Covici <covici@ccs.covici.com> wrote:
Don't change your systemd file, execute by hand from the command line with the exact same command and see what happens.
On Fri, 31 Jul 2020 00:36:40 -0400, John Tuxies wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (quoted-printable)>] Does anyone have a solution to make it work in Debian (9 or 10),
please?
It is imperative to fix it as soon as possible.
On Thu, Jul 30, 2020 at 8:54 AM John Tuxies <atuxnull@gmail.com> wrote:
I am afraid that it does not work. Here is what i have in */etc/systemd/system/freeswitch.service* *ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -nonat* and here is the outcome
*[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting []*
Freeswitch is not starting
*root@debian: /etc/systemd/system $ ps aux | grep freeswitchroot 503 0.0 0.0 6208 888 pts/0 S+ 08:53 0:00 grep freeswitchroot@debian: /etc/systemd/system $*
On Wed, Jul 29, 2020 at 6:31 PM Flavio Donadio < flavio@donadio.com.br> wrote:
> John, > > > Here is your previous command: > > /usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat > > Now, try it like this: > > /usr/bin/freeswitch -u freeswitch -g freeswitch -nonat > > > Cheers, > Flavio > > > > On 28 Jul 2020, at 15:30, John Covici <covici@ccs.covici.com> wrote: > > Take your original command and just omit the -ncwiat of whatever it > was, I don't have it any more. > > On Mon, 27 Jul 2020 14:36:32 -0400, > John Tuxies wrote: > > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (quoted-printable)>] > Hey John. > > > Could you post the whole command please? > So i could move forward with Freeswitch > > On Saturday, July 25, 2020, John Tuxies <atuxnull@gmail.com> wrote: > > Please post the whole command as it should be typed. We are missing > something > > > > > On Friday, July 24, 2020, John Covici <covici@ccs.covici.com> wrote: > > You need to get rid of the -ncwait to see anything. > > On Fri, 24 Jul 2020 06:33:20 -0400, > John Tuxies wrote: > > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (quoted-printable)>] > No luck. > > > > > > > > > > *root@debA: ~ $ systemctl start freeswitchroot@debA: ~ $ ps -aux | grep > freeswifreeswi+ 12569 5.4 10.2 879236 103824 ? S<Lsl 13:32 0:01 > /usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonatroot > 12614 0.0 0.0 6076 892 pts/0 S+ 13:32 0:00 grep > freeswiroot@debA: ~ $ fs_cli -r[ERROR] fs_cli.c:1691 main() Error > Connecting [][INFO] fs_cli.c:1697 main() Retrying[ERROR] fs_cli.c:1691 > main() Error Connecting []^CInterrupted.root@debA: ~ $* > > On Fri, Jul 24, 2020 at 12:24 AM John Covici < covici@ccs.covici.com> > > wrote: > > > hmmm? Just take the line from the system unit file, and run it by > hand from the console, eliminating the -nc parameter. > > On Thu, 23 Jul 2020 14:27:12 -0400, > John Tuxies wrote: > > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (quoted-printable)>] > Could you elaborate on how to do that please? > > On Thursday, July 23, 2020, John Covici <covici@ccs.covici.com> > > wrote: > > > What I do in those cases is execute the freeswitch command by > > hand, > > eliminating the -nc parameter, if any, but leaving the -u and -g > > and > > possibly other parameters. Also, see if there is anything in the > > log > > file, but the first method may be enlightening. > > On Thu, 23 Jul 2020 08:41:46 -0400, > John Tuxies wrote: > > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (quoted-printable)>] > hi Franceso and thanks for the reply. i did install from debian > > repo > > and > > it > > should get the systemd, but non the less, i created the file. > > Still > > Freeswitch refuses to start! > > On Thu, Jul 23, 2020 at 10:29 AM Francesco Facco de Lagarda < > francesco@delagarda.com> wrote: > > Did you create Freeswitch service? > > > cd /etc/systemd/system > > > nano freeswitch.service > > ; This file in installations built from Master can be found in > ; /usr/src/freeswitch.git/debian > ; or > ; /usr/src/freeswitch/debian > [Unit] > Description=freeswitch > After=syslog.target network.target local-fs.target > [Service] > ; service > Type=forking > PIDFile=/usr/local/freeswitch/run/freeswitch.pid > PermissionsStartOnly=true > ; blank ExecStart= line flushes the list > ExecStart= > ExecStart=/usr/local/freeswitch/bin/freeswitch -u freeswitch > > -g > > freeswitch > > -ncwait -nonat -rp > TimeoutSec=45s > Restart=on-failure > ; exec > WorkingDirectory=/usr/local/freeswitch/bin > User=root > Group=daemon > LimitCORE=infinity > LimitNOFILE=100000 > LimitNPROC=60000 > ;LimitSTACK=240 > LimitRTPRIO=infinity > LimitRTTIME=7000000 > IOSchedulingClass=realtime > IOSchedulingPriority=2 > CPUSchedulingPolicy=rr > CPUSchedulingPriority=89 > UMask=0007 > [Install] > WantedBy=multi-user.target > > > > > > Next, notify systemd to look for changes in its configuration: > systemctl daemon-reload > Now you are ready to start FreeSWITCH for the first time. > > Because > > FS is > > owned by user freeswitch it should create its databases and > > log > > files > > under > > that user (instead of root) so that those files will still be > > accessible to > > it under future runs. > systemctl start freeswitch > To stop FreeSWITCH: > systemctl stop freeswitch > > > To configure FreeSWITCH to start automatically at boot time: > systemctl enable freeswitch > > > > To be able to launch fs_cli without having to go to bin > > directory, > > add > > directory to path: > > > export PATH=$PATH:/usr/local/freeswitch/bin/ > > Francesco Facco de Lagarda > > > On 23 Jul 2020, at 03:43, John Tuxies <atuxnull@gmail.com> > > wrote: > > > > Trying to install Freeswitch in Debian 9 and 10. Both systems > > failed to > > start: > Running hooks in > > > > > > > > > > > * /etc/ca-certificates/update.d...done.done.root@debian: ~ $ > > fs_cli > > -rRS[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] > > fs_cli.c:1697 > > main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting > []^CInterrupted.root@debian: ~ $* > > I have tried to install from > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster > > to > > install using debian packages. > > Any suggestions, please? > > > > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS > > and PSTN > > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS > > and PSTN > > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > [1.2 <text/html; UTF-8 (quoted-printable)>] > [2 <text/plain; utf-8 (base64)>] > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and > > PSTN > > services. > > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > > https://signalwire.community > > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > > -- > Your life is like a penny. You're going to lose it. The > > question is: > > How do > you spend it? > > John Covici wb2una > covici@ccs.covici.com > > > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and > > PSTN > > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > [1.2 <text/html; UTF-8 (quoted-printable)>] > [2 <text/plain; utf-8 (base64)>] > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > > services. > > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > > https://signalwire.community > > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici@ccs.covici.com > > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > [1.2 <text/html; UTF-8 (quoted-printable)>] > [2 <text/plain; utf-8 (base64)>] > ____________________________________________________________ > > _____________ > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > > services. > > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > > https://signalwire.community > > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > > https://freeswitch.com > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici@ccs.covici.com > >
> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > https://freeswitch.com > > > > [1.2 <text/html; UTF-8 (quoted-printable)>] > [2 <text/plain; utf-8 (base64)>] >
> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > https://freeswitch.com > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici@ccs.covici.com > >
> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > https://freeswitch.com > > >
> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales@freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > 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 > https://freeswitch.com
[1.2 <text/html; UTF-8 (quoted-printable)>] [2 <text/plain; utf-8 (base64)>]
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici wb2una covici@ccs.covici.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337