register
Records which conversation and call a nonce belongs to. Call it from the per-call config callback of
the dial that carried the nonce, with callId from the request the platform sent, never from
anything the browser supplied.
Registering a nonce that’s already in the table changes nothing, because the callback runs on every
config request for the call. The first registration’s call, time, and message count stand, and a
nonce redeem() has used stays used until it would have expired. An empty or non-string
nonce is ignored.
Parameters
nonce
The nonce put in the dial’s user variables.
opts
What the nonce gives access to.
opts.conversationId
The conversation the call belongs to.
opts.callId
The platform call id. Without one, /handoff has no call to end and /say has no call to speak
into.
Returns
void.