All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by DefLeppard » Tue Sep 19, 2017 12:28 pm
Hello,
I am trying to add a lead to the hopper via the API using the update_lead API function. The following is the API URL I am using:
http://serverip/vicidial/non_agent_api. ... o_update=YThe output I see is the following:
NOTICE: update_lead LEADS FOUND IN THE SYSTEM: |apiuser|||8003333330|2001|7001
The lead is never added to the hopper. Please advise as to how I can resolve this.
Vicibox 4.0.3
VERSION: 2.12-574a BUILD: 161106-2058
SVN: 2613
-
DefLeppard
-
- Posts: 85
- Joined: Thu May 20, 2010 8:28 pm
by mflorell » Tue Sep 19, 2017 2:30 pm
Your version doesn't have that feature, you will need to upgrade to a more recent svn/trunk version.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by blackbird2306 » Tue Sep 19, 2017 7:23 pm
It's highly recommended that you update, but a quick solution would be to download a current file from here:
http://www.vicidial.org/svn_trunk_nightly/and then replace the old version of "non_agent_api.php" with the new one.
But this approach is at your own risk. Somehow there could be some new tables referred to in the database and so on...
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
-
blackbird2306
-
- Posts: 409
- Joined: Mon Jun 23, 2014 5:31 pm
by mflorell » Tue Sep 19, 2017 8:14 pm
We DO NOT recommend just replacing old svn files with newer svn files without going through the upgrade process.
In this specific case, it won't work, there were major changes in authentication and the database schema that require the full DB schema updates to be run before running the newer code.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by DefLeppard » Mon Sep 25, 2017 3:29 am
Would it be possible for me to just add a new row to the hopper table in mysql to make this work?
-
DefLeppard
-
- Posts: 85
- Joined: Thu May 20, 2010 8:28 pm
by mflorell » Mon Sep 25, 2017 5:05 am
No, you need to update the database schema entirely. There are more changes than just the one involved in that script.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
Return to Support
Who is online
Users browsing this forum: Google [Bot], njr and 51 guests