summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
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-asterisk-driver::chan_oh323.c
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-asterisk-driver::chan_oh323.c')
-rw-r--r--net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c b/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
new file mode 100644
index 000000000000..d9fe81a1df01
--- /dev/null
+++ b/net/asterisk-oh323/files/patch-asterisk-driver::chan_oh323.c
@@ -0,0 +1,28 @@
+--- asterisk-driver/chan_oh323.c.orig Tue Dec 21 17:28:11 2004
++++ asterisk-driver/chan_oh323.c Fri Jun 17 13:23:19 2005
+@@ -56,6 +56,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <math.h>
++#include <netinet/in_systm.h>
+ #include <netinet/ip.h>
+ #include <sys/signal.h>
+
+@@ -1155,7 +1156,7 @@ static struct ast_frame *oh323_exception
+ p->fr.src = type;
+ p->fr.offset = 0;
+ p->fr.mallocd = 0;
+- p->fr.src = __FUNCTION__;
++ p->fr.src = "oh323_exception";
+
+ /* -- User input */
+ if (p->except_struct.type == OH323EXC_USER_INPUT_TONE) {
+@@ -1770,7 +1771,7 @@ static struct ast_frame *oh323_read(stru
+ p->fr.src = type;
+ p->fr.offset = AST_FRIENDLY_OFFSET;
+ p->fr.samples = 0;
+- p->fr.src = __FUNCTION__;
++ p->fr.src = "oh323_read";
+
+ /* Check the event pipe */
+ //CHECK_BLOCKING(c);