07-13-2018 10:30 AM - edited 03-14-2019 06:20 PM
We use Pcce for various scripts including an internal service desk.
We capture the CLI onto finesse but also need to capture the caller name which is when I view the cvp logs etc. We can not do a DB look up at the moment as we don't have call studio, is there a call varible that captures this info same as calling line id
Thanks
07-13-2018 12:47 PM
But where do you get the caller name from? From some external database?
If so, you can use DB Lookup node in ICM (Not in CVP Call Studio), and you can just find the caller name by some key (like calling line ID, or if he's pressing his ID in the IVR you can search by it).
Here's a configuration guide that will help you to configure the DB lookup in ICM (also registry keys have to be modified on your Router component):
Or if you currently have a way through some CVP application to make an HTTP request and get a data from it, you can build some web service on your CRM (or whatever it is) side that will return you the customer data and you can just return it to ICM and save in some variable.
07-13-2018 01:23 PM
I'm aware of dbwalker but we are using Pcce which support it nor have we deployed call studio at the moment. As it is internal cucm user dialling our service desk, I can the callers name in the logfiles in cvp, router in pcce so seeing if there is a call variable I can use in the way a callinglineId in an icm script?
07-13-2018 03:32 PM
Oh! So I might have an idea. So you're actually saying those are internal calls from CUCM, so it might show you the caller name in the FROM header in the SIP message.
You can easily grab any SIP header you want from a SIP message and then use its value in the ICM script.
Just go to CVP OPS Console, go to: Device Management -> Unified CVP Call Server -> choose your CVP.
Then go to "SIP" and open the "Advanced configuration", you'll see in the bottom of the page a section named "SIP Header Passing (to ICM)", so just write FROM in the Header Name field and just press "Add", and of course "Save & Deploy".
From this point, the FROM header will be sent to the ICM and will be stored in an ICM variable called:
Call.SIPHeader
All you have to do now is to parse this value using ICM string functions to extract the caller name, as if you don't the value of this variable will be:
From: "Someone Very Cool" <sip:16462128000@10.20.30.40>;tag=1862573~9e3c7f17-9b52-44f3-aa4f-c1f9f55e81da-30383143
Might be very tricky to parse it, but it can be done. And do not forget also to take under consideration situations when you don't have a caller name, otherwise it might break your parsing.
Hope it helped. ;)
07-14-2018 02:12 AM
Thanks for that sip header tip
We route external calls via cubes from Pstn but internally via cti rp so we sip route groups in cvp do would can you "turn on" the sip from option only for certain sip route groups ie only from CUCM?
07-14-2018 11:05 AM
07-13-2018 02:05 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide