Commit 52447d81 authored by Tristan Matthews's avatar Tristan Matthews

sipcall: fix offhold

Regression from a1b9391b

Refs #61369

Change-Id: I0cc7703428843739fe63bee3b623d4d071ecd0eb
parent a1b9391b
......@@ -600,7 +600,6 @@ SIPCall::onhold()
void
SIPCall::offhold()
{
#if USE_CCRTP
auto& account = getSIPAccount();
try {
......@@ -614,7 +613,9 @@ SIPCall::offhold()
throw VoipLinkException("SDP issue in offhold");
} catch (const ost::Socket::Error &e) {
throw VoipLinkException("Socket problem in offhold");
} catch (const ost::Socket *) {
}
#if USE_CCRTP
catch (const ost::Socket *) {
throw VoipLinkException("Socket problem in offhold");
} catch (const sfl::AudioRtpFactoryException &) {
throw VoipLinkException("Socket problem in offhold");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment