Using Web Call Server Version 5.2.755
I'm passing the following to /rest-api/call/startup
Once the call and stream are created, /rest-api/stream/find-all/ returns:
And according to the these docs this should pass an SDP with "a=recvonly" to the SIP endpoint, however it's still passing "a=sendrecv" which causes the SIP provider to prematurely end the call because it's expecting inbound audio but not getting anything. The stream object also somehow was "hasAudio" set to true even though I'm passing "hasAudio" as "false".
Is there something else I need to do in order to get this pass `a=recvonly` in the SDP?
I'm passing the following to /rest-api/call/startup
JSON:
{
"callId": "1234567",
"callee": "1234567",
"hasVideo": false,
"hasAudio": false,
"sipLogin": "[login]",
"sipAuthenticationName": "[authName]",
"sipPassword": "[password]",
"sipDomain": "[sipDomain]",
"appKey": "callApp",
"sipRegisterRequired": false,
"toStream": "1234567"
}
JSON:
{
"sessionId": "127.0.0.1:6255815454129927085",
"mediaSessionId": "1234567_127.0.0.1:6255815454129927085",
"name": "1234567",
"published": true,
"hasVideo": false,
"hasAudio": true,
"status": "PUBLISHING",
"sdp": "v=0\r\no=root 448804546 448804546 IN IP4 172.18.170.115\r\ns=Twilio Media Gateway\r\nc=IN IP4 34.203.251.173\r\nt=0 0\r\nm=audio 10350 RTP/AVP 0 8\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=ptime:20\r\na=maxptime:150\r\na=sendrecv\r\n",
"audioCodec": "PCMU",
"record": false,
"width": 0,
"height": 0,
"bitrate": 0,
"minBitrate": 0,
"maxBitrate": 0,
"quality": 0,
"history": false,
"gop": 0,
"fps": 0,
"audioBitrate": 0,
"codecImpl": "",
"transport": "UDP",
"cvoExtension": false,
"createDate": 1599089222305
}
Is there something else I need to do in order to get this pass `a=recvonly` in the SDP?