Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on February 02, 2019, 09:03:30 PM
-
Hi guys
According to this https://docs.genesys.com/Documentation/CR/8.5.2/Solution/RecoverRP the time show as parameter is in UTC format (1437057696000) however, isn't UTC YYMMDDHHMMSS format?
Any one has a usefull sample of executing this script?
Thanks
-
Speech miner use Unix format for date time https://www.epochconverter.com so you have to convert your date to Unix format and use the scripts.
Enviado desde mi VTR-L29 mediante Tapatalk
-
Tried that too, yet doesn't work...script complains about invalid parameter data :S
-
What's the command your running (incl the params you're passing) and what's the output you get (exactly as it reports)
Obviously "x" out any sensitive values
-
It doesnt seem to be either UTC nor Unix time, but rather milliseconds since 01/01/1970 (unix time is seconds since 01/01/1970)
-
It's UNIX time in milliseconds
-
[code]
[root@callcenter-gir 0ff10895-93bb-4f75-86fa-XXXXXXXX]# python repost_to_sm_from_htcc.py -startTime 1519862400 -endTime 1549139756 -ccid 0ff10895-93bb-4f75-86fa-XXXXXXXXXXXX-region * -htccUri http://XXX.XXX.XXX.XXX:8080
[/code]
[code]
repost_to_sm_from_htcc.py: error: unrecognized arguments: recoverFailedFolder_20190202_18_41_51 recover_failedfolder.py recoveryConfig.ini repostFromHTCCToSM_20190202_18_36_56 repostFromHTCCToSM_20190202_18_37_11 repostFromHTCCToSM_20190202_18_37_28 repostFromHTCCToSM_20190202_18_37_37 repostFromHTCCToSM_20190202_18_38_31 repostFromHTCCToSM_20190202_18_51_48 rePost_from_MCP_to_RPandStorage.py repost_to_sm_from_htcc.py
[/code]
Seems like it has something to do with the files located at the same script folder...like trying to execute them
-
Remove the star character from your command (*)
-
According to [url=https://docs.genesys.com/Documentation/CR/8.5.2/Solution/RecoverRP]https://docs.genesys.com/Documentation/CR/8.5.2/Solution/RecoverRP[/url] is a valid option value...
If I run it without region then I get
[code]
repost_to_sm_from_htcc.py: error: argument -region is required
[/code]
-
Gave up, installed LVR Recovery script, and did in that way. Easier
-
Your comment didn't have region as an option I see now you may have removed a space when replacing with X
If you want to pass a star character you need to escape it.. \* or '*'
Star automatically gets changed to every file in the current directory
Ie "echo *" will echo all your files in that directory
-
Yes, there was an space, I removed it by mistake when doing replace.
According to documentation it should be in that way. Tried as you mention, still same problem.
-
The timestamp format you entered as an argument is wrong - you have to use unix time with miliseconds. In your case, you used just unix time in seconds.
-
Well, yeah, that seems to be, can't test now, but as per the lenght seems to be the one...
Why the **** does Genesys can't stay at a single format? Damn or document it correctly