Added changes to solve issue in Predictive
Showing
3 changed files
with
8 additions
and
2 deletions
| ... | @@ -865,7 +865,7 @@ if($action=="closecall") | ... | @@ -865,7 +865,7 @@ if($action=="closecall") |
| 865 | 865 | ||
| 866 | $user['peopledata']["dialer_userdata"]=$kstychCall["userdata"][$crmcall->crm_id]; | 866 | $user['peopledata']["dialer_userdata"]=$kstychCall["userdata"][$crmcall->crm_id]; |
| 867 | $user['peopledata']["dialer_lastcall"]=date("Y-m-d H:i:s"); | 867 | $user['peopledata']["dialer_lastcall"]=date("Y-m-d H:i:s"); |
| 868 | if($user['peopledata']["status"]=='New' || $user['peopledata']["status"]=='NEW' || $user['peopledata']["status"]=='Incall')$user['peopledata']["status"]="Called"; | 868 | if($user['peopledata']["status"]=='New' || $user['peopledata']["status"]=='NEW' || $user['peopledata']["status"]=='Incall' || $user['peopledata']["status"]=='AutoCall')$user['peopledata']["status"]="Called"; |
| 869 | //for Supervisor Comments - By Manish | 869 | //for Supervisor Comments - By Manish |
| 870 | $user['agentcomments']=$kstychCall["agentcomments"]; | 870 | $user['agentcomments']=$kstychCall["agentcomments"]; |
| 871 | $user['supcomntid']=$kstychCall["supcomntid"]; | 871 | $user['supcomntid']=$kstychCall["supcomntid"]; | ... | ... |
| ... | @@ -534,7 +534,7 @@ class KPAMIListen implements IEventListener | ... | @@ -534,7 +534,7 @@ class KPAMIListen implements IEventListener |
| 534 | } | 534 | } |
| 535 | } | 535 | } |
| 536 | } | 536 | } |
| 537 | if($crmcall->type=="Auto" && $crmcall->user_id>0) | 537 | if($crmcall->type=="AutoCall") |
| 538 | { | 538 | { |
| 539 | $crmcall->userstatus="AutoCall"; | 539 | $crmcall->userstatus="AutoCall"; |
| 540 | $crmcall->usersubstatus="AutoCall"; | 540 | $crmcall->usersubstatus="AutoCall"; | ... | ... |
| ... | @@ -279,6 +279,12 @@ function kCallAction(num,action) | ... | @@ -279,6 +279,12 @@ function kCallAction(num,action) |
| 279 | 279 | ||
| 280 | function dialerDispNumberClick() | 280 | function dialerDispNumberClick() |
| 281 | { | 281 | { |
| 282 | if(kstychDialer["mDialerSubState"]=="Predictive") | ||
| 283 | { | ||
| 284 | simpleNotification('Warning','topRight',"Redial Is Not Allowed!") | ||
| 285 | return; | ||
| 286 | } | ||
| 287 | |||
| 282 | var lastnumber=$("#spandialer_num").html(); | 288 | var lastnumber=$("#spandialer_num").html(); |
| 283 | kstychCall['callWrapupTime']=180; | 289 | kstychCall['callWrapupTime']=180; |
| 284 | 290 | ... | ... |
-
Please register or sign in to post a comment