checkdir.php wrong variables with softphone auto-answer enabled
Hello. First thank's for FOP2, it's really great
I use checkdir.php for sending variable "clidnum" as a parameter to our CRM website when poptype is "connect".
Our operators use MicroSIP as a softphone. Everything works correctly when operator answers the call himself, pressing the proper button of the softphone.
But with auto-answer enabled FOP2 sends wrong parameter to the website: not actual "clidnum", but it's previous succesful value instead.
I suspect that with auto-answer enabled called party channel answers the call so quickly, that FOP2 doesn't manage to read the proper value of "clidnum" from AMI. And as it stores the last succesfull value of the variable, it returns it every time instead of the proper one.
Can you please help to fix it?
I use checkdir.php for sending variable "clidnum" as a parameter to our CRM website when poptype is "connect".
Our operators use MicroSIP as a softphone. Everything works correctly when operator answers the call himself, pressing the proper button of the softphone.
But with auto-answer enabled FOP2 sends wrong parameter to the website: not actual "clidnum", but it's previous succesful value instead.
I suspect that with auto-answer enabled called party channel answers the call so quickly, that FOP2 doesn't manage to read the proper value of "clidnum" from AMI. And as it stores the last succesfull value of the variable, it returns it every time instead of the proper one.
Can you please help to fix it?
Comments