summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-hangup_hang
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk/files/patch-hangup_hang')
-rw-r--r--net/asterisk/files/patch-hangup_hang20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/asterisk/files/patch-hangup_hang b/net/asterisk/files/patch-hangup_hang
new file mode 100644
index 000000000000..22e09d6a1be7
--- /dev/null
+++ b/net/asterisk/files/patch-hangup_hang
@@ -0,0 +1,20 @@
+Index: main/channel.c
+===================================================================
+--- main/channel.c (revision 188244)
++++ main/channel.c (working copy)
+@@ -2038,13 +2038,13 @@
+ return &ast_null_frame;
+ usleep(1);
+ }
+-
++/*
+ if (chan->fdno == -1) {
+ ast_log(LOG_ERROR, "ast_read() called with no recorded file descriptor.\n");
+ f = &ast_null_frame;
+ goto done;
+ }
+-
++*/
+ if (chan->masq) {
+ if (ast_do_masquerade(chan))
+ ast_log(LOG_WARNING, "Failed to perform masquerade\n");