All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by jthayne » Wed Feb 20, 2013 5:27 pm
I have been through the Manager Manual and the forums, and have found no help resolving my issue with the update_lead function.
Our business rules require that on occasion, a lead's primary phone number needs to be updated. I am able to log into VICIDial Admin and update the primary phone number on the admin_modify_lead page. However, I am unable to update phone_number via non_agent_api.php. Is there something that is preventing the update? Is there another script I can use?
My only other option is to delete the lead and re-add it which seems like a bit of overkill.
Thanks,
Joseph
-
jthayne
-
- Posts: 5
- Joined: Tue Feb 05, 2013 11:02 am
by mflorell » Wed Feb 20, 2013 5:30 pm
That is probably because nobody has every requested that option, and because the main phone number is one of the searching options for the update_lead function.
I'm sure it could be added as an update field.
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by williamconley » Wed Feb 20, 2013 8:53 pm
And if you need something while waiting for the modify_lead api call to change, you should realize that this is easily modified with straight mysql from any sql client. If you have a "system" making the request, that system could instead run the sql command directly. Depends a bit on the trust level of the system placing the api call.
But I do agree that any field should be updatable via api. Just that until someone pays for that ... it likely won't exist!

Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
-
williamconley
-
- Posts: 20441
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Bartow, FL (In the boondocks)
-
by mflorell » Wed Feb 20, 2013 8:55 pm
You don't have to pay for it if you can write and post a patch diff file to the Issue Tracker for yourself

-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by jthayne » Thu Feb 21, 2013 1:45 pm
I have sent in a patch for the update. Thanks for the help!
-
jthayne
-
- Posts: 5
- Joined: Tue Feb 05, 2013 11:02 am
by williamconley » Thu Feb 21, 2013 6:13 pm
5 posts and already posting a patch! way to go.
it is often customary to post a link to the patch in Vicidial Issues here on this thread for ease of reference for those interested (especially Matt!).
But still, posting a patch after being here for 5 posts. Wow.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
-
williamconley
-
- Posts: 20441
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Bartow, FL (In the boondocks)
-
Return to Support
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 488 guests