callSIP
callSIP(to: string
, options: ):
Start an outbound 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(S) URI to make a call to. Example of 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
options:
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
type: