Skip to content

Commit

Permalink
Remove many deprecated modules
Browse files Browse the repository at this point in the history
Billing records are fair,
To get paid is quite bright,
You should really use ODBC;
Good-bye cdr_sqlite.

Microsoft did once push H.323,
Hell, we all remember NetMeeting.
But try to compile chan_h323 now
And you will take quite a beating.

The XMPP and SIP war was fierce,
And in the distant fray
Was birthed res_jabber/chan_jingle;
But neither to stay.

For everyone did care and chase what Google professed.
"Free Internet Calling" was what devotees cried,
But Google did change the specs so often
That the developers were happy the day chan_gtalk died.

And then there was that odd application
Dedicated to the Polish tongue.
app_saycountpl was subsumed by Say;
One could say its bell was rung.

To read and parse a file from the dialplan
You could (I guess) use an application.
app_readfile did fill that purpose, but I think
A function is perhaps better in its creation.

Barging is rude, I'm not sure why we do it.
Inwardly, the caller will probably sigh.
But if you really must do it,
Don't use app_dahdibarge, use ChanSpy.

We all despise the sound of tinny robots
It makes our queues so cold.
To control such an abomination
It's better to not use Wait/SetMusicOnHold.

It's often nice to know properties of a channel
It makes our calls right
We have a nice function called CHANNEL
And so SIPCHANINFO is sent off into the night.

And now things get odd;
Apparently one could delimit with a colon
Properties from the SIPPEER function!
Commas are in; all others are done.

Finally, a word on pipes and commas.
We're sorry. We can't say it enough.
But those compatibility options in asterisk.conf;
To maintain them forever was just too tough.

This patch removes:

* cdr_sqlite
* chan_gtalk
* chan_jingle
* chan_h323
* res_jabber
* app_saycountpl
* app_readfile
* app_dahdibarge

It removes the following applications/functions:

* WaitMusicOnHold
* SetMusicOnHold
* SIPCHANINFO

It removes the colon delimiter from the SIPPEER function.

Finally, it also removes all compatibility options that were configurable from
asterisk.conf, as these all applied to compatibility with Asterisk 1.4 systems.

Review: https://reviewboard.asterisk.org/r/3698/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
  • Loading branch information
matt-jordan committed Jul 4, 2014
1 parent 3bd495a commit 9783471
Show file tree
Hide file tree
Showing 42 changed files with 113 additions and 19,395 deletions.
54 changes: 54 additions & 0 deletions CHANGES
Expand Up @@ -12,6 +12,21 @@
--- Functionality changes from Asterisk 12 to Asterisk 13 --------------------
------------------------------------------------------------------------------

app_dahdibarge
------------------
* This module was deprecated and has been removed. Users of app_dahdibarge
should use ChanSpy instead.

app_readfile
------------------
* This module was deprecated and has been removed. Users of app_readfile
should use func_env's FILE function instead.

app_saycountpl
------------------
* This module was deprecated and has been removed. Users of app_saycountpl
should use the Say family of applications.

AMI
------------------
* New DeviceStateChanged and PresenceStateChanged AMI events have been added.
Expand All @@ -30,6 +45,11 @@ AMI
* New AMI actions PRIDebugSet, PRIDebugFileSet, and PRIDebugFileUnset
enable manager control over PRI debugging levels and file output.

cdr_sqlite
-----------------
* This module was deprecated and has been removed. Users of cdr_sqlite
should use cdr_sqlite3_custom.

CEL
------------------
* The "bridge_technology" extra field key has been added to BRIDGE_ENTER
Expand All @@ -47,6 +67,30 @@ chan_dahdi
* Added several SS7 config option parameters described in
chan_dahdi.conf.sample.

chan_gtalk
------------------
* This module was deprecated and has been removed. Users of chan_gtalk
should use chan_motif.

chan_h323
------------------
* This module was deprecated and has been removed. Users of chan_h323
should use chan_ooh323.

chan_jingle
------------------
* This module was deprecated and has been removed. Users of chan_jingle
should use chan_motif.

chan_sip
------------------
* The SIPPEER dialplan function no longer supports using a colon as a
delimiter for parameters. The parameters for the function should be
delimited using a comma.

* The SIPCHANINFO dialplan function was deprecated and has been removed. Users
of the function should use the CHANNEL function instead.

Core
------------------
* The TLS core in Asterisk now supports Perfect Forward Secrecy (PFS).
Expand Down Expand Up @@ -80,6 +124,16 @@ JACK_HOOK
* The JACK_HOOK function now supports audio with a sample rate higher than
8kHz.

MusicOnHold
------------------
* The SetMusicOnHold dialplan application was deprecated and has been removed.
Users of the application should use the CHANNEL function's musicclass
setting instead.

* The WaitMusicOnHold dialplan application was deprecated and has been
removed. Users of the application should use MusicOnHold with a duration
parameter instead.

Say
------------------
* The 'say' family of dialplan applications now support the Japanese
Expand Down
43 changes: 42 additions & 1 deletion UPGRADE.txt
Expand Up @@ -43,6 +43,13 @@ From 12 to 13:
directly. This change also includes a new script, refcounter.py, in the
contrib folder that will process the refs log file.

- The asterisk compatibility options in asterisk.conf have been removed.
These options enabled certain backwards compatibility features for
pbx_realtime, res_agi, and app_set that made their behaviour similar to
Asterisk 1.4. Users who used these backwards compatibility settings should
update their dialplans to use ',' instead of '|' as a delimiter, and should
use the Set dialplan application instead of the MSet dialplan application.

ARI:
- The ARI version has been changed from 1.0.0 to 1.1.0. This is to reflect
the backwards compatible changes listed below.
Expand Down Expand Up @@ -117,6 +124,9 @@ CDRs:
handler subroutine). In general, this is not the preferred default: this
causes extra CDRs to be generated for a channel in many common dialplans.

- The cdr_sqlite module was deprecated and has been removed. Users of this
module should use the cdr_sqlite3_custom module instead.

chan_dahdi:
- SS7 support now requires libss7 v2.0 or later.

Expand All @@ -125,6 +135,18 @@ chan_dahdi:
SETUP ACKNOWLEDGE message.
Default is now no.

chan_gtalk
- This module was deprecated and has been removed. Users of chan_gtalk
should use chan_motif.

chan_h323
- This module was deprecated and has been removed. Users of chan_h323
should use chan_ooh323.

chan_jingle
- This module was deprecated and has been removed. Users of chan_jingle
should use chan_motif.

chan_pjsip:
- Added a 'force_avp' option to chan_pjsip which will force the usage of
'RTP/AVP', 'RTP/AVPF', 'RTP/SAVP', or 'RTP/SAVPF' as the media transport type
Expand All @@ -139,6 +161,13 @@ chan_sip:
- Made set SIPREFERREDBYHDR as inheritable for better chan_pjsip
interoperability.

- The SIPPEER dialplan function no longer supports using a colon as a
delimiter for parameters. The parameters for the function should be
delimited using a comma.

- The SIPCHANINFO dialplan function was deprecated and has been removed. Users
of the function should use the CHANNEL function instead.

- Added a 'force_avp' option for chan_sip. When enabled this option will
cause the media transport in the offer or answer SDP to be 'RTP/AVP',
'RTP/AVPF', 'RTP/SAVP', or 'RTP/SAVPF' even if a DTLS stream has been
Expand Down Expand Up @@ -195,6 +224,15 @@ HTTP:
keep alive time between HTTP requests is configured in http.conf with the
session_keep_alive parameter.

MusicOnHold
- The SetMusicOnHold dialplan application was deprecated and has been removed.
Users of the application should use the CHANNEL function's musicclass
setting instead.

- The WaitMusicOnHold dialplan application was deprecated and has been
removed. Users of the application should use MusicOnHold with a duration
parameter instead.

ODBC:
- The compatibility setting, allow_empty_string_in_nontext, has been removed.
Empty column values will be stored as empty strings during realtime updates.
Expand Down Expand Up @@ -241,6 +279,10 @@ Realtime Configuration:
- A new set of Alembic scripts has been added for CDR tables. This will create
a 'cdr' table with the default schema that Asterisk expects.

res_jabber:
- This module was deprecated and has been removed. Users of this module should
use res_xmpp instead.

safe_asterisk:
- The safe_asterisk script was previously not installed on top of an existing
version. This caused bug-fixes in that script not to be deployed. If your
Expand Down Expand Up @@ -270,6 +312,5 @@ WebSockets:
In such cases, it may be necessary to adjust this value.
Default is 100 ms.


===========================================================
===========================================================
1 change: 0 additions & 1 deletion addons/Makefile
Expand Up @@ -27,7 +27,6 @@ H323OBJS:=ooCmdChannel.o ooLogChan.o ooUtils.o ooGkClient.o context.o \
H323CFLAGS:=-Iooh323c/src -Iooh323c/src/h323

ALL_C_MODS:=app_mysql \
app_saycountpl \
cdr_mysql \
chan_mobile \
chan_ooh323 \
Expand Down
138 changes: 0 additions & 138 deletions addons/app_saycountpl.c

This file was deleted.

0 comments on commit 9783471

Please sign in to comment.