diff --git a/core/plug-in/sipctrl/SipCtrlInterface.cpp b/core/plug-in/sipctrl/SipCtrlInterface.cpp index f1e3e9da..9ad3139f 100644 --- a/core/plug-in/sipctrl/SipCtrlInterface.cpp +++ b/core/plug-in/sipctrl/SipCtrlInterface.cpp @@ -319,11 +319,11 @@ int SipCtrlInterface::send(const AmSipRequest &req, char* serKey, unsigned int& } } - tl->send_request(msg,serKey); + int res = tl->send_request(msg,serKey); delete msg; serKeyLen=12; - return 0; + return res; } void SipCtrlInterface::run()