[Freeswitch-users] UniMRCP Server as daemon won't connect RTSP

Jason Moran jmoran at secureachsystems.com
Tue Jun 28 19:18:33 MSD 2011


That will technically work, but it is not a good solution. Since SSH is
our only allowed remoting option (other methods have been shut down by
our security guy), I need to find a way for unimrcp daemon mode to be
stable with freeswitch.

 

Can other people successfully connect in daemon mode?

-Jason

 

From: Michael Collins [mailto:msc at freeswitch.org] 
Sent: Tuesday, June 28, 2011 11:00 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] UniMRCP Server as daemon won't connect
RTSP

 

How about running unimrcpserver inside of GNU screen? It may not be a
perfect solution but it might let you keep working until you figure out
why the daemon isn't working.
-MC

On Mon, Jun 27, 2011 at 2:52 PM, Jason Moran
<jmoran at secureachsystems.com> wrote:

I've been playing around with IVONA's new unimrcp plugin with unimrcp
1.0.0 (r1725) on OpenSuse 11.4

 

Anyway, when I start it up with the following, it stays in the
foreground of my SSH w/ the following command:

./unimrcpserver

That works! However, since it's in the foreground when I close the SSH
window, it kills the process.

 

If I use the so-called daemon mode (-d or --daemon) it says it is going
into daemon mode, but FS will immediately return that it "Failed to
Connect to RTSP Server..." at the IP:port I specified. The unimrcpserver
process is running, but doesn't seem to respond to anything.

./unimrcpserver -d

./unimrcpserver --daemon

 

If I attempt to background it by either using "&" or ctrl-z it says [1]+
Stopped  ./unimrcpserver and FS will successfully make the RTSP
connection but then nothing will happen. Mod_unimrcp will spit out a
warning about "MRCP session has not opened after 5000 ms"

./unimrcpserver &

Those are hard to kill. But when I kill -9 it then FS will finally
remove the MRCP handle and tell me that it couldn't allocate the speech
engine.

 

Lastly, I can nohup it, but then unimrcpserver eats up 95%+ of the CPU
(instead of 1-3% as it does when I have it in the foreground), which it
does not do when it runs in any other modes. It also makes a very, very
large nohup.out file that keeps on growing. Even if I tell it to not
log.

nohup ./unimrcpserver &

nohup ./unimrcpserver -o 0 &

 

Ideas??
Thanks,

Jason Moran

 


_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110628/4626b63c/attachment.html 


More information about the FreeSWITCH-users mailing list