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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Oh, yes, I understand. There are many ;( serxxxctl utilities which are poorly documented. Ser_ctl is one of them. Sorry.
For ser_ctl (ser_user, ser_domain, ...) utility working you need to:
* ser's xml-rpc module loaded and ser configured to listen on TCP. (your ser is not listen on TCP)
or
* ser and ser_ctl configured to use fifo: for serctl, e.g.: serctl -j -J /tmp/ser_fifo ps or without command line switches - set next variables in config file: USE_FIFO = True FIFO = "/tmp/ser_fifo"
You not need to load binrpc module, which is for sercdm utility.
-- hallik
On Mon, Jan 08, 2007 at 05:26:35PM +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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I was trying to use sercmd & ser_ctl commands and I was receiving the same error in both cases: 111, connection refused. But after I change the fork parameter in ser.cfg file to yes, everything started to work. so there was the problem:) Is it so that when everser is started in the no fork mode it only listens on the localhost udp port??
Oh, yes, I understand. There are many ;( serxxxctl utilities which are poorly documented. Ser_ctl is one of them. Sorry.
For ser_ctl (ser_user, ser_domain, ...) utility working you need to:
- ser's xml-rpc module loaded and ser configured to listen on TCP. (your ser is not listen on TCP)
or
- ser and ser_ctl configured to use fifo: for serctl, e.g.: serctl -j -J /tmp/ser_fifo ps or without command line switches - set next variables in config file: USE_FIFO = True FIFO = "/tmp/ser_fifo"
You not need to load binrpc module, which is for sercdm utility.
-- hallik
On Mon, Jan 08, 2007 at 05:26:35PM +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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers