Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
ambiorixg12 wrote:Use the Dispo Call URL option to add your php script and the rec name using the recording_filename variable
williamconley wrote:When a call ends, the dispo_call_url script is fired off by the server. If you do look at the instructions for the use (and paramaters) of the dispo_call_url, you will find that you can place a php script in that location and that script will be given the call information and the script will fire at the moment the agent pushes the "submit" button to indicate the outcome of the call. If you do not provide parameters, it will supply ALL information available. If you dump the $_GET in the php page, you'll find that there is a great deal of information available, including credentials. This same data set is available in start and end call as well as no-agent call urls, with slight adjustments for "information that does not yet exist" (such as "disposition/status" when the status has not yet been chosen).
This removes the need to edit any scripts in the system and allows upgrade without loss of function. While "upgrade-proof" may not seem like a big deal today, trust me when I say you really do want to keep track of every alteration in every file for when you upgrade. Vicidial has new features and bug fixes weekly (sometimes even daily), and upgrading is pretty easy. But if you have altered any files ...
Users browsing this forum: Google [Bot] and 53 guests