Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
blackbird2306 wrote:What is your vicidial version and build now and what was it before you updated? Perhaps you made some customizations, which were deleted by updating vicidial. There is a api log report, which could be very useful to find out what happens.
Reports --> Admin Utilities --> API Log Report --> also check Show URLs, slower
blackbird2306 wrote:What is your vicidial version and build now and what was it before you updated?
blackbird2306 wrote:Please answer first:blackbird2306 wrote:What is your vicidial version and build now and what was it before you updated?
It is not easy to follow your explanations. Provide us with the right order and full url you send through agent api, so that we can reproduce your situation. Maybe there is a bug.
https://test-vd/agc/api.php?user=****&pass=****&source=testapi
&agent_user=100&function=update_fields&title=&first_name=&middle_initial=&last_name=&email=&alt_phone=&comments=&address1=*****&address2=&address3=&city=******&province=*****&postal_code=*****
*********|100|11920578|address1="*****",address2="",address3="",alt_phone="",city="******",comments="",email="",first_name="",last_name="",middle_initial="",postal_code="******",province="*******",title=""
&agent_user=100&function=external_hangup&value=1
SUCCESS: external_hangup function set - 1|100
&agent_user=100&function=external_pause&value=PAUSE
SUCCESS: external_pause function set - PAUSE|1532513668|100
&agent_user=100&function=external_status&value=N
SUCCESS: external_status function set - N|100
&agent_user=100&function=pause_code&value=BREAK
SUCCESS: pause_code function sent - 100
blackbird2306 wrote:Please answer first:blackbird2306 wrote:What is your vicidial version and build now and what was it before you updated?
blackbird2306 wrote:blackbird2306 wrote:Please answer first:blackbird2306 wrote:What is your vicidial version and build now and what was it before you updated?
mflorell wrote:A little over a year ago we completely rewrote the pausing code in the agent screen to greatly reduce the possibility of agents entering a state where they had a call but the agent screen was on pause without a way to handle the call. It's possible that change has affected how you used to use the API. Have you enabled Agent Screen Debug Logging on your system?
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
| USER | SCREEN DATE | DB DATE | RUN TIME | SCRIPT | ACTION | LEAD_ID | STAGE |
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
| 100 | 2018-07-25 13:11:41 | 2018-07-25 13:11:42 | 1.00926 | vdc_db_query.php | userLOGout | 0 | NORMAL 2.14-345 180228-0726 |
| 100 | 2018-07-25 13:11:38 | 2018-07-25 13:11:40 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:38 | 2018-07-25 13:11:40 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|2 PAUSED |
| 100 | 2018-07-25 13:11:40 | 2018-07-25 13:11:40 | 0.00839200 | conf_exten_check.php | refresh | 0 | PAUSED|4685876 |
| 100 | 2018-07-25 13:11:40 | 2018-07-25 13:11:40 | 0.006439 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:37 | 2018-07-25 13:11:39 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:39 | 2018-07-25 13:11:39 | 0.006632 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:39 | 2018-07-25 13:11:39 | 0.008497 | conf_exten_check.php | refresh | 0 | PAUSED|4685876 |
| 100 | 2018-07-25 13:11:37 | 2018-07-25 13:11:39 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|3 PAUSED |
| 100 | 2018-07-25 13:11:36 | 2018-07-25 13:11:38 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:38 | 2018-07-25 13:11:38 | 0.008861 | conf_exten_check.php | refresh | 0 | PAUSED|4685876 |
| 100 | 2018-07-25 13:11:38 | 2018-07-25 13:11:38 | 0.007477 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:36 | 2018-07-25 13:11:38 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|4 PAUSED |
| 100 | 2018-07-25 13:11:37 | 2018-07-25 13:11:37 | 0.006399 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:37 | 2018-07-25 13:11:37 | 0.007752 | conf_exten_check.php | refresh | 0 | PAUSED|4685876 |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:37 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|5 PAUSED |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:37 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:37 | 0 | vicidial.php | PauseCodeSelect_submit | 0 | 2|Break |
| 100 | 2018-07-25 13:11:36 | 2018-07-25 13:11:36 | 0.00784299 | vdc_db_query.php | PauseCodeSubmit | 0 | 0|0||4685876|Break| |
| 100 | 2018-07-25 13:11:34 | 2018-07-25 13:11:36 | 0 | vicidial.php | AutoDial_ReSume_PauSe | 0 | 1|VDADpause |
| 100 | 2018-07-25 13:11:34 | 2018-07-25 13:11:36 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:36 | 2018-07-25 13:11:36 | 0.007773 | conf_exten_check.php | refresh | 0 | PAUSED|4685876 |
| 100 | 2018-07-25 13:11:36 | 2018-07-25 13:11:36 | 0.006319 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:35 | 0.007445 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:35 | 0.009735 | conf_exten_check.php | refresh | 0 | READY|4685875 |
| 100 | 2018-07-25 13:11:33 | 2018-07-25 13:11:35 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:35 | 2018-07-25 13:11:35 | 0.007889 | vdc_db_query.php | VDADpause | 0 | PAUSED|NEW_ID|4685876| |
| 100 | 2018-07-25 13:11:32 | 2018-07-25 13:11:34 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:34 | 2018-07-25 13:11:34 | 0.00848 | conf_exten_check.php | refresh | 0 | READY|4685875 |
| 100 | 2018-07-25 13:11:34 | 2018-07-25 13:11:34 | 0.00622 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:33 | 2018-07-25 13:11:33 | 0.00627 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:33 | 2018-07-25 13:11:33 | 0.008172 | conf_exten_check.php | refresh | 0 | READY|4685875 |
| 100 | 2018-07-25 13:11:31 | 2018-07-25 13:11:33 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:30 | 2018-07-25 13:11:32 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:32 | 2018-07-25 13:11:32 | 0.008689 | conf_exten_check.php | refresh | 0 | READY|4685875 |
| 100 | 2018-07-25 13:11:32 | 2018-07-25 13:11:32 | 0.006567 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:31 | 2018-07-25 13:11:31 | 0.006232 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-25 13:11:31 | 2018-07-25 13:11:31 | 0.00802 | conf_exten_check.php | refresh | 0 | READY|4685875 |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:31 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:26 | 2018-07-25 13:11:30 | 0 | vicidial.php | EAcommentsBoxhide | 0 | 3|undefined |
| 100 | 2018-07-25 13:11:26 | 2018-07-25 13:11:30 | 0 | vicidial.php | CBcommentsBoxhide | 0 | 2| |
| 100 | 2018-07-25 13:11:30 | 2018-07-25 13:11:30 | 0.00791 | vdc_db_query.php | VDADready | 0 | READY|NEW_ID|4685875| |
| 100 | 2018-07-25 13:11:26 | 2018-07-25 13:11:30 | 0 | vicidial.php | api_status | 0 | 1|N |
| 100 | 2018-07-25 13:11:26 | 2018-07-25 13:11:30 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 ALREADY-RECEIVED |
| 100 | 2018-07-25 13:11:30 | 2018-07-25 13:11:30 | 0.007867 | conf_exten_check.php | refresh | 0 | PAUSED|4685874 |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:28 | 0.006026 | vdc_db_query.php | RUNurls | 0 | dispo |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:28 | 0.017481 | vdc_db_query.php | updateDISPO | 11920578 | TESTCAMP|OUT|N| |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:28 | 0.009378 | vdc_db_query.php | CalLBacKCounT | 0 | TESTCAMP|0|0 |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:28 | 0.008285 | vdc_db_query.php | ManagerChatsCheck | 0 | 0||0 |
| 100 | 2018-07-25 13:11:24 | 2018-07-25 13:11:28 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532520684 |
| 100 | 2018-07-25 13:11:28 | 2018-07-25 13:11:28 | 0.007747 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:26 | 2018-07-25 13:11:26 | 0.007362 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:20 | 2018-07-25 13:11:24 | 0 | vicidial.php | api_hangup | 0 | 0|1 |
| 100 | 2018-07-25 13:11:24 | 2018-07-25 13:11:24 | 0.008977 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:24 | 2018-07-25 13:11:24 | 0.00875 | vdc_db_query.php | updateLEAD | 11920578 | 0|1|18662832|0 |
| 100 | 2018-07-25 13:11:22 | 2018-07-25 13:11:22 | 0.00775 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:22 | 2018-07-25 13:11:22 | 0.007932 | vdc_db_query.php | UpdateFields | 11920578 | |
| 100 | 2018-07-25 13:11:22 | 2018-07-25 13:11:22 | 0.007134 | manager_send.php | Hangup | 0 | CALLHANGUP IAX2/127.0.0.1:40569-7137 192.168.9.153 |
| 100 | 2018-07-25 13:11:22 | 2018-07-25 13:11:22 | 0.007843 | manager_send.php | Hangup | 0 | Local/8600051@default-3dcf,1 192.168.9.153 |
| 100 | 2018-07-25 13:11:22 | 2018-07-25 13:11:22 | 0.03909 | vdc_db_query.php | manDiaLlogCaLL | 11920578 | end |
| 100 | 2018-07-25 13:11:20 | 2018-07-25 13:11:20 | 0.007666 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:18 | 2018-07-25 13:11:18 | 0.008228 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:15 | 2018-07-25 13:11:15 | 0.006979 | vdc_db_query.php | Log_Webform_Click | 11920578 | webform1 |
| 100 | 2018-07-25 13:11:15 | 2018-07-25 13:11:15 | 0.007921 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:14 | 2018-07-25 13:11:14 | 0.009504 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:14 | 2018-07-25 13:11:14 | 0.008186 | vdc_db_query.php | manDiaLlookCaLL | 11920578 | |
| 100 | 2018-07-25 13:11:12 | 2018-07-25 13:11:14 | 0 | vicidial.php | conf_send_recordingAUTO | 0 | 0|MonitorConf 8600051 YES |
| 100 | 2018-07-25 13:11:14 | 2018-07-25 13:11:14 | 0.017092 | vdc_db_query.php | manDiaLlogCaLL | 11920578 | start |
| 100 | 2018-07-25 13:11:13 | 2018-07-25 13:11:13 | 0.00721 | manager_send.php | MonitorConf | 11920578 | MonitorConf |
| 100 | 2018-07-25 13:11:11 | 2018-07-25 13:11:13 | 0 | vicidial.php | NeWManuaLDiaLCalLSubmiT | 0 | 0|NOW |
| 100 | 2018-07-25 13:11:13 | 2018-07-25 13:11:13 | 0.010114 | conf_exten_check.php | refresh | 0 | INCALL|4685873 |
| 100 | 2018-07-25 13:11:13 | 2018-07-25 13:11:13 | 0.008099 | vdc_db_query.php | manDiaLlookCaLL | 11920578 | |
| 100 | 2018-07-25 13:11:12 | 2018-07-25 13:11:12 | 0.00830800 | vdc_db_query.php | update_settings | 0 | |
| 100 | 2018-07-25 13:11:12 | 2018-07-25 13:11:12 | 0.016683 | vdc_db_query.php | manDiaLnextCaLL | 11920578 | lookup|4685873|PAUSED|MANUAL_DIALNOW|8200123456| |
| 100 | 2018-07-25 13:11:12 | 2018-07-25 13:11:12 | 0.007574 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:11 | 2018-07-25 13:11:11 | 0.007854 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:10 | 2018-07-25 13:11:10 | 0.007891 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:08 | 2018-07-25 13:11:08 | 0.007691 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:06 | 2018-07-25 13:11:06 | 0.00802399 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:05 | 2018-07-25 13:11:05 | 0.00803199 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:02 | 2018-07-25 13:11:04 | 0 | vicidial.php | NeWManuaLDiaLCalL | 0 | 0|NO |
| 100 | 2018-07-25 13:11:04 | 2018-07-25 13:11:04 | 0.007785 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:03 | 2018-07-25 13:11:03 | 0.007618 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:02 | 2018-07-25 13:11:02 | 0.007731 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:01 | 2018-07-25 13:11:01 | 0.00910099 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:11:00 | 2018-07-25 13:11:00 | 0.007491 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:10:59 | 2018-07-25 13:10:59 | 0.007765 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
| 100 | 2018-07-25 13:10:57 | 2018-07-25 13:10:58 | 0 | vicidial.php | LOGIN | 0 | 0|2.14-560c 180405-0913 /agc/vicidial.php |
| 100 | 2018-07-25 13:10:58 | 2018-07-25 13:10:58 | 0.007755 | conf_exten_check.php | refresh | 0 | PAUSED|4685873 |
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
| USER | SCREEN DATE | DB DATE | RUN TIME | SCRIPT | ACTION | LEAD_ID | STAGE |
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
| 100 | 2018-07-26 15:17:06 | 2018-07-26 15:17:07 | 1.009682 | vdc_db_query.php | userLOGout | 0 | NORMAL 2.14-345 180228-0726 |
| 100 | 2018-07-26 15:17:04 | 2018-07-26 15:17:06 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:04 | 2018-07-26 15:17:06 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|4 PAUSED |
| 100 | 2018-07-26 15:17:06 | 2018-07-26 15:17:06 | 0.009378 | conf_exten_check.php | refresh | 0 | PAUSED|4685892 |
| 100 | 2018-07-26 15:17:06 | 2018-07-26 15:17:06 | 0.007557 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:05 | 2018-07-26 15:17:05 | 0.008397 | vdc_db_query.php | PauseCodeSubmit | 0 | 0|0||4685892|Break| |
| 100 | 2018-07-26 15:17:05 | 2018-07-26 15:17:05 | 0.006545 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:05 | 2018-07-26 15:17:05 | 0.008227 | conf_exten_check.php | refresh | 0 | PAUSED|4685892 |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:05 | 0 | vicidial.php | safe_pause_CFAI | 0 | 0|5 PAUSED |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:05 | 0 | vicidial.php | api_pause | 0 | 1|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:05 | 0 | vicidial.php | PauseCodeSelect_submit | 0 | 2|Break |
| 100 | 2018-07-26 15:17:02 | 2018-07-26 15:17:04 | 0 | vicidial.php | AutoDial_ReSume_PauSe | 0 | 1|VDADpause |
| 100 | 2018-07-26 15:17:02 | 2018-07-26 15:17:04 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:04 | 2018-07-26 15:17:04 | 0.009084 | conf_exten_check.php | refresh | 0 | PAUSED|4685892 |
| 100 | 2018-07-26 15:17:04 | 2018-07-26 15:17:04 | 0.00653 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:03 | 0.00754 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:01 | 2018-07-26 15:17:03 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:03 | 0.0093 | conf_exten_check.php | refresh | 0 | READY|4685891 |
| 100 | 2018-07-26 15:17:03 | 2018-07-26 15:17:03 | 0.008215 | vdc_db_query.php | VDADpause | 0 | PAUSED|NEW_ID|4685892| |
| 100 | 2018-07-26 15:17:00 | 2018-07-26 15:17:02 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:02 | 2018-07-26 15:17:02 | 0.007922 | conf_exten_check.php | refresh | 0 | READY|4685891 |
| 100 | 2018-07-26 15:17:02 | 2018-07-26 15:17:02 | 0.00668 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:01 | 2018-07-26 15:17:01 | 0.004122 | vdc_db_query.php | VDADcheckINCOMING | 0 | |
| 100 | 2018-07-26 15:17:01 | 2018-07-26 15:17:01 | 0.005749 | conf_exten_check.php | refresh | 0 | READY|4685891 |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:17:01 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:17:00 | 2018-07-26 15:17:00 | 0.009018 | conf_exten_check.php | refresh | 0 | PAUSED|4685890 |
| 100 | 2018-07-26 15:16:56 | 2018-07-26 15:17:00 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:16:56 | 2018-07-26 15:17:00 | 0 | vicidial.php | api_status | 0 | 1|N |
| 100 | 2018-07-26 15:16:56 | 2018-07-26 15:17:00 | 0 | vicidial.php | CBcommentsBoxhide | 0 | 2| |
| 100 | 2018-07-26 15:16:56 | 2018-07-26 15:17:00 | 0 | vicidial.php | EAcommentsBoxhide | 0 | 3|undefined |
| 100 | 2018-07-26 15:17:00 | 2018-07-26 15:17:00 | 0.0099 | vdc_db_query.php | VDADready | 0 | READY|NEW_ID|4685891| |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:16:58 | 0.006685 | vdc_db_query.php | RUNurls | 0 | dispo |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:16:58 | 0.011783 | vdc_db_query.php | updateDISPO | 11920578 | TESTCAMP|OUT|N| |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:16:58 | 0.007806 | vdc_db_query.php | CalLBacKCounT | 0 | TESTCAMP|0|0 |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:16:58 | 0.006385 | vdc_db_query.php | ManagerChatsCheck | 0 | 0||0 |
| 100 | 2018-07-26 15:16:54 | 2018-07-26 15:16:58 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 ALREADY-RECEIVED |
| 100 | 2018-07-26 15:16:58 | 2018-07-26 15:16:58 | 0.007335 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:52 | 2018-07-26 15:16:56 | 0 | vicidial.php | api_pause | 0 | 0|PAUSE!1532614614 |
| 100 | 2018-07-26 15:16:56 | 2018-07-26 15:16:56 | 0.009071 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:54 | 2018-07-26 15:16:54 | 0.00741 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:48 | 2018-07-26 15:16:52 | 0 | vicidial.php | api_hangup | 0 | 0|1 |
| 100 | 2018-07-26 15:16:52 | 2018-07-26 15:16:52 | 0.007815 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:52 | 2018-07-26 15:16:52 | 0.007847 | vdc_db_query.php | updateLEAD | 11920578 | 0|1|12019595|0 |
| 100 | 2018-07-26 15:16:50 | 2018-07-26 15:16:50 | 0.007074 | vdc_db_query.php | UpdateFields | 11920578 | |
| 100 | 2018-07-26 15:16:50 | 2018-07-26 15:16:50 | 0.007452 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:50 | 2018-07-26 15:16:50 | 0.006366 | manager_send.php | Hangup | 0 | CALLHANGUP IAX2/127.0.0.1:40569-1143 192.168.9.153 |
| 100 | 2018-07-26 15:16:50 | 2018-07-26 15:16:50 | 0.00882 | manager_send.php | Hangup | 0 | Local/8600051@default-33bd,1 192.168.9.153 |
| 100 | 2018-07-26 15:16:50 | 2018-07-26 15:16:50 | 0.034461 | vdc_db_query.php | manDiaLlogCaLL | 11920578 | end |
| 100 | 2018-07-26 15:16:48 | 2018-07-26 15:16:48 | 0.007552 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:47 | 2018-07-26 15:16:47 | 0.007833 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:44 | 2018-07-26 15:16:44 | 0.007494 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:43 | 2018-07-26 15:16:43 | 0.00774 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:41 | 2018-07-26 15:16:43 | 0 | vicidial.php | conf_send_recordingAUTO | 0 | 0|MonitorConf 8600051 YES |
| 100 | 2018-07-26 15:16:43 | 2018-07-26 15:16:43 | 0.00648100 | vdc_db_query.php | Log_Webform_Click | 11920578 | webform1 |
| 100 | 2018-07-26 15:16:42 | 2018-07-26 15:16:42 | 0.009497 | vdc_db_query.php | manDiaLlogCaLL | 11920578 | start |
| 100 | 2018-07-26 15:16:42 | 2018-07-26 15:16:42 | 0.00765 | manager_send.php | MonitorConf | 11920578 | MonitorConf |
| 100 | 2018-07-26 15:16:42 | 2018-07-26 15:16:42 | 0.009309 | vdc_db_query.php | manDiaLlookCaLL | 11920578 | |
| 100 | 2018-07-26 15:16:42 | 2018-07-26 15:16:42 | 0.010426 | conf_exten_check.php | refresh | 0 | INCALL|4685889 |
| 100 | 2018-07-26 15:16:40 | 2018-07-26 15:16:42 | 0 | vicidial.php | NeWManuaLDiaLCalLSubmiT | 0 | 0|NOW |
| 100 | 2018-07-26 15:16:41 | 2018-07-26 15:16:41 | 0.018033 | vdc_db_query.php | manDiaLnextCaLL | 11920578 | lookup|4685889|PAUSED|MANUAL_DIALNOW|8200123456| |
| 100 | 2018-07-26 15:16:41 | 2018-07-26 15:16:41 | 0.008269 | vdc_db_query.php | update_settings | 0 | |
| 100 | 2018-07-26 15:16:41 | 2018-07-26 15:16:41 | 0.007806 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:40 | 2018-07-26 15:16:40 | 0.007521 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:37 | 2018-07-26 15:16:39 | 0 | vicidial.php | NeWManuaLDiaLCalL | 0 | 0|NO |
| 100 | 2018-07-26 15:16:39 | 2018-07-26 15:16:39 | 0.007776 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:38 | 2018-07-26 15:16:38 | 0.007583 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:37 | 2018-07-26 15:16:37 | 0.007952 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:36 | 2018-07-26 15:16:36 | 0.007855 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:35 | 2018-07-26 15:16:35 | 0.007416 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:34 | 2018-07-26 15:16:34 | 0.007425 | conf_exten_check.php | refresh | 0 | PAUSED|4685889 |
| 100 | 2018-07-26 15:16:33 | 2018-07-26 15:16:34 | 0 | vicidial.php | LOGIN | 0 | 0|2.14-560c 180405-0913 /agc/vicidial.php |
+----------------------+---------------------+---------------------+------------+----------------------+-------------------------------------+------------+------------------------------------------------------------------------+
williamconley wrote:If I recall, these commands are forwarded to the agent's screen session. Then they are executed by the agent's screen, not php or perl server-side. So you'll need to debug the agent screen (Javascript console) to see what's going wrong.
Usually turns out to be a chase scenario in AJAX where the results of a request are not yet available (because ... AJAX is asynchronous) when an attempt is made to use those results (that's a pure generalization of 90% of the problems that involve AJAX but aren't resolved in 15 minutes).
williamconley wrote:The agent screen will receive the "do this" in an AJAX response, then be expected to ... "do this" in javascript, which will generate yet another AJAX request. Since this is all asynchronous, it's kind of convoluted.
In longer technobabble: Vicidial says "hey, you got anything for me?" and then sets a watchdog script to execute the response, whenever it arrives. When the response arrives via an ajax return, the request is processed by javascript, and if it's something that requires communication with the server (which it pretty much always is ...) then the javascript has to generate yet another AJAX request, this time "do this!" and await a confirmation response, then make whatever change internally is necessary to acknowledge that "success" response. Timing is very important during all of this.
Happy Hunting
DateTime: 2018-07-30 13:00:27|UnixTime: 1532952027|Logged-in: N|CampCalls: N|Status: PAUSED|DiaLCalls: N|APIHanguP: 0|APIStatuS: ::::::::::|APIPausE: PAUSE!1532952022|APIDiaL: |DEADcall: 0|InGroupChange: 0||||APIFields: 0|APIFieldsData: |APITimerAction: |APITimerMessage: |APITimerSeconds: -1|APIdtmf: |APItransferconf: |APIpark: |APITimerDestination: |APIManualDialQueue: 0|APIRecording: |APIPaUseCodE: BREAK|WaitinGChats: N|WaitinGEmails: N|LivEAgentCommentS: |LeadIDSwitch: 0|DEADxfer: 0
1|SIP/cc200-00000006 ~
williamconley wrote:First watch the ajax response in something that Works. Then watch it in something that doesn't. You may need to add some debug lines in the agent screen. Don't try to do this with a live call or real data. Just stick to the single command during a controlled scenario. Learning to debug the agent screen is all about the javascript (which can freak out many php/perl/mysqsl coders).
blackbird2306 wrote:Ok I`ve looked deeper in the code. My first question: Are you debugging your problem on a test environment without real live calls or do you test it on real production. It is important that you have a real "LIVE CALL" (you can see it on agent panel at right side on the top) when you are using the API. If not then VD_live_customer_call variable will be "0" and the "document.vicidial_form.DispoSelectStop.checked=true;" code will never be executed. Another very important thing is the right order of you API calls. This is the right order:
1. make sure it's a "live call"
1. send external_pause before hangup (otherwise VD_live_customer_call variable is "0")
2. then send external_hangup
3. then send external_status
1. send external_pause before hangup (otherwise VD_live_customer_call variable is "0")
developerdan wrote:Ah ok I was under the impression I could use the devtools in chrome.
I will start dumping and see what I can find.
Thanks for your help
I can rewrite the custom code to do that but its a major flow change (and what happens if the customer hangs up before the agent sends a pause?)
blackbird2306 wrote:Again it's important that you are on a real live call and I doubt, whether you are really on a live call with MOH extension. Just watch for VD_live_customer_call variable (debug on console) is it really 1? I noticed that "pause after dispo" (Next Call Pause) function only works in API call when you are on a live call (VD_live_customer_call variable is 1). If you hangup first (VD_live_customer_call variable is then 0) and afterwards send the pause command through the api it will not work.
blackbird2306 wrote:Did you change the part by adding "document.vicidial_form.DispoSelectStop.checked=true;" line at the right place?
Users browsing this forum: Google [Bot] and 74 guests