openbsd-ports/telephony/asterisk/patches/patch-channels_h323_ast_h323_cxx
sthen dd9ff6c628 Update Asterisk to 1.6.2.6, which will be the only of the 1.6.x branches
receiving most updates in the future; notably, compared to the in-tree
version, this adds a portable (pthread-based) clocking source rather
than relying on a non-portable zaptel timer.

Main functions tested and working well for myself and Diego Casati (thanks!)
Note that ConfBridge (added since 1.6.0) may need more work
2010-04-08 16:18:00 +00:00

20 lines
704 B
Plaintext

$OpenBSD: patch-channels_h323_ast_h323_cxx,v 1.5 2010/04/08 16:18:00 sthen Exp $
--- channels/h323/ast_h323.cxx.orig Thu Jun 18 17:44:37 2009
+++ channels/h323/ast_h323.cxx Thu Apr 1 02:57:26 2010
@@ -2365,6 +2365,7 @@ int h323_start_listener(int listenPort, struct sockadd
return 0;
};
+#ifndef __OpenBSD__
/* Addition of functions just to make the channel driver compile with H323Plus */
#if VERSION(OPENH323_MAJOR, OPENH323_MINOR, OPENH323_BUILD) > VERSION(1,19,4)
/* Alternate RTP port information for Same NAT */
@@ -2390,6 +2391,7 @@ BOOL MyH323_ExternalRTPChannel::OnReceivedAckAltPDU(co
return TRUE;
}
#endif
+#endif // __OpenBSD__
int h323_set_alias(struct oh323_alias *alias)