Page 1 of 1

Alternate dispo URLs for campaign

PostPosted: Sun Sep 22, 2019 9:19 pm
by GenXOutsourcing
Hello All,

I am having difficulty setting up the Alternate dispo URLS. In the Campaign settings I have entered ALT, which gives me the new page admin_url_multi.php. I built the URL string based off an example here in the forum, but does not work and gives me an error.

ACTIVE=Y, RANK=1, STATUSES=SALE, LISTS=empty, DESCRIPTION=SALES
URL: varhttps://agent.perk.com/agc/dispo_mov ... m_fields=Y

ERROR: Problem modifying URL: 0|UPDATE vicidial_url_multi SET active='Y',url_rank='1',url_statuses='SALE',url_lists='',url_description='SALE',url_address='varhttps://agent.perkwiz.com/agc/dispo_move_list.php?lead_id=--A--lead_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&new_list_id=10000&sale_status=SALE&reset_dialed=Y&log_to_file=1&CF_uses_custom_fields=Y' where campaign_id='TestCamp' and entry_type='campaign' and url_type='dispo' and url_id='3';

Any and all help appreciated, have been using Vicidial for years but never needed to use this before.

Re: Alternate dispo URLs for campaign

PostPosted: Mon Sep 23, 2019 8:25 am
by mflorell
That query runs fine on my test system. I'd suggest running it manually in the MySQL Command-line script.

Re: Alternate dispo URLs for campaign

PostPosted: Mon Sep 23, 2019 10:24 am
by GenXOutsourcing
Ok, VAR was not capitalized and was throwing PHP errors.

Thanks Matt for letting me know the query was correct, made me look elsewhere.