Skip to content

Commit

Permalink
fix building without H.460.18
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed Oct 29, 2020
1 parent 9f7c87e commit 4870634
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ProxyChannel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3922,6 +3922,7 @@ void CallSignalSocket::ForwardCall(FacilityMsg * msg)
setupUUIE.m_destCallSignalAddress = oldDestSignalAddr;
}

#ifdef HAS_H46018
// remove or add H.460.19 fields in supportedFeatures
if (!forwarded || forwarded->GetTraversalRole() == None) {
// the receiver is probably not a H.460.19 client
Expand All @@ -3930,6 +3931,7 @@ void CallSignalSocket::ForwardCall(FacilityMsg * msg)
RemoveH46019Descriptor(setupUUIE.m_supportedFeatures, senderSupportsH46019Multiplexing, isH46019Client);
}
// TODO: also handle the case of forwarding to a H.460.18 endpoint
#endif

if (Toolkit::AsBool(GkConfig()->GetString(RoutedSec, "ShowForwarderNumber", "0"))) {
if (endptr fwd = m_call->GetForwarder()) {
Expand Down

0 comments on commit 4870634

Please sign in to comment.