I think this can be achieved, though I have not tried it myself yet.
Please try following the steps;
- From the custom button run a handler.
- In the handler, retrieve the ANI for the interaction.
- Use the tool-step "Escape URL" to format the URL correctly, if required
- Run the tool-step "Execure Shell Command" to run say iexplore.exe with the URL as a paramerer, something like "c:\program files\internet explorer\iexplore.exe
https://my-crm/searchbynumber/{{ANI}} "
It will start a new IE sesson.
Hope this helps.
Regards
------------------------------
Vineet Kakroo
FIL Investment Management Ltd
------------------------------
Original Message:
Sent: 11-22-2019 16:50
From: Paul Simpson
Subject: Opening URL with ANI on demand (Custom Button)
I just confirmed, and the ANI is not one of the items that is passed to a local executable started from a client button push. (You can get the Call ID, but not the ANI!!)
You could configure a Web Action, which does provide ANI, but that would then appear for all calls to the queue, not be triggered from a button.
You could do it with ICELib too.
It might be possible to write a Batch file that uses a Custom Event to call a handler, pass the Call ID, return the ANI and then use that to start the browser session?
Unless anyone knows of a way to add to the parameters passed by the Custom Button launch executable....
------------------------------
Paul Simpson
Senior Technical Instructor
Original Message:
Sent: 11-22-2019 10:48
From: Marco Wollschlager
Subject: Opening URL with ANI on demand (Custom Button)
Hi Mark,
thank you for your answer. I know that I can get the ANI from the handler as it provides me the interaction ID. Sadly I also do not know of a way to perform a client action (like a screen pop) from a handler.
I was hoping that there was a "hidden" way to achive this without needing any handler. Maybe somebody knows if I can enter an attribute with a specific syntax in the command field?
------------------------------
Marco Wollschlager
VR Voice GmbH
Original Message:
Sent: 11-22-2019 10:29
From: Mark Tatera
Subject: Opening URL with ANI on demand (Custom Button)
Marco,
You should be able to get at ANI with the custom button push. Have you tried debugging the handler to see what is being passed in. You should see Interaction1 being passed in and simply pulling back different attributes will allow you to get things like ANI and DNIS. I haven't used the custom button to call a handler to then pop a screen however. You may need to look at building a client add-in and then use the button to call the add-in.
Thanks,
------------------------------
Mark Tatera
ConvergeOne
Opinions are my own and not the views of my employer. Any suggestions or programming changes I suggest come with no warranty and should be tried at your own risk. If my comment helped you or solved your problem please consider marking my comment as best answer.
Original Message:
Sent: 11-22-2019 10:03
From: Marco Wollschlager
Subject: Opening URL with ANI on demand (Custom Button)
Hi,
I'm looking for a quite basic feature but so far I haven't found a solution in the discussions.
What I need is a way (preferably a custom button) to open a URL with the ANI of the selected call:
For example: https://my-crm/searchbynumber/{{ANI}}
When looking in the documentation for custom buttons I can see that other parameters can be used but ANI is not one of them. Still, it seems like the most obvious thing that should be part of this.
What we do not want is an action on ringing as the URL should only be opened on demand as it is not mandatory for the call. Other possible solutions would be to start a handler that starts an action but I haven't found a way to do so either.
I would be thankful for any help here.
#Handlers
#SystemAdministration
------------------------------
Marco Wollschläger
VR Voice GmbH
------------------------------