Telephony service in Node SDK
Hello,
I noticed that yo've introduced telephony service to node sdk,
By analysing the lib, I figure out that there is only one function that allows to make which is makeCall(contact, phoneNumber) , between a contact and phone number.
is it possible to make a call between 2 rainbow contact?
Could I retrive the audio straem (by the webrtc websocket)?
do you have a tutorial regarding this feature?
Regards,
Faissal
-
Hello,
Yes the makecall method is the rigth one to use.
But it is for Remote Call Control over a PBX. It is to control the phoneset connected to the PBX.
Of course the pbx has to be connected to the Rainbow platform to allow this method.
The "Rainbow node SDK" is designed to be used in serveur side, so, there is no integration about the webrtc in "Rainbow node SDK", neither audostream.
If you want to deal with webrtc calls, you have to use the Rainbow Web SDK :
https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/webRTC
and
https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/Initiating_audio_and_video_calls
Regards,
Vincent.
-
To add on to this, even though it might not make sense to make a call from server-side node sdk to another rainbow contact, it would be useful to be able to initiate a call between 2 other rainbow contacts from node sdk.
As node sdk is the only sdk for server-side applications, it doesn't make sense to use the web sdk to build long running applications or server-side applications.
An example would be to build a scheduled call feature that starts a call between 2 rainbow contacts at a future date/time.
Please sign in to leave a comment.
Comments
2 comments