by mflorell » Sat Sep 22, 2018 4:26 pm
We added the dispo_add_FPG.php script for a client to do something similar. They had this trigger based on the Agent Selected Disposition of the call, so it was very easy on the agent side of things.
# dispo_add_FPG.php
#
# This script is designed to be used in the "Dispo URL" field of a campaign
# or in-group. It adds the phone_number of the call to a designated inbound
# Filter Phone Group
#
# This script is part of the API group and any modifications of data are
# logged to the vicidial_api_log table.
#
# Example of what to put in the Dispo URL field:
# VARhttp://192.168.1.1/agc/dispo_add_FPG ... _to_file=1
#
# Definable Fields: (other fields should be left as they are)
# - log_to_file - (0,1) if set to 1, will create a log file in the agc directory
# - sale_status - (SALE---XSALE) a triple-dash "---" delimited list of the statuses that are to be moved
# - FPG_id - (999,etc...) the Filter Phone Group ID that you want the phone number to be inserted into
# dispo_add_FPG.php
#
# This script is designed to be used in the "Dispo URL" field of a campaign
# or in-group. It adds the phone_number of the call to a designated inbound
# Filter Phone Group
#
# This script is part of the API group and any modifications of data are
# logged to the vicidial_api_log table.
#
# Example of what to put in the Dispo URL field:
# VARhttp://192.168.1.1/agc/dispo_add_FPG ... _to_file=1
#
# Definable Fields: (other fields should be left as they are)
# - log_to_file - (0,1) if set to 1, will create a log file in the agc directory
# - sale_status - (SALE---XSALE) a triple-dash "---" delimited list of the statuses that are to be moved
# - FPG_id - (999,etc...) the Filter Phone Group ID that you want the phone number to be inserted into
- mflorell
- Site Admin
- Posts: 17032
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
No hay comentarios:
Publicar un comentario