Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on February 26, 2020, 08:21:47 AM
-
Hi guys,
In GAX I have 4 personalities. For some services I have to provide the audio in 3 languages only so for one personality I don't have a wav file uploaded.
Is there a way in IRD to check if the audio resource is configured on a specific prompt before loop playing every one of them?
What I do is to get the Audio ResourceID from GAX and them build the prompt ID as TenantID+ResourceID+PersonalityID and loop through all four and play them. But for some prompt I have to do it for 3 personalities only. How do I skip the one that is not configured?
Regards,
Mihai
-
Hi Mihai,
There exists no function to check existence of audio resource. It might be possible using GAX Private API for this purpose but this API is not officially supported and may change without any prior notice.
Media Server should ignore missing treatment and continue with next one, so you should be fine using all four treatments. Possible issue - Media Server may raise and alarm about missing audio file, so you would need to handle this in your monitoring platform.
R.
-
You should use ORS and Composer for that. A native HTTP environment. If you get an error like 404 you can do something.
Via IRD you would have to develop some sort of WS to do the job
Enviado de meu SM-N9600 usando o Tapatalk
-
Due to project restrictions I have to do this in IRD. There is no ORS installed.
The problem is that I can see a very short "On Hold" on the customer Skype phone when playing a non existing prompt. If calling from mobile I can here a very short 'tick'. Is there an options maybe on MCP to place call onhold if prompt is missing?
In SIP logs I can see 603 comming from MCP with error "No matching resources for this service type [Service Type: treatment]" and after that SIP sends a re-invite to the customer with "X-Genesys-CallInfo: mohenabled".
If I can disable this hold sent to customer it would be no issue to mask the 603 error in MessageServer for monitoring.
Mihai
-
No... No such option into MCP... Mcp is just a browser... Not a logic engine.
You need to negotiate with your customer, if he wants that, he needs to start going to the HTTP world
Enviado de meu SM-N9600 usando o Tapatalk
-
Hi again,
no we have an issue with this. If one MCP is down and we try to play a prompt that doesn't exists, the only MCP that is still available will be return an error, of course. Because of this error the MCP will be put in [b]X-Genesys-bypass-resource-list[/b] so when trying to play the next prompt the call is dropped because there is no resource to play the prompts anymore. This [b]X-Genesys-bypass-resource-list[/b] header breaks the entire MCP HA when a prompt doesn't exists.
I need to find a way to check from IRD if the prompt exists before trying to play it. Either the Audio resource in GAX, or the file directly on the server. Stupid mechanism to bypass the entire MCP just because it didn't have one prompt...
vma
-
With this...with what exactly?
What have you done?
Again, you are going into a loop with no end by complicating things as far as I can see. You just want an audio control system, not a IRD/MCP task.
All restrictions into a project come with a price that needs to be paid due the restriction the project itself imposes. You can't do magic with old non compatible components