executeRpc
Execute a generic RPC method on a call. This is the low-level interface for
cross-call communication. For common operations, prefer the specific helpers
rpcDial(),
rpcAiMessage(), and
rpcAiUnhold().
Parameters
opts
RPC configuration object.
opts.method
RPC method name (e.g., "dial", "ai_message", "ai_unhold").
opts.params
Parameters for the RPC method.
opts.callId
Target call ID for the RPC command.
opts.nodeId
Target node ID for the RPC command.
Returns
FunctionResult — this, for chaining.