]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hash auto dialing
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 15 Jul 2014 18:01:56 +0000 (23:01 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 15 Jul 2014 18:01:56 +0000 (23:01 +0500)
html5/verto/demo/verto.js

index 393641dc5da574265029ea9a9ffb2f0e47c84ad7..65d23bb03ce96f2d6eac5bcba2d4493d00cb761b 100644 (file)
@@ -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) {