Rate this page:

callSIP

Copy URL
callSIP(to: 

string

,
options:

callSIPParameters

):

Call

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

Parameters

  • to:

    string

    SIP(S) URI to make a call to. Example for an external call: sip:alice@example.org. Examples with the usage of TLS: 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-name.account-name.voximplant.com

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

Returns