Commit 64a124389aed9c6f0dbf6b06b9ddec8fd3dcf999

Authored by Hu Chunming
1 parent 2fb4b729

修复返回值错误问题

src/decoder/gb28181/sip/SipServer.cpp
... ... @@ -517,7 +517,7 @@ int SipServer::RequestInvite_UDP(const char* dst_channel, int rtpPort) {
517 517 else {
518 518 LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id);
519 519 }
520   - return ret;
  520 + return call_id;
521 521 }
522 522  
523 523 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) {
579 579 else {
580 580 LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id);
581 581 }
582   - return ret;
  582 + return call_id;
583 583 }
584 584  
585 585 void SipServer::cacheCatalog() {
... ...