RPCONLY (JANUS DEFINE parameter): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:RPCONLY}} | {{DISPLAYTITLE:RPCONLY}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Permit only RPC requests (on OPENSERV ports)</span> | ||
<var>RPCONLY</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. | <var>RPCONLY</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. |
Revision as of 22:23, 16 April 2013
Permit only RPC requests (on OPENSERV ports)
RPCONLY is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
This parameter indicates that only RPC requests are allowed on the port. All non-RPC (language) requests are rejected. If the port is also defined as EXEC2RPC, an attempt is made to convert the language request to an RPC. If this is successful, the request is treated as a valid RPC request. If a port is defined as RPCONLY, the only valid return code from $SRV_WAIT (on that port) is 1, meaning an RPC was received.
Valid only for OPENSERV ports.