[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-users
Subject:    Re: [SR-Users] no sercmd_ctl file
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2011-11-30 10:56:03
Message-ID: 4ED60BC3.60206 () gmail ! com
[Download RAW message or body]

Hello,

On 11/28/11 1:50 PM, Uri Shacked wrote:
> how do i restore the serdmd file in order to run commands with sercmd?
control file is created by kamialio and it should be by default 
/tmp/kamailio_ctl

If you are running tarball 3.2.0, it was a mismatching in the default 
ctl file between kamailio and sercmd -- first creating by default 
/tmp/kamailio_ctl, second using default ctl file /tmp/sercmd_ctl. It is 
fixed now (to be in 3.2.1 or use git branch 3.2)

However, you can give -s parameter to sercmd:

sercmd -s unix:/tmp/kamailio_ctl ...

> is there a way to run sercmd command woth kamctl only?
There is a wrapper in kamctl, iirc, you can do:

kamctl cmd ...

and it will call sercmd to execute ...

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic