summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2005-06-18 18:48:32 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2005-06-18 18:48:32 +0000
commitde80e1311529970d78e7b695c89aed3be818fb3e (patch)
tree12965b5e3719aaef52cfa34ffb8441a367a15f8e /net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx
parentUpdate to 2.1.6. (diff)
Add asterisk-oh323 - an alternative H.323 protocol module for the asterisk.
Unlike h323 module in the asterisk itself it's being actively maintained and pretty functional. Submitted by: Andriy I Pylypenko <bamby@portaone.com>
Notes
Notes: svn path=/head/; revision=137695
Diffstat (limited to 'net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx')
-rw-r--r--net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx b/net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx
new file mode 100644
index 000000000000..0a1a7c6e8b88
--- /dev/null
+++ b/net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx
@@ -0,0 +1,20 @@
+--- wrapper/asteriskaudio.cxx.orig Fri Jun 17 13:32:45 2005
++++ wrapper/asteriskaudio.cxx Fri Jun 17 13:33:19 2005
+@@ -164,7 +164,7 @@ PAsteriskSoundChannel::~PAsteriskSoundCh
+ WRAPTRACE(3, "Total I/Os: read=" << readCount << ", write=" << writeCount);
+ WRAPTRACE(3, "Short I/Os: write=" << shortWriteCount);
+ WRAPTRACE(4, "Object deleted.");
+- baseChannel = NULL;
++// baseChannel = NULL;
+ }
+
+ PStringArray PAsteriskSoundChannel::GetDeviceNames(Directions dir)
+@@ -231,7 +231,7 @@ BOOL PAsteriskSoundChannel::Open(const P
+ **********/
+ if (deviceFd < 0)
+ return FALSE;
+- baseChannel = this; // XXX Use the old interface of the PSoundChannel
++// baseChannel = this; // XXX Use the old interface of the PSoundChannel
+ os_handle = deviceFd;
+ mediaFormat = mediaFmt;
+ frameTime = frameTm;