diff options
Diffstat (limited to 'net-misc/asterisk/files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch')
-rw-r--r-- | net-misc/asterisk/files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-misc/asterisk/files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch b/net-misc/asterisk/files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch deleted file mode 100644 index 18f8dcce8090..000000000000 --- a/net-misc/asterisk/files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -uNr asterisk-1.6.2.13.ORIG//channels/chan_dahdi.c asterisk-1.6.2.13/channels/chan_dahdi.c ---- asterisk-1.6.2.13.ORIG//channels/chan_dahdi.c 2010-09-16 18:25:04.000000000 +0100 -+++ asterisk-1.6.2.13/channels/chan_dahdi.c 2010-09-16 18:25:21.000000000 +0100 -@@ -16630,7 +16630,12 @@ - confp->chan.sig = SIG_BRI_PTMP; - confp->pri.nodetype = PRI_CPE; - } else if (!strcasecmp(v->value, "bri_net_ptmp")) { -+#if defined(HAVE_PRI_CALL_HOLD) -+ confp->chan.sig = SIG_BRI_PTMP; -+ confp->pri.nodetype = PRI_NETWORK; -+#else - ast_log(LOG_WARNING, "How cool would it be if someone implemented this mode! For now, sucks for you. (line %d)\n", v->lineno); -+#endif - } else if (!strcasecmp(v->value, "gr303fxoks_net")) { - confp->chan.sig = SIG_GR303FXOKS; - confp->pri.nodetype = PRI_NETWORK; -diff -uNr asterisk-1.6.2.13.ORIG//configure.ac asterisk-1.6.2.13/configure.ac ---- asterisk-1.6.2.13.ORIG//configure.ac 2010-09-16 18:25:04.000000000 +0100 -+++ asterisk-1.6.2.13/configure.ac 2010-09-16 18:25:21.000000000 +0100 -@@ -334,6 +334,7 @@ - AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio]) - AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri]) - AST_EXT_LIB_SETUP_DEPENDENT([PRI_INBANDDISCONNECT], [ISDN PRI set_inbanddisconnect], [PRI], [pri]) -+AST_EXT_LIB_SETUP_DEPENDENT([PRI_CALL_HOLD], [ISDN PRI call hold], [PRI], [pri]) - AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib]) - AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius]) - AST_EXT_LIB_SETUP([RESAMPLE], [LIBRESAMPLE], [resample]) -@@ -1490,6 +1491,7 @@ - AST_EXT_LIB_CHECK([PORTAUDIO], [portaudio], [Pa_GetDeviceCount], [portaudio.h]) - - AST_EXT_LIB_CHECK([PRI], [pri], [pri_new_bri], [libpri.h]) -+AST_EXT_LIB_CHECK([PRI_CALL_HOLD], [pri], [pri_hold_enable], [libpri.h]) - - AST_EXT_LIB_CHECK([PRI_PROG_W_CAUSE], [pri], [pri_progress_with_cause], [libpri.h]) - |