Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: hsujdik on September 14, 2019, 02:06:31 AM
-
Hi all,
Does anyone know how to instruct ORS to request URS to specify the AttributeExtensions on a RequestRouteCall message sent to SIP Server by a strategy built on Composer, when the Target block has the property Session\Detach set to false on that block?
I know that we can set the Orchestration\Hints property on that block, but it doesn't seem to work properly when Detach is false... the generated SCXML lacks the <ixn:redirect> tag which carries the Hints attribute in that scenario.
I tried upgrading to the latest version of Composer and still it didn't work.
Thanks in advance.
Best regards,
HDS
-
setTranslationOverride probably.
-
Hi terry. Thank you so much for the quick reply. How does it fit in this scenario?
I’m actually interested in including some AttributeExtensions in the RequestRouteCall in order to provide a custom agent-greeting value.
It works fine when the Target block of the Composer strategy has the property Detach=true. When I have it set to false (and I need it for some custom reporting reasons), it stops working.
Should I specify a dummy origination and destination DN with the setTranslationOverride?
-
Origination is ignored by URS.
As destination specify string [DN]
You probably can look in URS docs for Number Translation.
-
Hi,
I would like to do the same as you guy I would like update agent-greeting in composer so can you suggest me how to do it.
As your message before you set in target block and Orchestration/Hints ?? and how to update it?
Regards,
Lekie
-
[quote author=Lekie_ok link=topic=11435.msg52120#msg52120 date=1568617189]
Hi,
I would like to do the same as you guy I would like update agent-greeting in composer so can you suggest me how to do it.
As your message before you set in target block and Orchestration/Hints ?? and how to update it?
Regards,
Lekie
[/quote]
Hi, Lekie.
First of all, you have to create a variable and assign an object with the AttributeExtensions that you want to set. For example:
var_hints = {'extensions': {'agent-greeting': "audio/someaudio.wav", 'customer-greeting': "audio/anotheraudio.wav"}};
Then, on the Target block, you specify that variable (in the example var_hints) as the value of the property Hints.
This works fine if the property Session/Detach is set to true (default). My question here is how to make it work when the Detach is set to false. If you find out, please let me know
-
[quote author=terry link=topic=11435.msg52115#msg52115 date=1568505615]
Origination is ignored by URS.
As destination specify string [DN]
You probably can look in URS docs for Number Translation.
[/quote]
Hi, terry,
Thank you for the reply. Unfortunately, this is not what I am looking for :(
I'm trying to change other parameters of the Request sent by URS
-
SetTransaltionOverride['', '[DN]', '', 0, '', '', 'agent-greeting:audio/someaudio.wav|customer-greeting:audio/anotheraudio.wav']
-
var_RouteHint = {extensions:{'agent-greeting':'/announcement/bell','customer-greeting':''}}
it's working you can try to use this one
-
[quote author=Lekie_ok link=topic=11435.msg52127#msg52127 date=1568701975]
var_RouteHint = {extensions:{'agent-greeting':'/announcement/bell','customer-greeting':''}}
it's working you can try to use this one
[/quote]
Hi Leike. Thanks. That is the way I use when the Detach is set to true... I'll test terry's suggestion to see if it works through Composer instead of IRD in this particular scenario
-
Thank you terry. ORS telling URS to execute the Translation Override actually worked in that scenario. I'm going to check if the multi-site everything keeps working but on a single site it works perfectly. The function in Composer is very similar to IRD:
[code]
_genesys.queue.translationOverride(system.InteractionID, '', '[DN]', '', 0, '', '', 'agent-greeting:music/greeting.wav|customer-greeting:music/silence.wav');
[/code]