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

Reply via email to