1. Set stop_stream to True in request payload of bridge_call.
2. Set "disable_streaming" and "disable_recording" to True in call_params of the bridge_call request.
Example:
{
"event_name": "request_bridge_call",
"event_data":{
"bridge_uuid": user ID,
"to_number": to_number,
"from_number": from_number,
"gateway": "sofia/gateway/gateway_name",
"to_number": to_number,
"stop_stream": True,
"dial timeout": dial timeout,
"call_params": {
"disable_streaming": True,
"disable_recording": True,
}
}
}
3. Add "dropcall_on_break":False to the call_params in the dialplan as it is a incoming call.}
}