Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

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

...

Code Block
languagebash
titleplay.xml
linenumberstrue
<include>
  <context name="play">
	<extension name="play-silence_stream" continue="true">
      <condition field="destination_number" expression="^silence$">
        <action application="answer"/>
        <action application="endless_playback" data="silence_stream://-1"/>
      </condition>
    </extension>
  </context>
</include>


Code Block
languagebash
titleStart stream media in the channel
linenumberstrue
curl -s -S -G -X GET \
      --user login:password  \
      --data-urlencode "{uuid} {/path/to/file/file} both" \
      'http://127.0.0.1:8080/xmlapi/uuid_broadcast'


Code Block
languagebash
titlePause/resume stream in the channel
linenumberstrue
curl -s -S -G -X GET \
      --user login:password  \
      --data-urlencode "{uuid} pause" \
      'http://127.0.0.1:8080/xmlapi/uuid_fileman'



See also