Skip to content

Commit

Permalink
Fix issue 173
Browse files Browse the repository at this point in the history
  • Loading branch information
bossiel committed Mar 18, 2015
1 parent 02bafef commit f8af2ff
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion SIPml-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var tag_hdr = document.getElementsByTagName('head')[0];
['SIPml.js', 'src/tinySIP/src/tsip_api.js'].forEach(function (file) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', file + "?svn=228");
tag_script.setAttribute('src', file + "?svn=229");
tag_hdr.appendChild(tag_script);
});
if (window.console) {
Expand Down
2 changes: 1 addition & 1 deletion call.htm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
DEBUG VERSION: 'SIPml-api.js'
RELEASE VERSION: 'release/SIPml-api.js'
-->
<script src="SIPml-api.js?svn=228" type="text/javascript"> </script>
<script src="SIPml-api.js?svn=229" type="text/javascript"> </script>

<!-- Styles -->
<link href="./assets/css/bootstrap.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This file is part of Open Source sipML5 solution <http://www.sipml5.org>
#

API_VERSION=1.5.228
API_VERSION=1.5.229
API_FOLDER_NAME=release
API_FILE_NAME=SIPml-api.js
API_FILE_PATH=$API_FOLDER_NAME/$API_FILE_NAME
Expand Down
4 changes: 2 additions & 2 deletions release/SIPml-api.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion release/call.htm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
DEBUG VERSION: 'SIPml-api.js'
RELEASE VERSION: 'release/SIPml-api.js'
-->
<script src="SIPml-api.js?svn=228" type="text/javascript"> </script>
<script src="SIPml-api.js?svn=229" type="text/javascript"> </script>

<!-- Styles -->
<link href="./assets/css/bootstrap.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion src/tinyMEDIA/src/tmedia_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tmedia_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=228");
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/tinySAK/src/tsk_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function tsk_api_add_js_script(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=228");
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/tinySDP/src/tsdp_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tsdp_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=228");
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_hdr.appendChild(tag_script);
}
};
Expand Down
3 changes: 2 additions & 1 deletion src/tinySIP/src/transactions/tsip_transac_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ tsip_transac_layer.prototype.cancel_by_dialog = function (o_dialog) {
o_transac = this.ao_transacs[i];
if (o_dialog.compare(o_transac.get_dialog()) == 0) {
// async call to avoid dealoc
setTimeout(function () { o_transac.fsm_act(tsip_action_type_e.CANCEL, null); }, 1);
var _o_transac = o_transac; // https://code.google.com/p/sipml5/issues/detail?id=173
setTimeout(function () { _o_transac.fsm_act(tsip_action_type_e.CANCEL, null); }, 1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/tinySIP/src/tsip_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function tsip_api_add_js_scripts(s_elt) {
for (var i = 1; i < arguments.length; ++i) {
var tag_script = document.createElement('script');
tag_script.setAttribute('type', 'text/javascript');
tag_script.setAttribute('src', arguments[i] + "?svn=228");
tag_script.setAttribute('src', arguments[i] + "?svn=229");
tag_hdr.appendChild(tag_script);
}
};
Expand Down

0 comments on commit f8af2ff

Please sign in to comment.