diff --git a/src/decoder/gb28181/sip/SipServer.cpp b/src/decoder/gb28181/sip/SipServer.cpp index cf86dd1..007e8d3 100644 --- a/src/decoder/gb28181/sip/SipServer.cpp +++ b/src/decoder/gb28181/sip/SipServer.cpp @@ -517,7 +517,7 @@ int SipServer::RequestInvite_UDP(const char* dst_channel, int rtpPort) { else { LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id); } - return ret; + return call_id; } int SipServer::RequestInvite_TCP_a(const char* dst_channel, int rtpPort) { @@ -579,7 +579,7 @@ int SipServer::RequestInvite_TCP_a(const char* dst_channel, int rtpPort) { else { LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id); } - return ret; + return call_id; } void SipServer::cacheCatalog() {