Notify - conferenceCall()

Create a new conference call GlideRecord.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
GlideRecord A new Notify Call [notify_call] record for a conference call.
var notify = new SNC.Notify();
var from = '+14041234567';
var participants = ['+31612345678', '+31623456789', '+31687654321'];

// set up a conference call
var conferenceCall = notify.conferenceCall();

// set up the outbound calls for all conference call participants
for (var i in participants) {
    var to = participants[i];
    notify.call(from, to, conferenceCall);
}

// feedback
gs.log(gs.getMessage('set up a conference call with number {0} and (re)join code: {1}', 
    [ conferenceCall.getValue('number'), conferenceCall.getValue('code') ]));