Rate this page:

callSIP

Copy URL
callSIP(to: 

string

,
parameters:

CallSIPParameters

):

Call

Starts an outgoing call to the external SIP system or to another user of the same application. Supported codecs are: G.722, G.711 (u-law and a-law), Opus, ILBC, H.264, VP8. The method can trigger the CallEvents.Failed event in 60 sec, see the session limits for details.

Parameters

  • to:

    string

    SIP URI to make a call to. Example of an external call: sip:alice@example.org. Examples with TLS usage: sips:alice@example.org:5061 ; alice@example.org:5061;transport=tls. The format for calls to another user of the same Voximplant application: user-of-the-application@application.account.voximplant.com

  • Object with callSIP parameters. Note that if this parameter is not an object, it is treated as "callerid". Further parameters are treated as "displayName", "password", "authUser", "extraHeaders", "video", "outProxy" respectively.

Returns