don't overwrite autodial ext from cookie when supplied on the input hash

This commit is contained in:
Anthony Minessale 2014-08-12 00:29:45 +05:00
parent 2411550727
commit 3a10e5dff7

View 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");