VoxImplant. Blog

Category Archives: Tutorials

Making calls via SIP registration

VoxImplant supports forwarding calls to 3rd party SIP server using VoxEngine’s callSIP method which is rather complicated and requires knowledge of SIP protocol. VoxImplant supports SIP Registrations – it registers on 3rd party SIP server as a client and can make/receive calls using the client account, now it’s possible to make outbound calls using SIP registrations in the following way:

var call = VoxEngine.callSIP("some_number", { regId: SIP_REGISTRATION_ID });

SIP Reg

SIP_REGISTRATION_ID can be found in SIP Registrations section of the control panel or using HTTP API

Inbound calls that come from SIP Registration arrive to VoxEngine scenario as any other call resulting in CallEvents.Alerting event dispatch.

Click-to-call for web and mobile application

One of the most popular scenarios for our Web/Mobile SDK is about enabling true click-to-call/tap-to-call function in web and mobile applications. True click-to-call means that it’s not about callback version when a call is initiated from the platform to both parties and connects them together, it means that call is initiated from the client side and goes via IP to the platform and then routed to required destination. True click-to-call is cheaper, faster and offers better UX; of course, you need to have the internet connection to use it (shouldn’t be an issue these days). This tutorial explains how to easily embed click-to-call into your app using VoxImplant SDKs and setup call routing using VoxEngine scenarios.

We recommend to check our Quickstart before you proceed

Video Recording

Video Recorder

We have recently released video recording functionality (not to be confused with client side recording released by browser vendors) and there is a number of cases when it can be very useful. This tutorial explains how to use this new functionality to build video recorder web app using our Web SDK in minutes.

Web SDK: Microphone Activity Visualization

Mic Activity

If you are embedding VoIP functionality into your web application then it’s a good idea to show end user some feedback from the system about his audio settings, especially related to his microphone / audio recording device. Combining the power of WebRTC , HTML5 and Web we can visualize audio stream coming from microphone after user allowed access to the device. The last version of Web SDK (3.6.294) provides developers with access to MediaStream object – it’s available as stream property of MicAccessResult event, or as successCallback function argument which itself is an argument of the following functions attachRecordingDevice, useAudioSource, useVideoSource, setVideoSettings.

Using VoxImplant module for React Native

React

Web developers have been using React JS for a while, this javascript library from Facebook has changed the way how many developers were building their apps. At some point React team decided that it would be great to let mobile developers use the same approach to build their iOS/Android apps and released React Native framework. Now javascript developers can build native apps for iOS & Android. React Native has some built-in components that can be used for application development, but since native app developers like to use a lot of different mobile OS features there is a way to create React Native modules and components:

“Sometimes an app needs access to platform API, and React Native doesn’t have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions.”


We like React Native and believe in its bright future, that’s why we created react-native-voximplant module.

Microphone testing service

Headset

Many Skype users are familiar with its microphone testing service (echo123). When you call the testing service it asks you to say something and records the stream, then it plays it back and if you hear your voice it means that your audio recording device is configured correctly. You can implement similar scenario for your VoxImplant application by using the following VoxEngine scenario:

Tagged in , , ,

Sandbox phone numbers for inbound calls testing

Buying real phone numbers for testing purposes isn’t cool, what’s cool? Sandbox phone numbers – they are very cheap (they aren’t free just to let you test withdrawals as well) and you can buy a lot of them. So how does it work? If we go to Control Panel -> Phone Numbers and use the switch on top of the page to show sandbox test numbers, then the list will appear (see image below):

Sandbox numbers

After test number has been bought it becomes available in My Numbers and can be assigned to particular VoxImplant application.

Sandbox number

After test phone number is attached to the application, application rules should be adjusted to forward calls from the number to specific VoxEngine scenarios. And the last but no least thing is how you can call this sandbox number. We offer number of access phone numbers in different countries:

  • +19292240694 (United States)
  • +74993504126 (Russia)
  • +48223970842 (Poland)
  • +81345790139 (Japan)
  • +390694500414 (Italy)
  • +97243720980 (Israel)
  • +420228880669 (Czech Republic)
  • +14388002812 (Canada)
  • +442038083060 (United Kingdom)
  • +61283104145 (Australia)

Call one of this phone numbers and enter your sandbox phone number as an extension, then the call is will be forwarded to your application.

Voicemail detection

Voicemail IconThere is number of different scenarios when you would like to know if you’ve reached voicemail or live person during the call, and if voicemail was reached it’s a good thing to know when you can play a pre-recorded voice message to leave it in the inbox. Keeping in mind that VoxImplant is a perfect choice for building power dialer or predictive dialer app it makes a lot of sense to offer this functionality to our developers. We’ve implemented both voicemail detection and voicemail tone detection algorithms to let developer control the call flow on VoxEngine scenario level.

Video Conferencing

Video Conference

A lot of people use video conferencing functionality in Skype, but Skype is standalone application and it’s hard to integrate it with your own service. VoxImplant lets developers embed similar functionality into any web or mobile application. This tutorial will explain how to build video conferencing service with dial-in/dial-out functionality (to connect PSTN participants) and browser-based client application using WebRTC capabilities and VoxImplant.

Using VoxImplant ChildAccounts

There are number of VoxImplant entities developers work with and it’s important to understand user and account management to design your application properly. VoxImplant application users reflect end users of the application, and VoxImplant developer can control each user account balance by setting parent_accounting to false or specifying this setting in Control Panel (Separate account balance) while creating/editing the app user. It’s possible to transfer funds from developer account to the app user account and back using TransferMoneyToUser function.

Older posts

Categories

Recent Posts

Feb 13, 2017 10:22
Authorization using tokens instead of passwords
Feb 03, 2017 01:45
Push Notifications for Android
Feb 03, 2017 01:45
Push Notifications for iOS
Jan 19, 2017 08:38
Speech-to-text: ASR
Jan 19, 2017 08:38
Speech-to-text: transcribing
Jan 19, 2017 08:37
Audio Recording
Dec 28, 2016 12:47
VoIP Push Notifications support for iOS SDK has arrived
Dec 14, 2016 02:00
New billing for video calls running via servers
Dec 07, 2016 02:29
Blind transfer support for SIP phones
Dec 02, 2016 06:18
Step-by-step call center tutorial part 8

Archive

Tags