mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
chan_phone: Remove deprecated module.
ASTERISK-29594 Change-Id: I79a9961cb5062fadbccb0ea93f087bdd32685316
This commit is contained in:
@@ -24,7 +24,6 @@ IKSEMEL=@PBX_IKSEMEL@
|
|||||||
IMAP_TK=@PBX_IMAP_TK@
|
IMAP_TK=@PBX_IMAP_TK@
|
||||||
IODBC=@PBX_IODBC@
|
IODBC=@PBX_IODBC@
|
||||||
ISDNNET=@PBX_ISDNNET@
|
ISDNNET=@PBX_ISDNNET@
|
||||||
IXJUSER=@PBX_IXJUSER@
|
|
||||||
JACK=@PBX_JACK@
|
JACK=@PBX_JACK@
|
||||||
JANSSON=@PBX_JANSSON@
|
JANSSON=@PBX_JANSSON@
|
||||||
URIPARSER=@PBX_URIPARSER@
|
URIPARSER=@PBX_URIPARSER@
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,51 +0,0 @@
|
|||||||
;
|
|
||||||
; Linux Telephony Interface
|
|
||||||
;
|
|
||||||
; Configuration file
|
|
||||||
;
|
|
||||||
[interfaces]
|
|
||||||
;
|
|
||||||
; Select a mode, either the phone jack provides dialtone, reads digits,
|
|
||||||
; then starts PBX with the given extension (dialtone mode), or
|
|
||||||
; immediately provides the PBX without reading any digits or providing
|
|
||||||
; any dialtone (this is the immediate mode, the default). Also, you
|
|
||||||
; can set the mode to "fxo" if you have a linejack to make it operate
|
|
||||||
; properly. If you are using a Sigma Designs board you may set this to
|
|
||||||
; "sig".
|
|
||||||
;
|
|
||||||
mode=immediate
|
|
||||||
;mode=dialtone
|
|
||||||
;mode=fxo
|
|
||||||
;mode=sig
|
|
||||||
;
|
|
||||||
; You can decide which format to use by default, "g723.1", "g729", or "slinear".
|
|
||||||
; Note that g729 is only supported for Sigma Designs boards.
|
|
||||||
; XXX Be careful, sometimes the card causes kernel panics when running
|
|
||||||
; in signed linear mode for some reason... XXX
|
|
||||||
;
|
|
||||||
format=slinear
|
|
||||||
;format=g723.1
|
|
||||||
;format=g729
|
|
||||||
;
|
|
||||||
; And set the echo cancellation to "off", "low", "medium", and "high".
|
|
||||||
; This is not supported on all phones.
|
|
||||||
;
|
|
||||||
echocancel=medium
|
|
||||||
;
|
|
||||||
; You can optionally use VAD/CNG silence suppression
|
|
||||||
;
|
|
||||||
;silencesupression=yes
|
|
||||||
;
|
|
||||||
; List all devices we can use. Contexts may also be specified
|
|
||||||
;
|
|
||||||
;context=local
|
|
||||||
;
|
|
||||||
; You can set txgain and rxgain for each device in the same way as context.
|
|
||||||
; If you want to change default gain value (1.0 =~ 100%) for device, simple
|
|
||||||
; add txgain or rxgain line before device line. But remember, if you change
|
|
||||||
; volume all cards listed below will be affected by these values. You can
|
|
||||||
; use float values (1.0, 0.5, 2.0) or percentage values (100%, 150%, 50%).
|
|
||||||
;
|
|
||||||
;txgain=100%
|
|
||||||
;rxgain=1.0
|
|
||||||
;device => /dev/phone0
|
|
17
configure
vendored
17
configure
vendored
@@ -652,7 +652,6 @@ PBX_LAUNCHD
|
|||||||
CONFIG_SDL
|
CONFIG_SDL
|
||||||
PBX_SO_NOSIGPIPE
|
PBX_SO_NOSIGPIPE
|
||||||
PBX_MSG_NOSIGNAL
|
PBX_MSG_NOSIGNAL
|
||||||
PBX_IXJUSER
|
|
||||||
GMIME_LIBS
|
GMIME_LIBS
|
||||||
GMIME_CFLAGS
|
GMIME_CFLAGS
|
||||||
PORTAUDIO_LIBS
|
PORTAUDIO_LIBS
|
||||||
@@ -33225,22 +33224,6 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_fn_c_check_header_compile "$LINENO" "linux/ixjuser.h" "ac_cv_header_linux_ixjuser_h" "
|
|
||||||
#include <linux/version.h>
|
|
||||||
#ifdef HAVE_LINUX_COMPILER_H
|
|
||||||
#include <linux/compiler.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
"
|
|
||||||
if test "x$ac_cv_header_linux_ixjuser_h" = xyes; then :
|
|
||||||
PBX_IXJUSER=1
|
|
||||||
else
|
|
||||||
PBX_IXJUSER=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Used in res/res_pktccops
|
# Used in res/res_pktccops
|
||||||
|
|
||||||
if test "x${PBX_MSG_NOSIGNAL}" != "x1"; then
|
if test "x${PBX_MSG_NOSIGNAL}" != "x1"; then
|
||||||
|
@@ -2797,14 +2797,6 @@ fi
|
|||||||
AC_CHECK_HEADER([linux/compiler.h],
|
AC_CHECK_HEADER([linux/compiler.h],
|
||||||
[AC_DEFINE_UNQUOTED([HAVE_LINUX_COMPILER_H], 1, [Define to 1 if your system has linux/compiler.h.])])
|
[AC_DEFINE_UNQUOTED([HAVE_LINUX_COMPILER_H], 1, [Define to 1 if your system has linux/compiler.h.])])
|
||||||
|
|
||||||
AC_CHECK_HEADER([linux/ixjuser.h], [PBX_IXJUSER=1], [PBX_IXJUSER=0], [
|
|
||||||
#include <linux/version.h>
|
|
||||||
#ifdef HAVE_LINUX_COMPILER_H
|
|
||||||
#include <linux/compiler.h>
|
|
||||||
#endif
|
|
||||||
])
|
|
||||||
AC_SUBST(PBX_IXJUSER)
|
|
||||||
|
|
||||||
# Used in res/res_pktccops
|
# Used in res/res_pktccops
|
||||||
AST_C_DEFINE_CHECK([MSG_NOSIGNAL], [MSG_NOSIGNAL], [sys/socket.h])
|
AST_C_DEFINE_CHECK([MSG_NOSIGNAL], [MSG_NOSIGNAL], [sys/socket.h])
|
||||||
AST_C_DEFINE_CHECK([SO_NOSIGPIPE], [SO_NOSIGPIPE], [sys/socket.h])
|
AST_C_DEFINE_CHECK([SO_NOSIGPIPE], [SO_NOSIGPIPE], [sys/socket.h])
|
||||||
|
6
doc/UPGRADE-staging/chan_phone_removal.txt
Normal file
6
doc/UPGRADE-staging/chan_phone_removal.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Subject: chan_phone
|
||||||
|
Master-Only: True
|
||||||
|
|
||||||
|
This module was deprecated in Asterisk 16
|
||||||
|
and is now being removed in accordance with
|
||||||
|
the Asterisk Module Deprecation policy.
|
Reference in New Issue
Block a user