" /> Repeating Same IVR Profile - Genesys CTI User Forum

Author Topic: Repeating Same IVR Profile  (Read 3608 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Repeating Same IVR Profile
« on: October 18, 2018, 04:53:50 AM »
Advertisement
Hi,

I am facing an issue where same IVR is keep playing even I transfer to different IVR. Below is the scenario.

1. I dial call to IVR01 (12345678) having IVR profile name 'IVR01_OldIVR'.
2. From IVR01, I transfer call to an agent.
3. From Agent Desktop (Not WDE/IWS, Its custom phone), Agent transfer call to route point 50004 where routing strategy has loaded
4. In routing strategy we are DOING TRoute to other IVR DID/RP (IVR02). [u][i]Note: Note: The DID is created with same name with RP, and as per Genesys design .. RP get the preference where in strategy we are targeting GVP Place group having Voice Treatment Port DN and as RP is with same name as DID, The IVR profile reference got.[/i][/u]
4. When routing transfer to DID/RP, 'IVR01' is playing instead of 'IVR02'.

From SIP logs, I see that GVP-Session-Data keep having the IVR01 profile name and not updating IVR Profile after transfer to IVR02.


Any idea which option can help to update GVP-Session-Data  ?

Offline vmc

  • Full Member
  • ***
  • Posts: 112
  • Karma: 0
Re: Repeating Same IVR Profile
« Reply #1 on: October 18, 2018, 07:11:35 AM »
Try looking at sip-header-for-dnis option for RM

Sent from my Redmi Note 3 using Tapatalk


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #2 on: October 18, 2018, 07:32:55 AM »
The value is request-uri

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #3 on: October 18, 2018, 07:51:06 AM »
I can see that CTI Connector have value 'copy-originatingleg-headers=X-Genesys-GVP-Session-Data', and description in document is 'The CTI Connector shall copy all headers matching the configured list of prefixes on to other call legs towards MCP and agent'.

Can this option cause GVP-SESSION-DATA not to update ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Repeating Same IVR Profile
« Reply #4 on: October 18, 2018, 11:38:49 AM »
At RM check why it is choosing that IVR Profile/DID. Can you post logs for both calls?

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #5 on: October 19, 2018, 07:13:39 AM »
RM is sending INVITE to CTI Connector and when CTI Connector ask call info data from IVR Server then IVR Server passing the old DNIS to CTI Connector and CTI Connector pass DNIS info to RM where RM selecting the IVR Profile as per DNIS.

DNIS remain same through out the call unless I update DNIS so CTI Connector will have update DNIS when transfer to different IVR.

I've tried to use RouteTypeOverwriteDNIS  in my TROUTE function where i am calling different IVR DID but it give Event error in SIP Server
« Last Edit: October 19, 2018, 08:25:57 AM by raza990 »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Repeating Same IVR Profile
« Reply #6 on: October 19, 2018, 10:13:51 AM »
What is value of option "use-cti" on LRGP of type Gateway?

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #7 on: October 19, 2018, 10:41:35 AM »
@Kubig, CTI Usage is Always ON

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #8 on: October 19, 2018, 10:44:34 AM »
What I've read in documentations that AttributeDNIS can't be update as its a read-only parameter.

However,  from documentation 'Voice Platform Solution 8.1 Integration Guide' I found that you can instruct CTI Connector to use script ID from URS to use as DNIS. Below is the steps to do it.


[b][i]If your switch cannot supply the DNIS for the incoming call, you
must configure CTI Connector to fetch the script ID from URS.
CTI Connector uses the value of this key as the DNIS in the
INVITE to Resource Manager for IVR Profile selection:
1. In URS, define the key-value pair for the script ID:
 Key—Define the key name that you will match in the CTI
Connector application. The default is scriptidkeyname.
 Value—Define the value that matches the DNIS used to
select the desired IVR Profile in Resource Manager.
2. In the CTI Connector Application object, set the following
options in the IVRSC section:
 Fetch Script ID from URS—Enter 1 to enable CTI
Connector to fetch the defined key from URS.
 Script Id Key Name—Enter the key name as defined in
URS. CTI Connector sends this key to retrieve the value for
the script ID.[/i][/b]

Anyone tried this ?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Repeating Same IVR Profile
« Reply #9 on: October 19, 2018, 11:07:00 AM »
You can achieve that by following:

- Reconfigure RM option "sip-header-for-dnis" to history-info
- within routing strategy set/fill the SIP header history-info with value in format RP@SIP_ADDRESS and attach it via TLib to SIP message

BTW: Genesys SIP Server does not support DNISOverwrite.

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #10 on: October 19, 2018, 11:49:11 AM »
Thanks Kubig. I will test this.

One dumb question .. which function I should use to update SIP Header ? Any function name ?

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Repeating Same IVR Profile
« Reply #11 on: October 19, 2018, 12:11:31 PM »
Btw,history-info wont help as CTI connector have option [b]GetDNISFromIServer[/b] and value is 'true'. As per below description, CTI Connector get DNIS from history-info only when GetDNISFromIServer configured as 'false'. I can't make it false as other IVR using this design.


GetDNISFromIServer
Default Value: False
Valid Values: True, False
Display Name in Genesys Administrator: Fetch DNIS from IServer
Changes Take Effect: After restart
Specifies whether CTI Connector needs to get the DNIS value that is required
to map an IVR Profile from the IVR Server. Set this option to true only for
integration with IVR Server in Behind mode—required for TDM integrations,
optional for carrier-connected (if CTI flagging is disabled). For other IVR
Server mode integrations, leave this option set to the default false, so that CTI
Connector obtains the DNIS from the history-info or to header of the INVITE
message (the default behavior).

I think if I use 'Fetch Script ID' solution that will work as CTI Connector check UData by 'Fetch Script ID' and if not found data then send sendCallInfoReqtoIServer to get Call data from IVR Server.

I am attaching the DNIS in script name variable (that define in CTI Connector) but still CTI Connector show  User Data for (Fetch Script ID Key-value) is empty!!!!!  ???

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Repeating Same IVR Profile
« Reply #12 on: October 19, 2018, 12:14:14 PM »
For me it works via using history-info as the source for selecting IVR profile to be executed

Marked as best answer by raza990 on October 20, 2018, 09:51:18 PM

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
[SOLVED] Re: Repeating Same IVR Profile
« Reply #13 on: October 20, 2018, 08:14:29 AM »
Hi All,

I have followed the  below, and it fixed the issue.

If your switch cannot supply the DNIS for the incoming call, you
must configure CTI Connector to fetch the script ID from URS.
CTI Connector uses the value of this key as the DNIS in the
INVITE to Resource Manager for IVR Profile selection:
1. In URS, define the key-value pair for the script ID:
 Key—Define the key name that you will match in the CTI
Connector application. The default is scriptidkeyname.
 Value—Define the value that matches the DNIS used to
select the desired IVR Profile in Resource Manager.
2. In the CTI Connector Application object, set the following
options in the IVRSC section:
 Fetch Script ID from URS—Enter 1 to enable CTI
Connector to fetch the defined key from URS.
 Script Id Key Name—Enter the key name as defined in
URS. CTI Connector sends this key to retrieve the value for
the script ID.


Now CTI Connector considering Script Id as DNIS to send info to RM for IVR selection  :)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Repeating Same IVR Profile
« Reply #14 on: October 20, 2018, 04:37:13 PM »
Thanks for sharing

Enviado de meu E6633 usando o Tapatalk