Connect two calls through a web application

I need to add functionality to my Java application that will allow users to click a link, and the application will automatically call the user and the other side and connect them to the phone.

Does anyone know what this might entail?

thanks

+3
source share
5 answers

This can be done with Twilio and their new, simple conferencing API. Believe me, it is really very simple. Another option might be CloudVox , but I haven't (formally) tried their service yet.

+5
source

World-Wide Web , . , VoiceXML, HTML, , - . HTML , . , , . , , , , , .

, VoiceXML , . , , , . - Voxeo, http://evolution.voxeo.com/, . Evolution - ( Skype). - VoiceXML, VoiceXML Java, "" , , , , ..

CCXML XML Control. , .

, , , - CCXML, . , Voxeo Evolution CCXML.

. TellMe, Microsoft . ( ) .

+3

FreeSWITCH. . . , . , , . .

FreeSWITCH, . , .

. - VoIP-. Gizmo5 , .

, , - . , . , Java XML-RPC FreeSWITCH, , . .

XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
 XmlRpcClient client = new XmlRpcClient();
 try {
   config.setServerURL(new URL("http://localhost:8080/RPC2"));
   config.setBasicUserName("freeswitch");
   config.setBasicPassword("works");

   client.setConfig(config);           
   // For external phone calls using VoIP. We will use something like below.
   // new Object[]{"originate", "sofia/gateway/gizmo1/6098989898 &bridge(sofia/gateway/gizmo9/0116054545454)"} 
   // gizmo1, and gizmo9 are the accounts configured under freeswitch gateway configuration.
   client.execute("freeswitch.api", new Object[]{"originate", "sofia/internal/1001 &park()"});

 } catch (Exception ex) {
   ex.printStackTrace();
 }

, . , VoIP.

, FreeSWITCH, SO-.

+2

2 API, , :

1) twilio - can connect to 2 or more sides using TwiML (their markup). example

2) Hoiio - very easy to use with 1 line of call RESTful api. example

0
source

Source: https://habr.com/ru/post/1723747/


All Articles