question about customizing GAD

Hi all!

Can anybody help me done next stupid task:

At we moment of call ariving to operator desktop we mast pop-up external browser window (IE if it’s impotant) with custom URL like this: http:\server.local\customapp?ANI=xxxyyyzzz , where ANI it’s a current interaction ANI number ?

May be i can inject same Java script in GAD(genesys agent desktop) for this? Or samething?

Hi Timur,

There are two way how you can achieve your request:

  1. Adding new tab and open your web page in that tab
  2. Opening new window (pop-up) when an interaction arrives on agent desktop

You can find examples of both way in “Genesys Desktop 7.5 Developer’s Guide” in the chapter “Customization Examples”.

R.

w1uw4T dfv814t4fdfvmlfn093fvgbos

The strategy ANI doing as attachenye data. In jsp write the following code:

<%
com.genesyslab.ail.AilFactory factory = com.genesyslab.ail.AilLoader.getAilFactory();
com.genesyslab.ail.Interaction interaction = factory.getInteraction((String) request.getParameter(“idInteraction”));
String ani = new String();
if (interaction instanceof com.genesyslab.ail.InteractionVoiceOutbound) {
ani = ((com.genesyslab.ail.InteractionVoiceOutbound)interaction).getActiveRecord().getPhone();
} else {
ani = interaction.getAttachedData(“ANI”);
}
%>

Hi

fanx for advice, but i get everytime one value ani=“null”. but if i try this
ani= (String)interaction.getDn().getInteractions()

i have value like this “[Phonecall-1002-0072019554ae903a (null) ; Status = Ringing ; Done = false ; Notepad = null ; Dn = 1002@srv-sip01 ; TcId = 0072019554ae903a ; parties are [1000] ; ANI = 1000 ; DNIS = 1002]”

This happens even in case of attempt to commit ANI from AttachedData?

Yes, everytime call “ani = interaction.getAttachedData(“ANI”);” make ani value equal to null

Whether the data is attached to the strategy?
Present “ANI” in the log file?

Слышь? Может по Русски, а?

1 Like

мда =)))
вобщем в один и тотже момент если вызвать
ani= interaction.getAttachedData(“ANI”);
то в результате nul
а если так
ani=interaction.getDn().getInteractions()
то в результате получаем строку “[Phonecall-1002-0072019554ae903a (null) ; Status = Ringing ; Done = false ; Notepad = null ; Dn = 1002@srv-sip01 ; TcId = 0072019554ae903a ; parties are [1000] ; ANI = 1000 ; DNIS = 1002]”

собственно что я пытаюсь сделать, так это вызвать новое окно где в URL нужно передать ANI, DNIS, TcID

P.S.надеюсь колеги необидятся за не английский =)

1 Like

Can you post in english? The idea of the forum is to share…not all here speaks Russian…

Sorry about it. jast try fast found a solution.
in prevision post i’m answer to Pioneer question that my different value evolved from same atached data.

Русские не обидятся :slight_smile:

String idInteraction = (String)request.getParameter( “idInteraction” );
AilFactory factory = AilLoader.getAilFactory();
Interaction interaction = factory.getInteraction( idInteraction );
String ani = ((com.genesyslab.ail.InteractionVoice) interaction).getANI();

See my next post. For DNIS use getDNIS()
What is TcID?

1 Like

Yes! all works ok. fanx very much =)

p.s. how u think we take the gold on EURO ? =)))

1 Like

Injoy. But still the surest way more so with incoming calls to determine ANI. A further use of ANI from AttachedData. A call can be transferred, ANI may vary.

Gold will be our!

1 Like

how can i get the TcId? getTcId doesn’t works. help me please.

выручайте