mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					afd4bcfc76 | ||
| 
						 | 
					e6b0c4d27e | ||
| 
						 | 
					43e816ead9 | ||
| 
						 | 
					5f777e483a | ||
| 
						 | 
					53bc933737 | 
							
								
								
									
										1
									
								
								.lastclean
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.lastclean
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
40
 | 
			
		||||
							
								
								
									
										25
									
								
								asterisk-13.23.1-summary.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								asterisk-13.23.1-summary.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
<!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-13.23.1</title><h1 align="center"><a name="top">Release Summary</a></h1><h3 align="center">asterisk-13.23.1</h3><h3 align="center">Date: 2018-09-20</h3><h3 align="center"><asteriskteam@digium.com></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 has been made to address one or more security vulnerabilities that have been identified. A security advisory document has been published for each vulnerability that includes additional information. Users of versions of Asterisk that are affected are strongly encouraged to review the advisories and determine what action they should take to protect their systems from these issues.</p><p>Security Advisories:</p><ul>
 | 
			
		||||
<li><a href="http://downloads.asterisk.org/pub/security/AST-2018-009.html">AST-2018-009</a></li>
 | 
			
		||||
</ul><p>The data in this summary reflects changes that have been made since the previous release, asterisk-13.23.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%">2 George Joseph <gjoseph@digium.com><br/>1 Sean Bright <sean.bright@gmail.com><br/></td><td width="33%"><td width="33%">1 Sean Bright <sean.bright@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>Security</h3><h4>Category: Resources/res_http_websocket</h4><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28013">ASTERISK-28013</a>: res_http_websocket: Crash when reading HTTP Upgrade requests<br/>Reported by: Sean Bright<ul>
 | 
			
		||||
<li><a href="https://code.asterisk.org/code/changelog/asterisk?cs=e6b0c4d27e0392a7b4b4b6717a6d1e0ea049b550">[e6b0c4d27e]</a> Sean Bright -- AST-2018-009: Fix crash processing websocket HTTP Upgrade requests</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=43e816ead907bd5c0fd4acf46941bdccec7acac1">43e816ead9</a></td><td>George Joseph</td><td>CI: Fix typo in testsuite git checkout</td></tr>
 | 
			
		||||
<tr><td><a href="https://code.asterisk.org/code/changelog/asterisk?cs=5f777e483a950e0ae2cc1ef5c7fd34c9a99a1243">5f777e483a</a></td><td>George Joseph</td><td>CI: Use proper credentials for Security testsuite checkout</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-13.23.0-summary.html       |  276 --------------
 | 
			
		||||
asterisk-13.23.0-summary.txt        |  688 -----------------------------------
 | 
			
		||||
b/.version                          |    2
 | 
			
		||||
b/ChangeLog                         |    4
 | 
			
		||||
b/asterisk-13.23.0-rc1-summary.html |  285 ++++++++++++++
 | 
			
		||||
b/asterisk-13.23.0-rc1-summary.txt  |  696 ++++++++++++++++++++++++++++++++++++
 | 
			
		||||
b/res/res_http_websocket.c          |   22 -
 | 
			
		||||
7 files changed, 993 insertions(+), 980 deletions(-)</pre><br></html>
 | 
			
		||||
							
								
								
									
										111
									
								
								asterisk-13.23.1-summary.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										111
									
								
								asterisk-13.23.1-summary.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,111 @@
 | 
			
		||||
                                Release Summary
 | 
			
		||||
 | 
			
		||||
                                asterisk-13.23.1
 | 
			
		||||
 | 
			
		||||
                                Date: 2018-09-20
 | 
			
		||||
 | 
			
		||||
                           <asteriskteam@digium.com>
 | 
			
		||||
 | 
			
		||||
     ----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
                               Table of Contents
 | 
			
		||||
 | 
			
		||||
    1. Summary
 | 
			
		||||
    2. Contributors
 | 
			
		||||
    3. Closed Issues
 | 
			
		||||
    4. Other Changes
 | 
			
		||||
    5. Diffstat
 | 
			
		||||
 | 
			
		||||
     ----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
                                    Summary
 | 
			
		||||
 | 
			
		||||
                                 [Back to Top]
 | 
			
		||||
 | 
			
		||||
   This release has been made to address one or more security vulnerabilities
 | 
			
		||||
   that have been identified. A security advisory document has been published
 | 
			
		||||
   for each vulnerability that includes additional information. Users of
 | 
			
		||||
   versions of Asterisk that are affected are strongly encouraged to review
 | 
			
		||||
   the advisories and determine what action they should take to protect their
 | 
			
		||||
   systems from these issues.
 | 
			
		||||
 | 
			
		||||
   Security Advisories:
 | 
			
		||||
 | 
			
		||||
     * AST-2018-009
 | 
			
		||||
 | 
			
		||||
   The data in this summary reflects changes that have been made since the
 | 
			
		||||
   previous release, asterisk-13.23.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                
 | 
			
		||||
   2 George Joseph                                   1 Sean Bright            
 | 
			
		||||
   1 Sean Bright            
 | 
			
		||||
 | 
			
		||||
     ----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
                                 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.
 | 
			
		||||
 | 
			
		||||
  Security
 | 
			
		||||
 | 
			
		||||
    Category: Resources/res_http_websocket
 | 
			
		||||
 | 
			
		||||
   ASTERISK-28013: res_http_websocket: Crash when reading HTTP Upgrade
 | 
			
		||||
   requests
 | 
			
		||||
   Reported by: Sean Bright
 | 
			
		||||
     * [e6b0c4d27e] Sean Bright -- AST-2018-009: Fix crash processing
 | 
			
		||||
       websocket HTTP Upgrade requests
 | 
			
		||||
 | 
			
		||||
     ----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
                      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                                   |
 | 
			
		||||
   |------------+---------------+-------------------------------------------|
 | 
			
		||||
   | 43e816ead9 | George Joseph | CI: Fix typo in testsuite git checkout    |
 | 
			
		||||
   |------------+---------------+-------------------------------------------|
 | 
			
		||||
   | 5f777e483a | George Joseph | CI: Use proper credentials for Security   |
 | 
			
		||||
   |            |               | testsuite checkout                        |
 | 
			
		||||
   +------------------------------------------------------------------------+
 | 
			
		||||
 | 
			
		||||
     ----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
                                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-13.23.0-summary.html       |  276 --------------
 | 
			
		||||
 asterisk-13.23.0-summary.txt        |  688 -----------------------------------
 | 
			
		||||
 b/.version                          |    2
 | 
			
		||||
 b/ChangeLog                         |    4
 | 
			
		||||
 b/asterisk-13.23.0-rc1-summary.html |  285 ++++++++++++++
 | 
			
		||||
 b/asterisk-13.23.0-rc1-summary.txt  |  696 ++++++++++++++++++++++++++++++++++++
 | 
			
		||||
 b/res/res_http_websocket.c          |   22 -
 | 
			
		||||
 7 files changed, 993 insertions(+), 980 deletions(-)
 | 
			
		||||
							
								
								
									
										44
									
								
								contrib/realtime/mssql/mssql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								contrib/realtime/mssql/mssql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
BEGIN TRANSACTION;
 | 
			
		||||
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
-- Running upgrade  -> 210693f3123d
 | 
			
		||||
 | 
			
		||||
CREATE TABLE cdr (
 | 
			
		||||
    accountcode VARCHAR(20) NULL, 
 | 
			
		||||
    src VARCHAR(80) NULL, 
 | 
			
		||||
    dst VARCHAR(80) NULL, 
 | 
			
		||||
    dcontext VARCHAR(80) NULL, 
 | 
			
		||||
    clid VARCHAR(80) NULL, 
 | 
			
		||||
    channel VARCHAR(80) NULL, 
 | 
			
		||||
    dstchannel VARCHAR(80) NULL, 
 | 
			
		||||
    lastapp VARCHAR(80) NULL, 
 | 
			
		||||
    lastdata VARCHAR(80) NULL, 
 | 
			
		||||
    start DATETIME NULL, 
 | 
			
		||||
    answer DATETIME NULL, 
 | 
			
		||||
    [end] DATETIME NULL, 
 | 
			
		||||
    duration INTEGER NULL, 
 | 
			
		||||
    billsec INTEGER NULL, 
 | 
			
		||||
    disposition VARCHAR(45) NULL, 
 | 
			
		||||
    amaflags VARCHAR(45) NULL, 
 | 
			
		||||
    userfield VARCHAR(256) NULL, 
 | 
			
		||||
    uniqueid VARCHAR(150) NULL, 
 | 
			
		||||
    linkedid VARCHAR(150) NULL, 
 | 
			
		||||
    peeraccount VARCHAR(20) NULL, 
 | 
			
		||||
    sequence INTEGER NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d');
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
COMMIT;
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1925
									
								
								contrib/realtime/mssql/mssql_config.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1925
									
								
								contrib/realtime/mssql/mssql_config.sql
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										54
									
								
								contrib/realtime/mssql/mssql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								contrib/realtime/mssql/mssql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
BEGIN TRANSACTION;
 | 
			
		||||
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
-- Running upgrade  -> a2e9769475e
 | 
			
		||||
 | 
			
		||||
CREATE TABLE voicemail_messages (
 | 
			
		||||
    dir VARCHAR(255) NOT NULL, 
 | 
			
		||||
    msgnum INTEGER NOT NULL, 
 | 
			
		||||
    context VARCHAR(80) NULL, 
 | 
			
		||||
    macrocontext VARCHAR(80) NULL, 
 | 
			
		||||
    callerid VARCHAR(80) NULL, 
 | 
			
		||||
    origtime INTEGER NULL, 
 | 
			
		||||
    duration INTEGER NULL, 
 | 
			
		||||
    recording IMAGE NULL, 
 | 
			
		||||
    flag VARCHAR(30) NULL, 
 | 
			
		||||
    category VARCHAR(30) NULL, 
 | 
			
		||||
    mailboxuser VARCHAR(30) NULL, 
 | 
			
		||||
    mailboxcontext VARCHAR(30) NULL, 
 | 
			
		||||
    msg_id VARCHAR(40) NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
ALTER TABLE voicemail_messages ADD CONSTRAINT voicemail_messages_dir_msgnum PRIMARY KEY (dir, msgnum);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
CREATE INDEX voicemail_messages_dir ON voicemail_messages (dir);
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
INSERT INTO alembic_version (version_num) VALUES ('a2e9769475e');
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
-- Running upgrade a2e9769475e -> 39428242f7f5
 | 
			
		||||
 | 
			
		||||
ALTER TABLE voicemail_messages ALTER COLUMN recording IMAGE;
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e';
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
COMMIT;
 | 
			
		||||
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										32
									
								
								contrib/realtime/mysql/mysql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								contrib/realtime/mysql/mysql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
-- 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');
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1130
									
								
								contrib/realtime/mysql/mysql_config.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1130
									
								
								contrib/realtime/mysql/mysql_config.sql
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										34
									
								
								contrib/realtime/mysql/mysql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								contrib/realtime/mysql/mysql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
-- 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';
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										38
									
								
								contrib/realtime/oracle/oracle_cdr.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								contrib/realtime/oracle/oracle_cdr.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR2(32 CHAR) NOT NULL
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
-- Running upgrade  -> 210693f3123d
 | 
			
		||||
 | 
			
		||||
CREATE TABLE cdr (
 | 
			
		||||
    accountcode VARCHAR2(20 CHAR), 
 | 
			
		||||
    src VARCHAR2(80 CHAR), 
 | 
			
		||||
    dst VARCHAR2(80 CHAR), 
 | 
			
		||||
    dcontext VARCHAR2(80 CHAR), 
 | 
			
		||||
    clid VARCHAR2(80 CHAR), 
 | 
			
		||||
    channel VARCHAR2(80 CHAR), 
 | 
			
		||||
    dstchannel VARCHAR2(80 CHAR), 
 | 
			
		||||
    lastapp VARCHAR2(80 CHAR), 
 | 
			
		||||
    lastdata VARCHAR2(80 CHAR), 
 | 
			
		||||
    "start" DATE, 
 | 
			
		||||
    answer DATE, 
 | 
			
		||||
    end DATE, 
 | 
			
		||||
    duration INTEGER, 
 | 
			
		||||
    billsec INTEGER, 
 | 
			
		||||
    disposition VARCHAR2(45 CHAR), 
 | 
			
		||||
    amaflags VARCHAR2(45 CHAR), 
 | 
			
		||||
    userfield VARCHAR2(256 CHAR), 
 | 
			
		||||
    uniqueid VARCHAR2(150 CHAR), 
 | 
			
		||||
    linkedid VARCHAR2(150 CHAR), 
 | 
			
		||||
    peeraccount VARCHAR2(20 CHAR), 
 | 
			
		||||
    sequence INTEGER
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
INSERT INTO alembic_version (version_num) VALUES ('210693f3123d')
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1891
									
								
								contrib/realtime/oracle/oracle_config.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1891
									
								
								contrib/realtime/oracle/oracle_config.sql
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										48
									
								
								contrib/realtime/oracle/oracle_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								contrib/realtime/oracle/oracle_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,48 @@
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR2(32 CHAR) NOT NULL
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
-- Running upgrade  -> a2e9769475e
 | 
			
		||||
 | 
			
		||||
CREATE TABLE voicemail_messages (
 | 
			
		||||
    dir VARCHAR2(255 CHAR) NOT NULL, 
 | 
			
		||||
    msgnum INTEGER NOT NULL, 
 | 
			
		||||
    context VARCHAR2(80 CHAR), 
 | 
			
		||||
    macrocontext VARCHAR2(80 CHAR), 
 | 
			
		||||
    callerid VARCHAR2(80 CHAR), 
 | 
			
		||||
    origtime INTEGER, 
 | 
			
		||||
    duration INTEGER, 
 | 
			
		||||
    recording BLOB, 
 | 
			
		||||
    flag VARCHAR2(30 CHAR), 
 | 
			
		||||
    category VARCHAR2(30 CHAR), 
 | 
			
		||||
    mailboxuser VARCHAR2(30 CHAR), 
 | 
			
		||||
    mailboxcontext VARCHAR2(30 CHAR), 
 | 
			
		||||
    msg_id VARCHAR2(40 CHAR)
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
UPDATE alembic_version SET version_num='39428242f7f5' WHERE alembic_version.version_num = 'a2e9769475e'
 | 
			
		||||
 | 
			
		||||
/
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										36
									
								
								contrib/realtime/postgresql/postgresql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								contrib/realtime/postgresql/postgresql_cdr.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
BEGIN;
 | 
			
		||||
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
-- 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');
 | 
			
		||||
 | 
			
		||||
COMMIT;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1222
									
								
								contrib/realtime/postgresql/postgresql_config.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1222
									
								
								contrib/realtime/postgresql/postgresql_config.sql
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										38
									
								
								contrib/realtime/postgresql/postgresql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								contrib/realtime/postgresql/postgresql_voicemail.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
BEGIN;
 | 
			
		||||
 | 
			
		||||
CREATE TABLE alembic_version (
 | 
			
		||||
    version_num VARCHAR(32) NOT NULL
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
-- 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;
 | 
			
		||||
 | 
			
		||||
@@ -736,7 +736,8 @@ static void websocket_bad_request(struct ast_tcptls_session_instance *ser)
 | 
			
		||||
int AST_OPTIONAL_API_NAME(ast_websocket_uri_cb)(struct ast_tcptls_session_instance *ser, const struct ast_http_uri *urih, const char *uri, enum ast_http_method method, struct ast_variable *get_vars, struct ast_variable *headers)
 | 
			
		||||
{
 | 
			
		||||
	struct ast_variable *v;
 | 
			
		||||
	char *upgrade = NULL, *key = NULL, *key1 = NULL, *key2 = NULL, *protos = NULL, *requested_protocols = NULL, *protocol = NULL;
 | 
			
		||||
	const char *upgrade = NULL, *key = NULL, *key1 = NULL, *key2 = NULL, *protos = NULL;
 | 
			
		||||
	char *requested_protocols = NULL, *protocol = NULL;
 | 
			
		||||
	int version = 0, flags = 1;
 | 
			
		||||
	struct ast_websocket_protocol *protocol_handler = NULL;
 | 
			
		||||
	struct ast_websocket *session;
 | 
			
		||||
@@ -755,16 +756,15 @@ int AST_OPTIONAL_API_NAME(ast_websocket_uri_cb)(struct ast_tcptls_session_instan
 | 
			
		||||
	/* Get the minimum headers required to satisfy our needs */
 | 
			
		||||
	for (v = headers; v; v = v->next) {
 | 
			
		||||
		if (!strcasecmp(v->name, "Upgrade")) {
 | 
			
		||||
			upgrade = ast_strip(ast_strdupa(v->value));
 | 
			
		||||
			upgrade = v->value;
 | 
			
		||||
		} else if (!strcasecmp(v->name, "Sec-WebSocket-Key")) {
 | 
			
		||||
			key = ast_strip(ast_strdupa(v->value));
 | 
			
		||||
			key = v->value;
 | 
			
		||||
		} else if (!strcasecmp(v->name, "Sec-WebSocket-Key1")) {
 | 
			
		||||
			key1 = ast_strip(ast_strdupa(v->value));
 | 
			
		||||
			key1 = v->value;
 | 
			
		||||
		} else if (!strcasecmp(v->name, "Sec-WebSocket-Key2")) {
 | 
			
		||||
			key2 = ast_strip(ast_strdupa(v->value));
 | 
			
		||||
			key2 = v->value;
 | 
			
		||||
		} else if (!strcasecmp(v->name, "Sec-WebSocket-Protocol")) {
 | 
			
		||||
			requested_protocols = ast_strip(ast_strdupa(v->value));
 | 
			
		||||
			protos = ast_strdupa(requested_protocols);
 | 
			
		||||
			protos = v->value;
 | 
			
		||||
		} else if (!strcasecmp(v->name, "Sec-WebSocket-Version")) {
 | 
			
		||||
			if (sscanf(v->value, "%30d", &version) != 1) {
 | 
			
		||||
				version = 0;
 | 
			
		||||
@@ -778,7 +778,7 @@ int AST_OPTIONAL_API_NAME(ast_websocket_uri_cb)(struct ast_tcptls_session_instan
 | 
			
		||||
			ast_sockaddr_stringify(&ser->remote_address));
 | 
			
		||||
		ast_http_error(ser, 426, "Upgrade Required", NULL);
 | 
			
		||||
		return 0;
 | 
			
		||||
	} else if (ast_strlen_zero(requested_protocols)) {
 | 
			
		||||
	} else if (ast_strlen_zero(protos)) {
 | 
			
		||||
		/* If there's only a single protocol registered, and the
 | 
			
		||||
		 * client doesn't specify what protocol it's using, go ahead
 | 
			
		||||
		 * and accept the connection */
 | 
			
		||||
@@ -799,9 +799,12 @@ int AST_OPTIONAL_API_NAME(ast_websocket_uri_cb)(struct ast_tcptls_session_instan
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Iterate through the requested protocols trying to find one that we have a handler for */
 | 
			
		||||
	while (!protocol_handler && (protocol = strsep(&requested_protocols, ","))) {
 | 
			
		||||
		protocol_handler = ao2_find(server->protocols, ast_strip(protocol), OBJ_KEY);
 | 
			
		||||
	if (!protocol_handler && protos) {
 | 
			
		||||
		requested_protocols = ast_strdupa(protos);
 | 
			
		||||
		/* Iterate through the requested protocols trying to find one that we have a handler for */
 | 
			
		||||
		while (!protocol_handler && (protocol = strsep(&requested_protocols, ","))) {
 | 
			
		||||
			protocol_handler = ao2_find(server->protocols, ast_strip(protocol), OBJ_KEY);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* If no protocol handler exists bump this back to the requester */
 | 
			
		||||
 
 | 
			
		||||
@@ -170,8 +170,10 @@ pipeline {
 | 
			
		||||
 | 
			
		||||
									sh "sudo rm -rf ${groupDir} || : "
 | 
			
		||||
									
 | 
			
		||||
									checkout scm: [$class: 'GitSCM',
 | 
			
		||||
										branches: [[name: "${BRANCH_NAME}"]],
 | 
			
		||||
									withCredentials([usernamePassword(credentialsId: "${JENKINS_GERRIT_CREDS}",
 | 
			
		||||
										passwordVariable: 'GERRIT_USER_PW', usernameVariable: 'GERRIT_USER_NAME')]) {
 | 
			
		||||
										checkout scm: [$class: 'GitSCM',
 | 
			
		||||
											branches: [[name: "${BRANCH_NAME}"]],
 | 
			
		||||
											extensions: [
 | 
			
		||||
												[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
 | 
			
		||||
												[$class: 'CloneOption',
 | 
			
		||||
@@ -181,8 +183,15 @@ pipeline {
 | 
			
		||||
													shallow: true
 | 
			
		||||
												],
 | 
			
		||||
											],
 | 
			
		||||
											userRemoteConfigs: [[name: env.GERRIT_NAME, url: testsuiteUrl]]
 | 
			
		||||
											userRemoteConfigs: [
 | 
			
		||||
												[
 | 
			
		||||
												credentialsId: env.JENKINS_GERRIT_CREDS,
 | 
			
		||||
												name: env.GERRIT_NAME,
 | 
			
		||||
												url: testsuiteUrl.replaceAll("http(s)?://", "http\$1://${GERRIT_USER_NAME}@")
 | 
			
		||||
												]
 | 
			
		||||
											]
 | 
			
		||||
										]
 | 
			
		||||
									}
 | 
			
		||||
 | 
			
		||||
									sh "sudo tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --testsuite-command='${groupTestcmd}'"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user