Helper function to forward an incoming call to PSTN. The method handles numbers only in the E.164 format by default. If you need to handle a number in another format, pass an additional function (as a parameter) to the method. For more details see the GitHub repo.
Optional function used to transform dialed number to international format. This function accepts dialed number and must return phone number in E.164 format
Optional function that is invoked after call is established. Both calls (incoming and outgoing) are passed to this function
Options An object with a number used as callerid that is displayed to the called user. Whitespaces are not allowed. A valid phone number that can be used to call back is required.