[Serusers] ser_ctl: (111, 'Connection refused'): error

Michal Matyska michal at iptel.org
Mon Jan 8 18:07:45 CET 2007


The ctl module serves the sercmd (utils/sercmd).

If you want to use ser_ctl then you have to support it in the script
file like this:

if (method=="POST" || method=="GET") {
#       create_via();  shouldn't be required with the latest CVS source
        rewriteuri("sip:xmlrpc at 127.0.0.1:5060");
        dispatch_rpc();
        drop;
}

Michal

On Mon, 2007-01-08 at 17:26 +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> Results in the attached files
> 
> tomasz
> 
> > Plese, try 'netstat -tupan' and 'ser_ctl -Gg ps' and post results. -- hallik
> > 
> > On Mon, Jan 08, 2007 at 04:41:59PM +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> > > Hi !
> > > 
> > > I've set up the ser 0.10.99, basic functionality works - ser registers users
> > > and establishes the media sessions correctly. Now I tried to use the new serctl
> > > tool: version 0.3.17. When I try to invoke for instance #ser_ctl ps while ser is
> > > running I get the following:
> > > ser_ctl: (111, 'Connection refused'): error
> > > 
> > > my ser.cfg file part:
> > > port=5060
> > > ...
> > > modparam("ctl", "binrpc", "unixs:/tmp/ser_ctl")
> > > modparam("ctl", "fifo", "fifo:/tmp/ser_fifo")
> > > modparam("ctl", "mode", 0666)               
> > > 
> > > and my serctl.conf and serctl/config.py files lines:
> > > ..
> > > SER_URI = 'http://localhost:5060/'
> > > ...
> > > 
> > > Please point me what do I need to do to make it work.
> > > Best
> > > Tomasz
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list