RPCONLY (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (show "JANUS DEFINE parameter" in title)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:RPCONLY}}
<span class="pageSubtitle">Permit only RPC requests (on OPENSERV ports)</span>
<span class="pageSubtitle"><section begin="desc" />Permit only RPC requests (on OPENSERV ports)<section end="desc" /></span>


RPCONLY is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>RPCONLY</var> is a parameter on <var>[[JANUS DEFINE]]</var>, 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.  
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 <var>[[EXEC2RPC (JANUS DEFINE parameter)|EXEC2RPC]]</var>, 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 <var>RPCONLY</var>, the only valid return code from $SRV_WAIT (on that port) is 1, meaning an RPC was received.  


Valid only for OPENSERV ports.
Valid only for <var>[[JANUS DEFINE#type|OPENSERV]]</var> ports.


==References==
==See also==


See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<ul>
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


[[Category:JANUS DEFINE parameters|RPCONLY]]
[[Category:JANUS DEFINE parameters|RPCONLY]]

Latest revision as of 15:47, 23 April 2015

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.

See also