...
Code Block | ||||
---|---|---|---|---|
| ||||
trunks: pbx_t0: localPort : 40000 proxyIp : pbx_address remotePort : 5060 url : rtmp://rtmp_server:1935/live visibleName : CUSTOM_NAME sdp : | v=0 o=10009 2469 1555 IN IP4 0.0.0.0 c=IN IP4 0.0.0.0 t=0 0 m=audio 7270 RTP/AVP 96 a=rtpmap:96 opus/48000/2 a=recvonly m=video 9202 RTP/AVP 96 a=rtpmap:96 H264/90000 a=fmtp:96 profile-level-id=42801F a=recvonly sdpParams : - b=AS:2000 - b=RS:50 - b=RR:100 |
Where
- pbx_t0 – WCS SIP trunk name
- localPort – port to receive incoming SIP calls
- proxyIp – PBX address
- remotePort – PBX port to register
- url – RTMP server URL to republish SIP call stream
- visibleName - name to display to caller, this name is sending to PBX when register
- sdp – SDP to send to PBX in 200 OK response
- sdpParams - parameter to insert to SDP for SIP call media bitrate and channel bandwidth management
WCS supports both TCP and UDP transport for SIP calls, so it listens for incoming both TCP and UDP port defined by localPort parameter.
...