...
beforeCreateInboundCallSession event: besides call information, two additional piece of data is stored here:
context.eventData.sessionParameters
: Session parameters of the CIF2 session which is being opened. By hooking up a plugin and amending this parameter, any custom session template can be used.context.eventData.sessionTemplateId
: By default it is null (undefined). If a custom plugin sets contains the id of the configured session template to be used. A custom plugin can update it before opening the session, the so default session template specified here will be usedcan be overridden on the fly.