Compare commits

...

3 Commits

Author SHA1 Message Date
Asterisk Development Team
83098c66b1 Update for 16.14.0 2020-10-19 13:12:35 -05:00
Andrew Siplas
8ac6ae48ce logger.conf.sample: add missing comment mark
Add missing comment mark from stock configuration.

ASTERISK-29123 #close

Change-Id: I4f94eb4544166bca8af4c17fd11edee3c6980620
2020-10-16 07:08:37 -05:00
Asterisk Development Team
c1a5bbe7bf Update for 16.14.0-rc1 2020-09-09 10:01:29 -05:00
12 changed files with 93904 additions and 1 deletions

1
.lastclean Normal file
View File

@@ -0,0 +1 @@
40

1
.version Normal file
View File

@@ -0,0 +1 @@
16.14.0

90797
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title>Release Summary - asterisk-16.14.0</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-16.14.0</h3><h3 align="center">Date: 2020-10-19</h3><h3 align="center">&lt;asteriskteam@digium.com&gt;</h3><hr><h2 align="center">Table of Contents</h2><ol>
<li><a href="#summary">Summary</a></li>
<li><a href="#contributors">Contributors</a></li>
<li><a href="#closed_issues">Closed Issues</a></li>
<li><a href="#commits">Other Changes</a></li>
<li><a href="#diffstat">Diffstat</a></li>
</ol><hr><a name="summary"><h2 align="center">Summary</h2></a><center><a href="#top">[Back to Top]</a></center><p>This release is a point release of an existing major version. The changes included were made to address problems that have been identified in this release series, or are minor, backwards compatible new features or improvements. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous version are strongly encouraged to review the UPGRADE.txt document as well as the CHANGES document for information about upgrading to this release series.</p><p>The data in this summary reflects changes that have been made since the previous release, asterisk-16.13.0.</p><hr><a name="contributors"><h2 align="center">Contributors</h2></a><center><a href="#top">[Back to Top]</a></center><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were affected by commits that went into this release.</p><table width="100%" border="0">
<tr><th width="33%">Coders</th><th width="33%">Testers</th><th width="33%">Reporters</th></tr>
<tr valign="top"><td width="33%">4 Sean Bright <sean.bright@gmail.com><br/>4 George Joseph <gjoseph@digium.com><br/>3 Joshua C. Colp <jcolp@sangoma.com><br/>2 Kevin Harwell <kharwell@digium.com><br/>2 Asterisk Development Team <asteriskteam@digium.com><br/>2 Alexander Traud <pabstraud@compuserve.com><br/>1 Kfir Itzhak <mastertheknife@gmail.com><br/>1 Evandro César Arruda <ecarruda@gmail.com><br/>1 Torrey Searle <tsearle@voxbone.com><br/>1 Patrick Verzele <patrick@verzele.be><br/>1 Nickolay Shmyrev <nshmyrev@alphacephei.com><br/>1 Andrew Siplas <andrew@asiplas.net><br/></td><td width="33%"><td width="33%">1 Nickolay V. Shmyrev <nshmyrev@alphacephei.com><br/>1 Ramarajan <pramarajan@sangoma.com><br/>1 Ove Aursand <oveaurs@gmail.com><br/>1 Evandro César Arruda <ecarruda@gmail.com><br/>1 Thomas Johnson <tjohnson@microautomation.com><br/>1 Misha Vodsedalek <vmisha@seznam.cz><br/>1 Andrew Siplas <andrew@asiplas.net><br/>1 Torrey Searle <tsearle@gmail.com><br/>1 Kfir Itzhak <mastertheknife@gmail.com><br/>1 Joshua C. Colp <jcolp@digium.com><br/>1 Karsten Wemheuer <kwe-digium@iptam.com><br/>1 Joseph Ades <josephades1@gmail.com><br/>1 Leandro Dardini <ldardini@gmail.com><br/></td></tr>
</table><hr><a name="closed_issues"><h2 align="center">Closed Issues</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p><h3>Bug</h3><h4>Category: Applications/app_queue</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-25665">ASTERISK-25665</a>: Duplicate logging in queue log for EXITEMPTY events<br/>Reported by: Ove Aursand<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ae718c975af775511295093776f0c0a3d83b521d">[ae718c975a]</a> Kfir Itzhak -- app_queue: Fix leave-empty not recording a call as abandoned</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29043">ASTERISK-29043</a>: app_queue: Leave empty sometimes not recorded as abandoned<br/>Reported by: Kfir Itzhak<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ae718c975af775511295093776f0c0a3d83b521d">[ae718c975a]</a> Kfir Itzhak -- app_queue: Fix leave-empty not recording a call as abandoned</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29034">ASTERISK-29034</a>: Lastpause of realtime members is reseting<br/>Reported by: Evandro César Arruda<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=aa93107444fc41c09c7a34620fdd7b86b90eb57a">[aa93107444]</a> Evandro César Arruda -- app_queue: Member lastpause time reseting</li>
</ul><br><h4>Category: Applications/app_voicemail</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29029">ASTERISK-29029</a>: Voicemail "pollmailboxes"-option not working, bug in function handle_subscribe<br/>Reported by: Karsten Wemheuer<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=53a88df076023510d49d8f0818e24a8ec5d5dece">[53a88df076]</a> Sean Bright -- app_voicemail: Fix pollmailboxes</li>
</ul><a href="https://issues.asterisk.org/jira/browse/ASTERISK-27273">ASTERISK-27273</a>: app_voicemail: When a voicemail is marked as "Urgent", it is not sent by email/processed by the mailcmd command<br/>Reported by: Leandro Dardini<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=788b60d935cb910f7417611416c54be3c8d49517">[788b60d935]</a> Sean Bright -- app_voicemail: Process urgent messages with mailcmd</li>
</ul><br><h4>Category: Channels/chan_pjsip</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28878">ASTERISK-28878</a>: chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16<br/>Reported by: Joseph Ades<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=17258e0cdf2a0b8c3747a63b2fe469a3e1b3544b">[17258e0cdf]</a> Kevin Harwell -- chan_pjsip: disallow PJSIP_SEND_SESSION_REFRESH pre-answer execution</li>
</ul><br><h4>Category: Configs/Samples</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29123">ASTERISK-29123</a>: logger.conf.sample missing comment mark on line 115<br/>Reported by: Andrew Siplas<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=8ac6ae48ceb1c1c9f6cf8b36c58a2b8c1ab7a2de">[8ac6ae48ce]</a> Andrew Siplas -- logger.conf.sample: add missing comment mark</li>
</ul><br><h4>Category: PBX/General</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29046">ASTERISK-29046</a>: pbx: Deadlock when doing a reload, while simultaneously doing an ExtensionState on a pattern match hint that ends up adding an extension<br/>Reported by: Ramarajan<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=04527176458b0183d440891ec31770abedece71c">[0452717645]</a> Joshua C. Colp -- pbx: Fix hints deadlock between reload and ExtensionState.</li>
</ul><br><h4>Category: Resources/res_parking</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29042">ASTERISK-29042</a>: res_parking: Parker UUID is no longer copied<br/>Reported by: Misha Vodsedalek<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=075a7ee4a6b29afbfc9190b4abbfdd1983a75706">[075a7ee4a6]</a> Joshua C. Colp -- parking: Copy parker UUID as well.</li>
</ul><br><h4>Category: Resources/res_pjsip_diversion</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29001">ASTERISK-29001</a>: chan_pjsip does not process or forward 181 responses<br/>Reported by: Torrey Searle<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=75756ab850891318aa76607fb612f49879ce2b55">[75756ab850]</a> Torrey Searle -- res_pjsip_diversion: handle 181</li>
</ul><br><h4>Category: Resources/res_pjsip_session</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29033">ASTERISK-29033</a>: res_pjsip_session: Aggressively terminates session on failed re-INVITE<br/>Reported by: Joshua C. Colp<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=eaed23b340ab4dd15b25319878200ba2832c2660">[eaed23b340]</a> Joshua C. Colp -- res_pjsip_session: Don't aggressively terminate on failed re-INVITE.</li>
</ul><br><h4>Category: Resources/res_rtp_asterisk</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28974">ASTERISK-28974</a>: res_rtp_asterisk: T.140 messages have appended RTP string to each message block.<br/>Reported by: Thomas Johnson<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=32b593c3251b5c2ae5a62814ae082915138f2606">[32b593c325]</a> Sean Bright -- bridge_channel: Ensure text messages are zero terminated</li>
</ul><br><h4>Category: Resources/res_speech</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-29040">ASTERISK-29040</a>: res_speech: Assertion on format<br/>Reported by: Nickolay V. Shmyrev<ul>
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=444c6061617d32a4b744bebe3e9d67ccaedfeb9c">[444c606161]</a> Nickolay Shmyrev -- res_speech: Bump reference on format object</li>
</ul><br><hr><a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a list of all changes that went into this release that did not reference a JIRA issue.</p><table width="100%" border="1">
<tr><th>Revision</th><th>Author</th><th>Summary</th></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=c1a5bbe7bf084721b2e2e52cdfc68513fda609ab">c1a5bbe7bf</a></td><td>Asterisk Development Team</td><td>Update for 16.14.0-rc1</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=bd0724c7ed8a7c3bec9ec4320780c50a48e13590">bd0724c7ed</a></td><td>Asterisk Development Team</td><td>Update CHANGES and UPGRADE.txt for 16.14.0</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=ab34417f7ea9cd818a7b801b41da0c534b71c988">ab34417f7e</a></td><td>Patrick Verzele</td><td>res_pjsip_session: Deferred re-INVITE without SDP send a=sendrecv instead of a=sendonly</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=7b441505dcdb0b4d7a030adea3eae628e11ab80e">7b441505dc</a></td><td>Kevin Harwell</td><td>conversions: Add string to signed integer conversion functions</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=a14c5301e738c442013511c2e904c15891e1a023">a14c5301e7</a></td><td>George Joseph</td><td>ast_coredumper: Fix issues with naming</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=afc5cf8d677686fb567464e2ddb21f639a95953c">afc5cf8d67</a></td><td>Alexander Traud</td><td>samples: Fix keep_alive_interval default in pjsip.conf.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=0fa20c8df6cccabfbb4724777ae2b4fd725836f8">0fa20c8df6</a></td><td>Alexander Traud</td><td>sip_nat_settings: Update script for latest Linux.</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=d28a44c33d1e72b91b78ba56282bf56a0730a277">d28a44c33d</a></td><td>George Joseph</td><td>logger.c: Added a new log formatter called "plain"</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=55358b127692aadbecfb400bc2665aeb871f043b">55358b1276</a></td><td>Sean Bright</td><td>res_musiconhold.c: Use ast_file_read_dir to scan MoH directory</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=b9ba0f8da8a37d065a07ad060ebbb94e324f281e">b9ba0f8da8</a></td><td>George Joseph</td><td>scope_trace: Added debug messages and added additional macros</td></tr>
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=377caaed3cf2fd2d2aea9f2c18eb6f87a612f5ff">377caaed3c</a></td><td>George Joseph</td><td>stream.c: Added 2 more debugging utils and added pos to stream string</td></tr>
</table><hr><a name="diffstat"><h2 align="center">Diffstat Results</h2></a><center><a href="#top">[Back to Top]</a></center><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p><pre>asterisk-16.13.0-summary.html | 77 ----------
asterisk-16.13.0-summary.txt | 248 ----------------------------------
b/.version | 2
b/CHANGES | 22 +++
b/ChangeLog | 229 ++++++++++++++++++++++++++++++-
b/apps/app_queue.c | 3
b/apps/app_voicemail.c | 30 +---
b/asterisk-16.14.0-rc1-summary.html | 78 ++++++++++
b/asterisk-16.14.0-rc1-summary.txt | 242 +++++++++++++++++++++++++++++++++
b/channels/pjsip/dialplan_functions.c | 5
b/configs/samples/logger.conf.sample | 4
b/configs/samples/pjsip.conf.sample | 10 -
b/contrib/scripts/ast_coredumper | 4
b/contrib/scripts/sip_nat_settings | 19 --
b/include/asterisk/conversions.h | 54 +++++++
b/include/asterisk/frame.h | 5
b/include/asterisk/logger.h | 86 ++++++++++-
b/include/asterisk/stream.h | 26 +++
b/main/bridge_channel.c | 37 ++++-
b/main/conversions.c | 51 ++++++
b/main/logger.c | 52 +++++++
b/main/stream.c | 27 +--
b/res/res_musiconhold.c | 131 +++++++++--------
b/res/res_pjsip_diversion.c | 6
b/res/res_pjsip_session.c | 13 +
b/res/res_speech.c | 7
b/tests/test_conversions.c | 146 +++++++++++++++++++-
27 files changed, 1147 insertions(+), 467 deletions(-)</pre><br></html>

View File

@@ -0,0 +1,248 @@
Release Summary
asterisk-16.14.0
Date: 2020-10-19
<asteriskteam@digium.com>
----------------------------------------------------------------------
Table of Contents
1. Summary
2. Contributors
3. Closed Issues
4. Other Changes
5. Diffstat
----------------------------------------------------------------------
Summary
[Back to Top]
This release is a point release of an existing major version. The changes
included were made to address problems that have been identified in this
release series, or are minor, backwards compatible new features or
improvements. Users should be able to safely upgrade to this version if
this release series is already in use. Users considering upgrading from a
previous version are strongly encouraged to review the UPGRADE.txt
document as well as the CHANGES document for information about upgrading
to this release series.
The data in this summary reflects changes that have been made since the
previous release, asterisk-16.13.0.
----------------------------------------------------------------------
Contributors
[Back to Top]
This table lists the people who have submitted code, those that have
tested patches, as well as those that reported issues on the issue tracker
that were resolved in this release. For coders, the number is how many of
their patches (of any size) were committed into this release. For testers,
the number is the number of times their name was listed as assisting with
testing a patch. Finally, for reporters, the number is the number of
issues that they reported that were affected by commits that went into
this release.
Coders Testers Reporters
4 Sean Bright 1 Nickolay V. Shmyrev
4 George Joseph 1 Ramarajan
3 Joshua C. Colp 1 Ove Aursand
2 Kevin Harwell 1 Evandro César Arruda
2 Asterisk Development Team 1 Thomas Johnson
2 Alexander Traud 1 Misha Vodsedalek
1 Kfir Itzhak 1 Andrew Siplas
1 Evandro César Arruda 1 Torrey Searle
1 Torrey Searle 1 Kfir Itzhak
1 Patrick Verzele 1 Joshua C. Colp
1 Nickolay Shmyrev 1 Karsten Wemheuer
1 Andrew Siplas 1 Joseph Ades
1 Leandro Dardini
----------------------------------------------------------------------
Closed Issues
[Back to Top]
This is a list of all issues from the issue tracker that were closed by
changes that went into this release.
Bug
Category: Applications/app_queue
ASTERISK-25665: Duplicate logging in queue log for EXITEMPTY events
Reported by: Ove Aursand
* [ae718c975a] Kfir Itzhak -- app_queue: Fix leave-empty not recording a
call as abandoned
ASTERISK-29043: app_queue: Leave empty sometimes not recorded as abandoned
Reported by: Kfir Itzhak
* [ae718c975a] Kfir Itzhak -- app_queue: Fix leave-empty not recording a
call as abandoned
ASTERISK-29034: Lastpause of realtime members is reseting
Reported by: Evandro César Arruda
* [aa93107444] Evandro César Arruda -- app_queue: Member lastpause time
reseting
Category: Applications/app_voicemail
ASTERISK-29029: Voicemail "pollmailboxes"-option not working, bug in
function handle_subscribe
Reported by: Karsten Wemheuer
* [53a88df076] Sean Bright -- app_voicemail: Fix pollmailboxes
ASTERISK-27273: app_voicemail: When a voicemail is marked as "Urgent", it
is not sent by email/processed by the mailcmd command
Reported by: Leandro Dardini
* [788b60d935] Sean Bright -- app_voicemail: Process urgent messages
with mailcmd
Category: Channels/chan_pjsip
ASTERISK-28878: chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16
Reported by: Joseph Ades
* [17258e0cdf] Kevin Harwell -- chan_pjsip: disallow
PJSIP_SEND_SESSION_REFRESH pre-answer execution
Category: Configs/Samples
ASTERISK-29123: logger.conf.sample missing comment mark on line 115
Reported by: Andrew Siplas
* [8ac6ae48ce] Andrew Siplas -- logger.conf.sample: add missing comment
mark
Category: PBX/General
ASTERISK-29046: pbx: Deadlock when doing a reload, while simultaneously
doing an ExtensionState on a pattern match hint that ends up adding an
extension
Reported by: Ramarajan
* [0452717645] Joshua C. Colp -- pbx: Fix hints deadlock between reload
and ExtensionState.
Category: Resources/res_parking
ASTERISK-29042: res_parking: Parker UUID is no longer copied
Reported by: Misha Vodsedalek
* [075a7ee4a6] Joshua C. Colp -- parking: Copy parker UUID as well.
Category: Resources/res_pjsip_diversion
ASTERISK-29001: chan_pjsip does not process or forward 181 responses
Reported by: Torrey Searle
* [75756ab850] Torrey Searle -- res_pjsip_diversion: handle 181
Category: Resources/res_pjsip_session
ASTERISK-29033: res_pjsip_session: Aggressively terminates session on
failed re-INVITE
Reported by: Joshua C. Colp
* [eaed23b340] Joshua C. Colp -- res_pjsip_session: Don't aggressively
terminate on failed re-INVITE.
Category: Resources/res_rtp_asterisk
ASTERISK-28974: res_rtp_asterisk: T.140 messages have appended RTP string
to each message block.
Reported by: Thomas Johnson
* [32b593c325] Sean Bright -- bridge_channel: Ensure text messages are
zero terminated
Category: Resources/res_speech
ASTERISK-29040: res_speech: Assertion on format
Reported by: Nickolay V. Shmyrev
* [444c606161] Nickolay Shmyrev -- res_speech: Bump reference on format
object
----------------------------------------------------------------------
Commits Not Associated with an Issue
[Back to Top]
This is a list of all changes that went into this release that did not
reference a JIRA issue.
+------------------------------------------------------------------------+
| Revision | Author | Summary |
|------------+----------------------+------------------------------------|
| c1a5bbe7bf | Asterisk Development | Update for 16.14.0-rc1 |
| | Team | |
|------------+----------------------+------------------------------------|
| bd0724c7ed | Asterisk Development | Update CHANGES and UPGRADE.txt for |
| | Team | 16.14.0 |
|------------+----------------------+------------------------------------|
| | | res_pjsip_session: Deferred |
| ab34417f7e | Patrick Verzele | re-INVITE without SDP send |
| | | a=sendrecv instead of a=sendonly |
|------------+----------------------+------------------------------------|
| 7b441505dc | Kevin Harwell | conversions: Add string to signed |
| | | integer conversion functions |
|------------+----------------------+------------------------------------|
| a14c5301e7 | George Joseph | ast_coredumper: Fix issues with |
| | | naming |
|------------+----------------------+------------------------------------|
| afc5cf8d67 | Alexander Traud | samples: Fix keep_alive_interval |
| | | default in pjsip.conf. |
|------------+----------------------+------------------------------------|
| 0fa20c8df6 | Alexander Traud | sip_nat_settings: Update script |
| | | for latest Linux. |
|------------+----------------------+------------------------------------|
| d28a44c33d | George Joseph | logger.c: Added a new log |
| | | formatter called "plain" |
|------------+----------------------+------------------------------------|
| | | res_musiconhold.c: Use |
| 55358b1276 | Sean Bright | ast_file_read_dir to scan MoH |
| | | directory |
|------------+----------------------+------------------------------------|
| b9ba0f8da8 | George Joseph | scope_trace: Added debug messages |
| | | and added additional macros |
|------------+----------------------+------------------------------------|
| | | stream.c: Added 2 more debugging |
| 377caaed3c | George Joseph | utils and added pos to stream |
| | | string |
+------------------------------------------------------------------------+
----------------------------------------------------------------------
Diffstat Results
[Back to Top]
This is a summary of the changes to the source code that went into this
release that was generated using the diffstat utility.
asterisk-16.13.0-summary.html | 77 ----------
asterisk-16.13.0-summary.txt | 248 ----------------------------------
b/.version | 2
b/CHANGES | 22 +++
b/ChangeLog | 229 ++++++++++++++++++++++++++++++-
b/apps/app_queue.c | 3
b/apps/app_voicemail.c | 30 +---
b/asterisk-16.14.0-rc1-summary.html | 78 ++++++++++
b/asterisk-16.14.0-rc1-summary.txt | 242 +++++++++++++++++++++++++++++++++
b/channels/pjsip/dialplan_functions.c | 5
b/configs/samples/logger.conf.sample | 4
b/configs/samples/pjsip.conf.sample | 10 -
b/contrib/scripts/ast_coredumper | 4
b/contrib/scripts/sip_nat_settings | 19 --
b/include/asterisk/conversions.h | 54 +++++++
b/include/asterisk/frame.h | 5
b/include/asterisk/logger.h | 86 ++++++++++-
b/include/asterisk/stream.h | 26 +++
b/main/bridge_channel.c | 37 ++++-
b/main/conversions.c | 51 ++++++
b/main/logger.c | 52 +++++++
b/main/stream.c | 27 +--
b/res/res_musiconhold.c | 131 +++++++++--------
b/res/res_pjsip_diversion.c | 6
b/res/res_pjsip_session.c | 13 +
b/res/res_speech.c | 7
b/tests/test_conversions.c | 146 +++++++++++++++++++-
27 files changed, 1147 insertions(+), 467 deletions(-)

View File

@@ -112,7 +112,7 @@
; - [plain] - The plain formatter, this outputs log messages using a
; human readable format with the addition of function name
; and line number. No color escape codes are ever printed
nor are verbose messages treated specially.
; nor are verbose messages treated specially.
; - [json] - Log the output in JSON. Note that JSON formatted log entries,
; if specified for a logger type of 'console', will be formatted
; per the 'default' formatter for log messages of type VERBOSE.

View File

@@ -0,0 +1,41 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start DATETIME,
answer DATETIME,
end DATETIME,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr MODIFY accountcode VARCHAR(80) NULL;
ALTER TABLE cdr MODIFY peeraccount VARCHAR(80) NULL;
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '210693f3123d';

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> a2e9769475e
CREATE TABLE voicemail_messages (
dir VARCHAR(255) NOT NULL,
msgnum INTEGER NOT NULL,
context VARCHAR(80),
macrocontext VARCHAR(80),
callerid VARCHAR(80),
origtime INTEGER,
duration INTEGER,
recording BLOB,
flag VARCHAR(30),
category VARCHAR(30),
mailboxuser VARCHAR(30),
mailboxcontext VARCHAR(30),
msg_id VARCHAR(40)
);
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages MODIFY recording BLOB(4294967295) NULL;
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';

View File

@@ -0,0 +1,45 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> 210693f3123d
CREATE TABLE cdr (
accountcode VARCHAR(20),
src VARCHAR(80),
dst VARCHAR(80),
dcontext VARCHAR(80),
clid VARCHAR(80),
channel VARCHAR(80),
dstchannel VARCHAR(80),
lastapp VARCHAR(80),
lastdata VARCHAR(80),
start TIMESTAMP WITHOUT TIME ZONE,
answer TIMESTAMP WITHOUT TIME ZONE,
"end" TIMESTAMP WITHOUT TIME ZONE,
duration INTEGER,
billsec INTEGER,
disposition VARCHAR(45),
amaflags VARCHAR(45),
userfield VARCHAR(256),
uniqueid VARCHAR(150),
linkedid VARCHAR(150),
peeraccount VARCHAR(20),
sequence INTEGER
);
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
-- Running upgrade 210693f3123d -> 54cde9847798
ALTER TABLE cdr ALTER COLUMN accountcode TYPE VARCHAR(80);
ALTER TABLE cdr ALTER COLUMN peeraccount TYPE VARCHAR(80);
UPDATE alembic_version SET version_num='54cde9847798' WHERE alembic_version.version_num = '210693f3123d';
COMMIT;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,39 @@
BEGIN;
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
);
-- Running upgrade -> a2e9769475e
CREATE TABLE voicemail_messages (
dir VARCHAR(255) NOT NULL,
msgnum INTEGER NOT NULL,
context VARCHAR(80),
macrocontext VARCHAR(80),
callerid VARCHAR(80),
origtime INTEGER,
duration INTEGER,
recording BYTEA,
flag VARCHAR(30),
category VARCHAR(30),
mailboxuser VARCHAR(30),
mailboxcontext VARCHAR(30),
msg_id VARCHAR(40)
);
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
-- Running upgrade a2e9769475e -> 39428242f7f5
ALTER TABLE voicemail_messages ALTER COLUMN recording TYPE BYTEA;
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
COMMIT;