Skip to content
Snippets Groups Projects
Commit 3af3bb9b authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Clean code

parent be2c5779
No related branches found
No related tags found
No related merge requests found
......@@ -665,7 +665,9 @@ SIPVoIPLink::answer(const CallID& id)
bool
SIPVoIPLink::hangup(const CallID& id)
{
_debug("nvlnljbnzjkdbnjzdfbnjzdflnbjlzdfnbjlzdfbnzdfjlnjlb\n");
SIPCall* call = getSIPCall(id);
Manager::instance().peerHungupCall( id );
if (call==0) { _debug("! SIP Error: Call doesn't exist\n"); return false; }
_debug("- SIP Action: Hang up call %s [cd: %3d %3d]\n", id.data(), call->getCid(), call->getDid());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment