by williamconley » Wed Jul 03, 2019 4:19 am
Some of these URL fields allow putting NO parameters in and will then fill ALL of them in by default. Not sure if these are them or not, but one way or another your best bet with something like this is to run two test calls, one of each flavor, and run a diff on the resulting strings. Also note that there is a URL log for this which captures a decent amount of info to help out.
Failing that of course, remember that if the URL is pointed to a php file that has access to MySQL, you could just check the live calls table for this record and find out what its status is and/or go straight to the lead record or even check for a callback record.
"How to understand for callback call on API level" ... are you asking if there is an agent api method to find out what kind of call this is? If so, the options for YOUR installation of Vicidial's API are in the trunk/docs folder for both the agent api and the non-agent API. And if that doesn't provide a happy response, there's still the "hit the DB directly" method to build your own solution.
Run some tests. Check a lead record and the callback table and see what's there at each stage of a sample call such as you describe. Then it'll be easier to build a web page that can detect that difference (or at least one of them, there may be several).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294