# # $Id$ # # control tool for maintaining Kamailio # #=================================================================== ##### ----------------------------------------------- ##### ### UNIXSOCK specific variables and functions # ##### ----------------------------------------------- ##### ### load CTL base # if [ -f "$MYLIBDIR/kamctl.ctlbase" ]; then . "$MYLIBDIR/kamctl.ctlbase" else mwarn "Cannot load CTL core functions '$MYLIBDIR/kamctl.ctlbase' ..." # exit -1 fi # ##### ----------------------------------------------- ##### ### parameters # export CHROOT_DIR # needed for kamunix if [ -z "$OSER_UNIXSOCK" ]; then OSER_UNIXSOCK=$CHROOT_DIR/tmp/kamailio.sock fi if [ -z "$OSERUNIX" ]; then OSERUNIX=kamunix fi # ##### ----------------------------------------------- ##### ### functions # usage_unixsock() { echo mecho " -- command 'unixsock'" echo cat <