From: Anthony Minessale Date: Tue, 15 Jul 2014 18:01:56 +0000 (+0500) Subject: hash auto dialing X-Git-Tag: v1.4.8~10^2~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e34aa639ad1c829a28e4ac98d9851699210a803;p=thirdparty%2Ffreeswitch.git hash auto dialing --- diff --git a/html5/verto/demo/verto.js b/html5/verto/demo/verto.js index 393641dc5d..65d23bb03c 100644 --- a/html5/verto/demo/verto.js +++ b/html5/verto/demo/verto.js @@ -368,6 +368,13 @@ function init() { $(document).ready(function() { init(); $("#page-incall").on("pagebeforechange", function(event) {}); + + if (window.location.hash) { + var hash = window.location.hash.substring(1); + $("#ext").val(hash); + $("#callbtn").trigger("click"); + } + }); $(document).bind("pagebeforechange", function(e, data) {