03-02-2020 08:39 AM
Hi,
I'm using CVP as a call director and I've just enabled option to read Call-ID to one of our ECC values which works like a charm.
As a next step I would like to write to SIP header a value of one of Peripheral Variables, ideally at the end of Call-Info part.
I've been using:
concatenate("Call-Info: ID~add~",VariableIAmInterestedIn)
but that unfortunately it is adding 2nd Call-info at the end of the header (which is wrong from many reasons).
How to write a value of a variable and do that at the end of original Call-Info?
I'm trying to pass some CTI data in a SIP header and do that as minimally invasive as possible.
03-02-2020 10:33 AM
Hi Adam,
This is probably what you are looking for, look at ~mod~ option:
Cisco doc reference: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/srnd/10_5/CCVP_BK_C17804D9_00_cisco-unified-customer-voice-portal/CCVP_BK_C17804D9_00_cisco-unified-customer-voice-portal_chapter_01101.html, chapter: Custom SIP Headers
The topic was also discussed on the Cisco forum: https://community.cisco.com/t5/contact-center/cvp-sip-header-display-a-variable/td-p/2328704.
03-03-2020 05:13 AM
Thanks for the links, unfortunately I know them.
I couldn't find a solution, how to update Call-Info with value of a variable. Tried to use:
"Call-Info~mod~"&"Call.PeripheralVariable1"
but that only gives:
com.dynamicsoft.DsLibs.DsSipParser.DsSipParserException: Type = 44/Call-Info - Original String = [Call.PeripheralVariable1] - Maiformed Url Header: Display Name with no URL [id:5006]
Any experiences?
03-03-2020 10:54 AM - edited 03-03-2020 11:12 AM
What I would do is I would try to set the value in the following way:
concatenate("Call-Info~mod~",Call.PeripheralVariable1)
If this doesn't work maybe you can remove the header using ~rem~ and then ~add~ it back again?
03-06-2020 03:28 AM
Try using the substitution option.
concatenate("Call-Info~sub~", original_content_to_match, new_content_to_replace_it)
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