]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't overwrite autodial ext from cookie when supplied on the input hash
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 11 Aug 2014 19:29:45 +0000 (00:29 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 11 Aug 2014 19:29:45 +0000 (00:29 +0500)
html5/verto/demo/verto.js

index 76882d1617c319c810bfedc4d77fa80774eaa813..2cdcfb0520673c4a8d006e36c750c482dbc96f92 100644 (file)
@@ -349,7 +349,10 @@ function pop(id, cname, dft) {
 function init() {
     cur_call = null;
 
-    pop("#ext", "verto_demo_ext", "3500");
+    if (!autocall) {
+       pop("#ext", "verto_demo_ext", "3500");
+    }
+
     pop("#name", "verto_demo_name", "FreeSWITCH User");
     pop("#cid", "verto_demo_cid", "1008");
     pop("#textto", "verto_demo_textto", "1000");