Versions Compared

Key

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

/call/startup

Запрос

Ответ

>>

Code Block
languagejs
themeRDark
POST /rest-api/call/startup HTTP/1.1
HOST: 192.168.1.59:9091
content-length: 417
content-type: application/json

{ 
 "callId":"123456711",
 "callee":"10000",
 "rtmpUrl":"rtmp://localhost:1935/live",
 "rtmpStream":"stream1",
 "hasAudio":"true",
 "hasVideo":"true",
 "sipLogin":"10009",
 "sipAuthenticationName":"10009",
 "sipPassword":"1234",
 "sipDomain":"226.226.225.226",
 "sipOutboundProxy":"226.226.225.226",
 "sipPort":"5060",
 "appKey":"defaultApp",
 "sipRegisterRequired":"false"
}


<<

Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 27 Mar 2017 03:23:54 GMT


...