Rate this page:

callConference

Copy URL
callConference(conferenceId: 

string

,
callerid:

string

,
displayName:

string

,
headers:

{[header: string]: string}

,
scheme:

string

):

Call

Makes a call to a conference via Conference module. If there is no such conference, it is created in the first method's call. The method is designed to be called in a simple incoming scenario, then it can trigger another special scenario which contains logic of the conference. The method can trigger the Failed event in 60 sec, see the session limits for details.

Parameters

  • conferenceId:

    string

    ID of the conference. The parameter has to be the same as the pattern in the rule so the method triggers appropriate rule with conference logic.

  • callerid:

    string

    CallerID of the caller that is displayed to the user. Spaces usage is not allowed. Normally it is some phone number that can be used for callback. IMPORTANT: you cannot use test numbers rented from Voximplant as CallerID, use only real numbers.

  • displayName:

    string

    Name of the caller that is displayed to the user. Normally it is a human-readable version of CallerID, e.g. a person's name.

  • headers:

    {[header: string]: string}

    Optional

    Optional SIP headers to be passed with a call to conference. Custom header names have to begin with the 'X-' prefix. The "X-" headers can be handled by a SIP phone or WEB SDK (e.g. see the incomingCall event). Example: {'X-header':'value'}

  • scheme:

    string

    Optional

    Internal information about codecs from the AppEvents.CallAlerting event.

Returns