Closed MayamaTakeshi closed 1 month ago
UPDATE is a special SIP method and cannot be sent using call.send_request. So we should have a specific function for it.
Initial use is to send UPDATE without SDP for refresh of session timer. The documentation says offer is mandatory:
https://docs.pjsip.org/en/latest/api/generated/pjsip/group/group__PJSIP__INV.html#_CPPv416pjsip_inv_updateP17pjsip_inv_sessionPK8pj_str_tPK19pjmedia_sdp_sessionPP13pjsip_tx_data
But I checked the code and it is actually not mandatory (at least the function pjsip_inv_update allows it to be absent).
So it should be usable for this purpose.
Done: however see #114 and #115.
UPDATE is a special SIP method and cannot be sent using call.send_request. So we should have a specific function for it.
Initial use is to send UPDATE without SDP for refresh of session timer. The documentation says offer is mandatory:
https://docs.pjsip.org/en/latest/api/generated/pjsip/group/group__PJSIP__INV.html#_CPPv416pjsip_inv_updateP17pjsip_inv_sessionPK8pj_str_tPK19pjmedia_sdp_sessionPP13pjsip_tx_data
But I checked the code and it is actually not mandatory (at least the function pjsip_inv_update allows it to be absent).
So it should be usable for this purpose.