Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • parameters of your SIP account the call is made from;
  • the name of your second SIP account the call is made to;
  • the name of the stream for the following /push/startup query, for example call_stream1:
  • .

Image Modified

4. Receive the call in the softphone:

Image Modified

5. From the REST client send the /push/startup query to the WCS server and specify in the query's parameters:

  • the URL of the WCS server to accept the RTMP stream;
  • the name of the call (call_stream1);
  • audio file to stream redirection options "options": {"action": "sound_on", "soundFile": "sound.wav", "loop": true}

Image Removed

6. From the REST-client send the /call/inject_stream sound query to the WCS server and specify in the query's parameters:

  • the identifier of the call;
  • the name of the stream with the applied audio file (rtmp_call_stream1test.wav).

Image Modified
6.Make sure the softphone plays the test file.

...