Starting, Restarting, and Stopping VOCAL
This section describes how to start, restart, or stop VOCAL on a deployed system.
Syntax for Restarting, Starting, and Stopping
There are three methods for starting, stopping, and restarting servers:
Using the SNMP GUI (as explained in Chapter 17)
Using vocalstart
Using direct command-line instructions
Using vocalstart
The syntax for restarting, starting, or stopping is:
/usr/local/vocal/bin/vocalstart [command
] [server type or port number
]
where:
[command]
can berestart
,start
, orstop
.(Optional)
[server type]
can bers
,ms
,fs
,js
,cdr
,net
,vm
,pd
, orhs
:rs
= Redirect serverms
= Marshal serverfs
= Feature serverjs
= JTAPI Feature servercdr
= Call Detail Record servernet
= Network Management Stationvm
= Voice Mail serverpd
= Policy serverhs
= Heartbeat server(Optional)
[port number]
is the port number used by the server.
Some examples of this command in use:
This starts all VOCAL servers:
./vocalstart start
This stops just the Redirect server:
./vocalstart stop rs
This stops just the User Agent Marshal server:
./vocalstart stop 5060
5060 is the default IP port number for SIP, and it is normally assigned to the UA Marshal server. You can check the
vocal.conf
file (/usr/local/vocal/etc/vocal.conf
) for the port numbers of the other servers.
Using the command line
Many developers would rather type their own options than use the vocalstart script. If you use a direct command, you must start the Provisioning server before starting the other VOCAL ...
Get Practical VoIP Using VOCAL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.