cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1539
Views
0
Helpful
4
Replies

CVP adding new SIP Header

adam.kepinski
Level 1
Level 1

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.

4 Replies 4

Hi Adam,

This is probably what you are looking for, look at ~mod~ option:

 

CVP.png

 

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.

Marek https://gaman-gt.com
UCCE, PCCE, UCCX, WxCC, Cisco Finesse, Custom Gadget, CVP, CUIC, CUCM

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?

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?

Marek https://gaman-gt.com
UCCE, PCCE, UCCX, WxCC, Cisco Finesse, Custom Gadget, CVP, CUIC, CUCM

ptindall
Cisco Employee
Cisco Employee

Try using the substitution option.

 

concatenate("Call-Info~sub~", original_content_to_match, new_content_to_replace_it)