[-]
[+]
|
Changed |
asterisk162-addons.spec
|
|
[-]
[+]
|
Deleted |
asterisk-addons-1.6.2.2.tar.bz2/asterisk-addons-1.6.2.2-summary.html
^
|
@@ -1,83 +0,0 @@
-<!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">
-<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Release Summary - asterisk-addons-1.6.2.2</title></head>
-<body>
-<h1 align="center"><a name="top">Release Summary</a></h1>
-<h3 align="center">asterisk-addons-1.6.2.2</h3>
-<h3 align="center">Date: 2010-09-21</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="#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><br/><p>This release includes only bug fixes. The changes included were made only to address problems that have been identified in this release series. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous release series 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-addons-1.6.2.1.</p>
-<hr/>
-<a name="contributors"><h2 align="center">Contributors</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><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 closed by commits that went into this release.</p>
-<table width="100%" border="0">
-<tr>
-<td width="33%"><h3>Coders</h3></td>
-<td width="33%"><h3>Testers</h3></td>
-<td width="33%"><h3>Reporters</h3></td>
-</tr>
-<tr valign="top">
-<td>
-1 may<br/>
-1 may213<br/>
-1 mnicholson<br/>
-1 tzafrir<br/>
-</td>
-<td>
-1 azbest<br/>
-1 jin<br/>
-</td>
-<td>
-1 azbest<br/>
-1 jin<br/>
-</td>
-</tr>
-</table>
-<hr/>
-<a name="issues"><h2 align="center">Closed Issues</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p>
-<h3>Category: Addons/chan_mobile</h3><br/>
-<a href="https://issues.asterisk.org/view.php?id=16430">#16430</a>: Asterisk crashes on dtmf detection on channel with 2 bluetooth cellphone<br/>
-Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1124">1124</a><br/>
-Reporter: azbest<br/>
-Testers: azbest<br/>
-Coders: mnicholson<br/>
-<br/>
-<h3>Category: Addons/chan_ooh323</h3><br/>
-<a href="https://issues.asterisk.org/view.php?id=17227">#17227</a>: [patch] Segmentation fault with unanswered inbound call via chan_ooh323<br/>
-Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1117">1117</a><br/>
-Reporter: jin<br/>
-Testers: jin<br/>
-Coders: may213<br/>
-<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><br/><p>This is a list of all changes that went into this release that did not directly close an issue from the issue tracker. The commits may have been marked as being related to an issue. If that is the case, the issue numbers are listed here, as well.</p>
-<table width="100%" border="1">
-<tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Summary</b></td><td><b>Issues Referenced</b></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1112">1112</a></td><td>may</td><td>Don't pass zero length callerid to ooh323 stack</td>
-<td><a href="https://issues.asterisk.org/view.php?id=17186">#17186</a></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1114">1114</a></td><td>tzafrir</td><td>Typo: 'succesful' (lintian).</td>
-<td></td></tr></table>
-<hr/>
-<a name="diffstat"><h2 align="center">Diffstat Results</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><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>
-chan_mobile.c | 1 -
-chan_ooh323.c | 5 ++++-
-ooh323c/src/oochannels.c | 4 ++--
-3 files changed, 6 insertions(+), 4 deletions(-)
-</pre><br/>
-<hr/>
-</body>
-</html>
|
[-]
[+]
|
Deleted |
asterisk-addons-1.6.2.2.tar.bz2/asterisk-addons-1.6.2.2-summary.txt
^
|
@@ -1,118 +0,0 @@
- Release Summary
-
- asterisk-addons-1.6.2.2
-
- Date: 2010-09-21
-
- <asteriskteam@digium.com>
-
- ----------------------------------------------------------------------
-
- Table of Contents
-
- 1. Summary
- 2. Contributors
- 3. Closed Issues
- 4. Other Changes
- 5. Diffstat
-
- ----------------------------------------------------------------------
-
- Summary
-
- [Back to Top]
-
- This release includes only bug fixes. The changes included were made only
- to address problems that have been identified in this release series.
- Users should be able to safely upgrade to this version if this release
- series is already in use. Users considering upgrading from a previous
- release series 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-addons-1.6.2.1.
-
- ----------------------------------------------------------------------
-
- 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 closed by commits that went into this
- release.
-
- Coders Testers Reporters
- 1 may 1 azbest 1 azbest
- 1 may213 1 jin 1 jin
- 1 mnicholson
- 1 tzafrir
-
- ----------------------------------------------------------------------
-
- 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.
-
- Category: Addons/chan_mobile
-
- #16430: Asterisk crashes on dtmf detection on channel with 2 bluetooth
- cellphone
- Revision: 1124
- Reporter: azbest
- Testers: azbest
- Coders: mnicholson
-
- Category: Addons/chan_ooh323
-
- #17227: [patch] Segmentation fault with unanswered inbound call via
- chan_ooh323
- Revision: 1117
- Reporter: jin
- Testers: jin
- Coders: may213
-
- ----------------------------------------------------------------------
-
- Commits Not Associated with an Issue
-
- [Back to Top]
-
- This is a list of all changes that went into this release that did not
- directly close an issue from the issue tracker. The commits may have been
- marked as being related to an issue. If that is the case, the issue
- numbers are listed here, as well.
-
- +------------------------------------------------------------------------+
- | Revision | Author | Summary | Issues Referenced |
- |----------+---------+-------------------------------+-------------------|
- | 1112 | may | Don't pass zero length | #17186 |
- | | | callerid to ooh323 stack | |
- |----------+---------+-------------------------------+-------------------|
- | 1114 | tzafrir | Typo: 'succesful' (lintian). | |
- +------------------------------------------------------------------------+
-
- ----------------------------------------------------------------------
-
- 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.
-
- chan_mobile.c | 1 -
- chan_ooh323.c | 5 ++++-
- ooh323c/src/oochannels.c | 4 ++--
- 3 files changed, 6 insertions(+), 4 deletions(-)
-
- ----------------------------------------------------------------------
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/.version
^
|
@@ -1 +1 @@
-1.6.2.2
+1.6.2.3
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/ChangeLog
^
|
@@ -1,3 +1,70 @@
+2011-01-14 Leif Madsen <lmadsen@digium.com>
+
+ * Released Asterisk-Addons 1.6.2.3
+
+2011-01-06 06:26 +0000 [r1141] Tilghman Lesher <tilghman@meg.abyt.es>
+
+ * res/res_config_mysql.c: Don't destroy a handle not created by us
+ (because the caller will). (closes issue #18526) Reported by:
+ makoto Patches: res-config-mysql-include.patch uploaded by makoto
+ (license 38) Tested by: makoto
+
+2010-12-26 23:08 +0000 [r1140] Alexandr Anikin <may@telecom-service.ru>
+
+ * channels/ooh323c/src/ooh245.c: declaration of ret var which isn't
+ declared in previous patch declare ret variable in
+ ooOnReceivedTerminalCapabilitySetAck, it's used by previous patch
+ (closes issue #18532) Reported by: colbec
+
+2010-12-25 16:31 +0000 [r1139] Alexandr Anikin <may@telecom-service.ru>
+
+ * channels/ooh323c/src/oochannels.c, channels/ooh323c/src/ooh323.c,
+ channels/ooh323c/src/ooh245.c: Change order of sending TCS and
+ MSD packets Change order of sending Terminal Capability Set and
+ MasterSlave Determination packets, MSD send when TCS exchange
+ procedure is done (we send tcs ack to remote and we have remote
+ tcs ack already or we receive tcs ack from remote and we have
+ send our tcs ack to remote already). Some endpoints can work in
+ this sequence only, i suggest they can't work with both (tcs and
+ msd) exchange procedures simultaneously. Also changed StartH245
+ facility message sending. It send on incoming calls only due to
+ some endpoints can't proccess properly this facility messages on
+ their incoming calls. (issue #18433) Reported by: MrHanMan
+ Patches: tcs-msd-h245-3.patch uploaded by may213 (license 454)
+ Tested by: MrHanMan, may213
+
+2010-12-24 17:56 +0000 [r1138] Tilghman Lesher <tilghman@meg.abyt.es>
+
+ * res/res_config_mysql.c: Reset 'first' variable after first usage.
+ (closes issue #18525) Reported by: makoto Patches:
+ res-config-mysql-update2.patch uploaded by makoto (license 38)
+
+2010-12-11 21:45 +0000 [r1137] Alexandr Anikin <may@telecom-service.ru>
+
+ * channels/ooh323c/src/ooGkClient.c: Correction to work with
+ gatekeeper which don't send GK ID Don't use GK ID if it's not
+ presented in GK replies Extract GK ID not only in GK confirm but
+ in GK register confirm also (issue #18401) Reported by: MrHanMan
+ Patches: no-gkid-2.patch uploaded by may213 (license 454) Tested
+ by: may213, MrHanMan
+
+2010-10-18 17:11 +0000 [r1136] Matthew Nicholson <mnicholson@digium.com>
+
+ * channels/chan_mobile.c: Fix cmgr parser. (closes issue #18152)
+ Reported by: menschentier
+
+2010-10-08 15:00 +0000 [r1135] Tilghman Lesher <tilghman@meg.abyt.es>
+
+ * /: Reset merge path, so that the new merge path order will work.
+ Thanks to Erin Spiceland, for making me aware of this
+ discrepancy.
+
+2010-10-08 14:57 +0000 [r1134] Erin Spiceland <erin@thespicelands.com>
+
+ * configs/res_mysql.conf.sample, apps/app_addon_sql_mysql.c,
+ res/res_config_mysql.c: Add option to specify a character set
+ that MySQL should use. (closes issue #17948) Reported by qmax.
+
2010-09-21 Leif Madsen <lmadsen@digium.com>
* Release Asterisk-Addons 1.6.2.2
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/apps/app_addon_sql_mysql.c
^
|
@@ -50,10 +50,10 @@
"Syntax:\n"
" MYSQL(Set timeout <num>)\n"
" Set the connection timeout, in seconds.\n"
-" MYSQL(Connect connid dhhost dbuser dbpass dbname)\n"
+" MYSQL(Connect connid dhhost dbuser dbpass dbname [dbcharset])\n"
" Connects to a database. Arguments contain standard MySQL parameters\n"
-" passed to function mysql_real_connect. Connection identifer returned\n"
-" in ${connid}\n"
+" passed to function mysql_real_connect. Optional parameter dbcharset\n"
+" defaults to 'latin1'. Connection identifer returned in ${connid}\n"
" MYSQL(Query resultid ${connid} query-string)\n"
" Executes standard MySQL query contained in query-string using established\n"
" connection identified by ${connid}. Result of query is stored in ${resultid}.\n"
@@ -73,7 +73,7 @@
/*
EXAMPLES OF USE :
-exten => s,2,MYSQL(Connect connid localhost asterisk mypass credit)
+exten => s,2,MYSQL(Connect connid localhost asterisk mypass credit utf8)
exten => s,3,MYSQL(Query resultid ${connid} SELECT username,credit FROM credit WHERE callerid=${CALLERIDNUM})
exten => s,4,MYSQL(Fetch fetchid ${resultid} datavar1 datavar2)
exten => s,5,GotoIf(${fetchid}?6:8)
@@ -305,6 +305,7 @@
AST_APP_ARG(dbuser);
AST_APP_ARG(dbpass);
AST_APP_ARG(dbname);
+ AST_APP_ARG(dbcharset);
);
MYSQL *mysql;
int timeout;
@@ -312,7 +313,7 @@
AST_NONSTANDARD_APP_ARGS(args, data, ' ');
- if (args.argc != 6) {
+ if (args.argc < 6) {
ast_log(LOG_WARNING, "MYSQL_connect is missing some arguments\n");
return -1;
}
@@ -326,6 +327,14 @@
if (ctimeout && sscanf(ctimeout, "%d", &timeout) == 1) {
mysql_options(mysql, MYSQL_OPT_CONNECT_TIMEOUT, (void *)&timeout);
}
+ if(args.dbcharset && strlen(args.dbcharset) > 2){
+ char set_names[255];
+ char statement[512];
+ snprintf(set_names, sizeof(set_names), "SET NAMES %s", args.dbcharset);
+ mysql_real_escape_string(mysql, statement, set_names, sizeof(set_names));
+ mysql_options(mysql, MYSQL_INIT_COMMAND, set_names);
+ mysql_options(mysql, MYSQL_SET_CHARSET_NAME, args.dbcharset);
+ }
if (! mysql_real_connect(mysql, args.dbhost, args.dbuser, args.dbpass, args.dbname, 0, NULL,
#ifdef CLIENT_MULTI_STATEMENTS
|
[-]
[+]
|
Added |
asterisk-addons-1.6.2.3.tar.bz2/asterisk-addons-1.6.2.3-summary.html
^
|
@@ -0,0 +1,106 @@
+<!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">
+<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Release Summary - asterisk-addons-1.6.2.3</title></head>
+<body>
+<h1 align="center"><a name="top">Release Summary</a></h1>
+<h3 align="center">asterisk-addons-1.6.2.3</h3>
+<h3 align="center">Date: 2011-01-14</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="#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><br/><p>This release includes only bug fixes. The changes included were made only to address problems that have been identified in this release series. Users should be able to safely upgrade to this version if this release series is already in use. Users considering upgrading from a previous release series 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-addons-1.6.2.2.</p>
+<hr/>
+<a name="contributors"><h2 align="center">Contributors</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><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 closed by commits that went into this release.</p>
+<table width="100%" border="0">
+<tr>
+<td width="33%"><h3>Coders</h3></td>
+<td width="33%"><h3>Testers</h3></td>
+<td width="33%"><h3>Reporters</h3></td>
+</tr>
+<tr valign="top">
+<td>
+3 may<br/>
+2 makoto<br/>
+1 espiceland<br/>
+1 mnicholson<br/>
+1 tilghman<br/>
+</td>
+<td>
+1 makoto<br/>
+</td>
+<td>
+2 makoto<br/>
+1 colbec<br/>
+1 menschentier<br/>
+1 qmax<br/>
+</td>
+</tr>
+</table>
+<hr/>
+<a name="issues"><h2 align="center">Closed Issues</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><p>This is a list of all issues from the issue tracker that were closed by changes that went into this release.</p>
+<h3>Category: Addons/chan_mobile</h3><br/>
+<a href="https://issues.asterisk.org/view.php?id=18152">#18152</a>: Channel Variable SMSSRC not set properly<br/>
+Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1136">1136</a><br/>
+Reporter: menschentier<br/>
+Coders: mnicholson<br/>
+<br/>
+<h3>Category: Addons/chan_ooh323</h3><br/>
+<a href="https://issues.asterisk.org/view.php?id=18532">#18532</a>: make of chan_ooh323 fails "ret undeclared"<br/>
+Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1140">1140</a><br/>
+Reporter: colbec<br/>
+Coders: may<br/>
+<br/>
+<h3>Category: Addons/res_config_mysql</h3><br/>
+<a href="https://issues.asterisk.org/view.php?id=17948">#17948</a>: nonlatin strings are not retrieved<br/>
+Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1134">1134</a><br/>
+Reporter: qmax<br/>
+Coders: espiceland<br/>
+<br/>
+<a href="https://issues.asterisk.org/view.php?id=18525">#18525</a>: [patch] ast_update2_realtime fails to update multiple columns with MySQL driver<br/>
+Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1138">1138</a><br/>
+Reporter: makoto<br/>
+Coders: makoto<br/>
+<br/>
+<a href="https://issues.asterisk.org/view.php?id=18526">#18526</a>: [patch] res_config_mysql.so crashes when processing "#include" with a file which doesn't exist<br/>
+Revision: <a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1141">1141</a><br/>
+Reporter: makoto<br/>
+Testers: makoto<br/>
+Coders: makoto<br/>
+<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><br/><p>This is a list of all changes that went into this release that did not directly close an issue from the issue tracker. The commits may have been marked as being related to an issue. If that is the case, the issue numbers are listed here, as well.</p>
+<table width="100%" border="1">
+<tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Summary</b></td><td><b>Issues Referenced</b></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1135">1135</a></td><td>tilghman</td><td>Reset merge path, so that the new merge path order will work.</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1137">1137</a></td><td>may</td><td>Correction to work with gatekeeper which don't send GK ID</td>
+<td><a href="https://issues.asterisk.org/view.php?id=18401">#18401</a></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk-addons/branches/1.6.2?view=revision&revision=1139">1139</a></td><td>may</td><td>Change order of sending TCS and MSD packets</td>
+<td><a href="https://issues.asterisk.org/view.php?id=18433">#18433</a></td></tr></table>
+<hr/>
+<a name="diffstat"><h2 align="center">Diffstat Results</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><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>
+apps/app_addon_sql_mysql.c | 19 +++++---
+channels/chan_mobile.c | 2
+channels/ooh323c/src/ooGkClient.c | 89 ++++++++++++++++++++++++--------------
+channels/ooh323c/src/oochannels.c | 14 -----
+channels/ooh323c/src/ooh245.c | 22 ++++++++-
+channels/ooh323c/src/ooh323.c | 26 ++++-------
+configs/res_mysql.conf.sample | 5 +-
+res/res_config_mysql.c | 18 +++++++
+8 files changed, 126 insertions(+), 69 deletions(-)
+</pre><br/>
+<hr/>
+</body>
+</html>
|
[-]
[+]
|
Added |
asterisk-addons-1.6.2.3.tar.bz2/asterisk-addons-1.6.2.3-summary.txt
^
|
@@ -0,0 +1,146 @@
+ Release Summary
+
+ asterisk-addons-1.6.2.3
+
+ Date: 2011-01-14
+
+ <asteriskteam@digium.com>
+
+ ----------------------------------------------------------------------
+
+ Table of Contents
+
+ 1. Summary
+ 2. Contributors
+ 3. Closed Issues
+ 4. Other Changes
+ 5. Diffstat
+
+ ----------------------------------------------------------------------
+
+ Summary
+
+ [Back to Top]
+
+ This release includes only bug fixes. The changes included were made only
+ to address problems that have been identified in this release series.
+ Users should be able to safely upgrade to this version if this release
+ series is already in use. Users considering upgrading from a previous
+ release series 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-addons-1.6.2.2.
+
+ ----------------------------------------------------------------------
+
+ 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 closed by commits that went into this
+ release.
+
+ Coders Testers Reporters
+ 3 may 1 makoto 2 makoto
+ 2 makoto 1 colbec
+ 1 espiceland 1 menschentier
+ 1 mnicholson 1 qmax
+ 1 tilghman
+
+ ----------------------------------------------------------------------
+
+ 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.
+
+ Category: Addons/chan_mobile
+
+ #18152: Channel Variable SMSSRC not set properly
+ Revision: 1136
+ Reporter: menschentier
+ Coders: mnicholson
+
+ Category: Addons/chan_ooh323
+
+ #18532: make of chan_ooh323 fails "ret undeclared"
+ Revision: 1140
+ Reporter: colbec
+ Coders: may
+
+ Category: Addons/res_config_mysql
+
+ #17948: nonlatin strings are not retrieved
+ Revision: 1134
+ Reporter: qmax
+ Coders: espiceland
+
+ #18525: [patch] ast_update2_realtime fails to update multiple columns with
+ MySQL driver
+ Revision: 1138
+ Reporter: makoto
+ Coders: makoto
+
+ #18526: [patch] res_config_mysql.so crashes when processing "#include"
+ with a file which doesn't exist
+ Revision: 1141
+ Reporter: makoto
+ Testers: makoto
+ Coders: makoto
+
+ ----------------------------------------------------------------------
+
+ Commits Not Associated with an Issue
+
+ [Back to Top]
+
+ This is a list of all changes that went into this release that did not
+ directly close an issue from the issue tracker. The commits may have been
+ marked as being related to an issue. If that is the case, the issue
+ numbers are listed here, as well.
+
+ +------------------------------------------------------------------------+
+ | Revision | Author | Summary | Issues Referenced |
+ |----------+----------+------------------------------+-------------------|
+ | | | Reset merge path, so that | |
+ | 1135 | tilghman | the new merge path order | |
+ | | | will work. | |
+ |----------+----------+------------------------------+-------------------|
+ | | | Correction to work with | |
+ | 1137 | may | gatekeeper which don't send | #18401 |
+ | | | GK ID | |
+ |----------+----------+------------------------------+-------------------|
+ | 1139 | may | Change order of sending TCS | #18433 |
+ | | | and MSD packets | |
+ +------------------------------------------------------------------------+
+
+ ----------------------------------------------------------------------
+
+ 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.
+
+ apps/app_addon_sql_mysql.c | 19 +++++---
+ channels/chan_mobile.c | 2
+ channels/ooh323c/src/ooGkClient.c | 89 ++++++++++++++++++++++++--------------
+ channels/ooh323c/src/oochannels.c | 14 -----
+ channels/ooh323c/src/ooh245.c | 22 ++++++++-
+ channels/ooh323c/src/ooh323.c | 26 ++++-------
+ configs/res_mysql.conf.sample | 5 +-
+ res/res_config_mysql.c | 18 +++++++
+ 8 files changed, 126 insertions(+), 69 deletions(-)
+
+ ----------------------------------------------------------------------
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/channels/chan_mobile.c
^
|
@@ -31,7 +31,7 @@
#include <asterisk.h>
-ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1124 $")
+ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1136 $")
#include <stdio.h>
#include <string.h>
@@ -2016,7 +2016,7 @@
*/
state = 0;
s = strlen(buf);
- for (i = 0; i < s && s != 6; i++) {
+ for (i = 0; i < s && state != 6; i++) {
switch (state) {
case 0: /* search for start of the number section (,) */
if (buf[i] == ',') {
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/channels/ooh323c/src/ooGkClient.c
^
|
@@ -796,10 +796,9 @@
sizeof(ASN116BITCHAR)* pGkClient->gkId.nchars);
}
else{
- OOTRACEERR1("ERROR:No Gatekeeper ID present in received GKConfirmed "
+ OOTRACEINFO1("ERROR:No Gatekeeper ID present in received GKConfirmed "
"message\n");
- OOTRACEINFO1("Ignoring message and will retransmit GRQ after timeout\n");
- return OO_FAILED;
+ pGkClient->gkId.nchars = 0;
}
/* Extract Gatekeeper's RAS address */
@@ -954,20 +953,22 @@
return OO_FAILED;
}
- pRegReq->m.gatekeeperIdentifierPresent=TRUE;
- pRegReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
- pRegReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc
+ if (pGkClient->gkId.nchars) {
+ pRegReq->m.gatekeeperIdentifierPresent=TRUE;
+ pRegReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
+ pRegReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc
(pctxt, pGkClient->gkId.nchars*sizeof(ASN116BITCHAR));
- if(!pRegReq->gatekeeperIdentifier.data)
- {
+ if(!pRegReq->gatekeeperIdentifier.data)
+ {
OOTRACEERR1("Error: Failed to allocate memory for GKIdentifier in RRQ "
"message.\n");
memReset(pctxt);
pGkClient->state = GkClientFailed;
return OO_FAILED;
- }
- memcpy(pRegReq->gatekeeperIdentifier.data, pGkClient->gkId.data,
+ }
+ memcpy(pRegReq->gatekeeperIdentifier.data, pGkClient->gkId.data,
pGkClient->gkId.nchars*sizeof(ASN116BITCHAR));
+ }
ooGkClientFillVendor(pGkClient, &pRegReq->endpointVendor);
@@ -1079,7 +1080,26 @@
memcpy(pGkClient->endpointId.data,
pRegistrationConfirm->endpointIdentifier.data,
sizeof(ASN116BITCHAR)*pGkClient->endpointId.nchars);
+
+ /* Extract GK Identifier */
+ if(pRegistrationConfirm->m.gatekeeperIdentifierPresent && pGkClient->gkId.nchars == 0)
+ {
+ pGkClient->gkId.nchars = pRegistrationConfirm->gatekeeperIdentifier.nchars;
+ pGkClient->gkId.data = (ASN116BITCHAR*)memAlloc(&pGkClient->ctxt,
+ sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
+ if(!pGkClient->gkId.data)
+ {
+ OOTRACEERR1("Error:Failed to allocate memory for GK ID data\n");
+ pGkClient->state = GkClientFailed;
+ return OO_FAILED;
+ }
+
+ memcpy(pGkClient->gkId.data,
+ pRegistrationConfirm->gatekeeperIdentifier.data,
+ sizeof(ASN116BITCHAR)* pGkClient->gkId.nchars);
+ }
+
/* Extract CallSignalling Address */
for(i=0; i<(int)pRegistrationConfirm->callSignalAddress.count; i++)
{
@@ -1362,20 +1382,22 @@
sizeof(ASN116BITCHAR)*pGkClient->endpointId.nchars);
/* Populate gatekeeper identifier */
- pUnregReq->m.gatekeeperIdentifierPresent = TRUE;
- pUnregReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
- pUnregReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc(pctxt,
+ if (pGkClient->gkId.nchars) {
+ pUnregReq->m.gatekeeperIdentifierPresent = TRUE;
+ pUnregReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
+ pUnregReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc(pctxt,
sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
- if(!pUnregReq->gatekeeperIdentifier.data)
- {
+ if(!pUnregReq->gatekeeperIdentifier.data)
+ {
OOTRACEERR1("Error:Failed to allocate memory for GKID of URQ message\n");
memReset(pctxt);
pGkClient->state = GkClientFailed;
return OO_FAILED;
- }
- memcpy((void*)pUnregReq->gatekeeperIdentifier.data,
+ }
+ memcpy((void*)pUnregReq->gatekeeperIdentifier.data,
(void*)pGkClient->gkId.data,
sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
+ }
/* Check whether specific aliases are to be unregistered*/
if(aliases)
@@ -1675,20 +1697,22 @@
sizeof(H225CallIdentifier));
/* Populate Gatekeeper Id */
- pAdmReq->m.gatekeeperIdentifierPresent = TRUE;
- pAdmReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
- pAdmReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc(pctxt,
+ if (pGkClient->gkId.nchars) {
+ pAdmReq->m.gatekeeperIdentifierPresent = TRUE;
+ pAdmReq->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
+ pAdmReq->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc(pctxt,
sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
- if(!pAdmReq->gatekeeperIdentifier.data)
- {
+ if(!pAdmReq->gatekeeperIdentifier.data)
+ {
OOTRACEERR1("Error:Failed to allocate memory for GKID of ARQ message\n");
memReset(pctxt);
pGkClient->state = GkClientFailed;
return OO_FAILED;
- }
- memcpy((void*)pAdmReq->gatekeeperIdentifier.data,
+ }
+ memcpy((void*)pAdmReq->gatekeeperIdentifier.data,
(void*)pGkClient->gkId.data,
sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
+ }
pAdmReq->m.willSupplyUUIEsPresent = 1;
pAdmReq->willSupplyUUIEs = FALSE;
@@ -2031,19 +2055,22 @@
pDRQ->m.callIdentifierPresent = 1;
memcpy((void*)&pDRQ->callIdentifier, (void*)&call->callIdentifier,
sizeof(H225CallIdentifier));
- pDRQ->m.gatekeeperIdentifierPresent = 1;
- pDRQ->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
- pDRQ->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc
+
+ if (pGkClient->gkId.nchars) {
+ pDRQ->m.gatekeeperIdentifierPresent = 1;
+ pDRQ->gatekeeperIdentifier.nchars = pGkClient->gkId.nchars;
+ pDRQ->gatekeeperIdentifier.data = (ASN116BITCHAR*)memAlloc
(pctxt, pGkClient->gkId.nchars*sizeof(ASN116BITCHAR));
- if(!pDRQ->gatekeeperIdentifier.data)
- {
+ if(!pDRQ->gatekeeperIdentifier.data)
+ {
OOTRACEERR1("Error:Failed to allocate memory for GKId in DRQ.\n");
memReset(pctxt);
pGkClient->state = GkClientFailed;
return OO_FAILED;
- }
- memcpy(pDRQ->gatekeeperIdentifier.data, pGkClient->gkId.data,
+ }
+ memcpy(pDRQ->gatekeeperIdentifier.data, pGkClient->gkId.data,
pGkClient->gkId.nchars*sizeof(ASN116BITCHAR));
+ }
pDRQ->m.terminationCausePresent = 1;
pDRQ->terminationCause.t = T_H225CallTerminationCause_releaseCompleteCauseIE;
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/channels/ooh323c/src/oochannels.c
^
|
@@ -129,13 +129,6 @@
call->callType, call->callToken);
return ret;
}
- ret = ooSendMasterSlaveDetermination(call);
- if(ret != OO_OK)
- {
- OOTRACEERR3("ERROR:Sending Master-slave determination message "
- "(%s, %s)\n", call->callType, call->callToken);
- return ret;
- }
}
else
{
@@ -464,13 +457,6 @@
call->callType, call->callToken);
return ret;
}
- ret = ooSendMasterSlaveDetermination(call);
- if(ret != OO_OK)
- {
- OOTRACEERR3("ERROR:Sending Master-slave determination message "
- "(%s, %s)\n", call->callType, call->callToken);
- return ret;
- }
return OO_OK;
}
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/channels/ooh323c/src/ooh245.c
^
|
@@ -1671,10 +1671,20 @@
int ooOnReceivedTerminalCapabilitySetAck(OOH323CallData* call)
{
+ int ret = OO_OK;
call->localTermCapState = OO_LocalTermCapSetAckRecvd;
if(call->remoteTermCapState != OO_RemoteTermCapSetAckSent)
return OO_OK;
-
+
+ if(call->masterSlaveState == OO_MasterSlave_Idle) {
+ ret = ooSendMasterSlaveDetermination(call);
+ if(ret != OO_OK) {
+ OOTRACEERR3("ERROR:Sending Master-slave determination message "
+ "(%s, %s)\n", call->callType, call->callToken);
+ return ret;
+ }
+ }
+
if(call->masterSlaveState == OO_MasterSlave_Master ||
call->masterSlaveState == OO_MasterSlave_Slave)
{
@@ -2548,6 +2558,16 @@
call->localTermCapState != OO_LocalTermCapSetAckRecvd)
return OO_OK;
+ if(call->masterSlaveState == OO_MasterSlave_Idle) {
+ ret = ooSendMasterSlaveDetermination(call);
+ if(ret != OO_OK) {
+ OOTRACEERR3("ERROR:Sending Master-slave determination message "
+ "(%s, %s)\n", call->callType, call->callToken);
+ return ret;
+ }
+ }
+
+
/* Check MasterSlave procedure has finished */
if(call->masterSlaveState != OO_MasterSlave_Master &&
call->masterSlaveState != OO_MasterSlave_Slave)
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/channels/ooh323c/src/ooh323.c
^
|
@@ -1034,16 +1034,6 @@
return ret;
}
}
- if(call->masterSlaveState == OO_MasterSlave_Idle)
- {
- ret = ooSendMasterSlaveDetermination(call);
- if(ret != OO_OK)
- {
- OOTRACEERR3("ERROR:Sending Master-slave determination message "
- "(%s, %s)\n", call->callType, call->callToken);
- return ret;
- }
- }
}
return OO_OK;
@@ -1382,14 +1372,20 @@
OO_CLRFLAG (call->flags, OO_M_TUNNELING);
/*Establish an H.245 connection */
- ret = ooCreateH245Connection(call);
- if(ret != OO_OK)
- {
+ if (!call->pH245Channel) {
+ ret = ooCreateH245Connection(call);
+ if(ret != OO_OK)
+ {
OOTRACEERR3("ERROR: Failed to establish an H.245 connection with remote"
" endpoint (%s, %s)\n", call->callType, call->callToken);
return ret;
- }
- return OO_OK;
+ }
+ } else {
+ OOTRACEINFO3("INFO: H.245 connection already established with remote"
+ " endpoint (%s, %s)\n", call->callType, call->callToken);
+ }
+
+ return OO_OK;
}
int ooHandleTunneledH245Messages
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/configs/res_mysql.conf.sample
^
|
@@ -4,7 +4,9 @@
; The value of dbhost may be either a hostname or an IP address.
; If dbhost is commented out or the string "localhost", a connection
; to the local host is assumed and dbsock is used instead of TCP/IP
-; to connect to the server.
+; to connect to the server. If no dbcharset is specified, the connection
+; is made with no extra charset configurations sent to MySQL, leaving all
+; configured MySQL charset options and defaults untouched.
;
; Multiple database contexts may be configured, with the caveat that
; all context names should be unique and must not contain the slash ('/')
@@ -37,4 +39,5 @@
;dbpass = mypass
;dbport = 3306
;dbsock = /tmp/mysql.sock
+;dbcharset = latin1
;requirements=warn ; or createclose or createchar
|
[-]
[+]
|
Changed |
asterisk-addons-1.6.2.3.tar.bz2/res/res_config_mysql.c
^
|
@@ -95,6 +95,7 @@
char user[50];
char pass[50];
char sock[50];
+ char charset[50];
int port;
int connected;
time_t connect_time;
@@ -738,6 +739,7 @@
ESCAPE_STRING(buf, newval);
ast_str_append(&sql, 0, "%s %s = '%s'", first ? "" : ",", newparam, ast_str_buffer(buf));
+ first = 0;
/* If the column length isn't long enough, give a chance to lengthen it. */
if (strncmp(column->type, "char", 4) == 0 || strncmp(column->type, "varchar", 7) == 0) {
@@ -973,7 +975,6 @@
if (!ast_config_internal_load(row[2], cfg, config_flags, "", who_asked)) {
mysql_free_result(result);
release_database(dbh);
- ast_config_destroy(cfg);
return NULL;
}
continue;
@@ -1520,6 +1521,10 @@
} else
ast_copy_string(conn->sock, s, sizeof(conn->sock));
+ if (s = ast_variable_retrieve(config, category, "dbcharset")) {
+ ast_copy_string(conn->charset, s, sizeof(conn->charset));
+ }
+
if (!(s = ast_variable_retrieve(config, category, "requirements"))) {
ast_log(LOG_WARNING, "MySQL realtime: no requirements setting found, using 'warn' as default.\n");
conn->requirements = RQ_WARN;
@@ -1540,6 +1545,8 @@
} else
ast_debug(1, "MySQL RealTime socket: %s\n", conn->sock);
ast_debug(1, "MySQL RealTime database name: %s\n", conn->name);
+ if(conn->charset)
+ ast_debug(1, "MySQL RealTime charset: %s\n", conn->charset);
ast_debug(1, "MySQL RealTime user: %s\n", conn->user);
ast_debug(1, "MySQL RealTime password: %s\n", conn->pass);
@@ -1561,6 +1568,15 @@
conn->connected = 0;
return 0;
}
+ if(conn->charset && strlen(conn->charset) > 2){
+ char set_names[255];
+ char statement[512];
+ snprintf(set_names, sizeof(set_names), "SET NAMES %s", conn->charset);
+ mysql_real_escape_string(&conn->handle, statement, set_names, sizeof(set_names));
+ mysql_options(&conn->handle, MYSQL_INIT_COMMAND, set_names);
+ mysql_options(&conn->handle, MYSQL_SET_CHARSET_NAME, conn->charset);
+ }
+
if (mysql_real_connect(&conn->handle, conn->host, conn->user, conn->pass, conn->name, conn->port, conn->sock, 0)) {
#ifdef MYSQL_OPT_RECONNECT
/* The default is no longer to automatically reconnect on failure,
|