Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This is a simple overview about one aspect of the UIP. The purpose is to transfer some knowledge inside L2 team in order to better handle support cases.
sync
sync
sync
UIP1
audio files links uip.cfg
UIP2
audio files links uip.cfg
UIP3
audio files links uip.cfg
sync_on_start=yes
If "yes", the prompts repository of the UIP will be synchronised when starting UIP (uip start). If "no", only the command "uip sync" will synchronise the prompts repository
directory=/global/IN/UIP/
The path to the prompts repository on the reference platform
remote_cmd=null
The name of a command to be run on the remote machine if, at least, one file was transferred/modified/deleted.
protocol=ssh
The protocol to be used to transfer the files. Possible values are : ssh or rsh.
The UIP media base distinguishes 2 types of clips Synthesis clips and Service clips.
Type announcement
When the line defines an announcement ( 3rd column = announce), the line format is :
announcement_id : language_id : announce : file1 [, file2, file 3,, file 10] ; announcement_id is the announcement number language_id is the language number fileX is either a service clip file name or the star character * meaning that a variable part is expected but also a VXML URL
Synchronization
The purpose is to update audio files on the UIP with the audio files on the referential. The synchronization or media base deployment - is started from the UIP via uip sync while the application is running. To minimize the deployment, the UIP uses a cache to prevent from deploying an already deployed clip.
Full synchronization
To force the deployment of the whole content, a full synchronization can be done
Purge the cache file: >/opt/ESG/resources/AudioTrt.idx Purge the deployed files: /bin/rm -rf $MESSAGES/APP_8
NB: When using MNVO capabilities, you have to remove all directories $MESSAGES/APP_X where X is an operator number.
You will find subdirectory APP_8. For (rare) customers using MVNO, you will find several subdirectories APP_*
There is an example in KA UIP : understand the mapper.cfg and the related trace when a prompt is played
We will find the file itself in the repository, find its Id, then will check it exists on the UIP, on UIP_audio (the same audio file) and on GM_00 (the link pointing to the audio file).
For a complex service, we should calculate (Language Id) x 10000 + (Prompt Id) and convert it in hexadecimal. Prompt Id 2075 -> 0 + 2075 = 2075 -> 081B in hexadecimal
We can see that when the complex service is asked, it is the audio file ar-AE-du-2075 which is played