Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vendors:cisco:uc:cvp:sip-headers [2018/05/17 19:56] – ↷ Page moved from code:java:vendors:cisco:uc:cvp:sip-headers to vendors:cisco:uc:cvp:sip-headers gerardorourkevendors:cisco:uc:cvp:sip-headers [2025/09/18 17:11] (current) gerardorourke
Line 7: Line 7:
 \\ \\
 The amount of space available to send header data to Unified ICM is limited and is truncated to 255 bytes.\\ The amount of space available to send header data to Unified ICM is limited and is truncated to 255 bytes.\\
 +The amount of space available for SIP headers is **210** bytes.\\
 +
 The SIP protocol RFC provides a function to represent common header field names in an abbreviated form.\\ The SIP protocol RFC provides a function to represent common header field names in an abbreviated form.\\
 The compact header format as defined in [[https://tools.ietf.org/html/rfc3261|RFC 3261]] (and other RFCs for newly defined headers) is used for\\ The compact header format as defined in [[https://tools.ietf.org/html/rfc3261|RFC 3261]] (and other RFCs for newly defined headers) is used for\\
Line 30: Line 32:
  
 Reference:\\ Reference:\\
-http://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#CCVP_RF_U5843FA3_00\\+https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/cvp_12_6/ConfigurationGuideCVP12_6/guide/ccvp_b_1261-configuration-guide-for-cisco-unified-customer-voice-portal/ccvp_m_1252-call-server-configuration.html\\
  
 \\ \\
Line 59: Line 61:
 For a good example how to do this check out the below link\\ For a good example how to do this check out the below link\\
 https://supportforums.cisco.com/discussion/11436406/cvp-custom-sip-header\\ https://supportforums.cisco.com/discussion/11436406/cvp-custom-sip-header\\
 +
 +==== Example of how to get a specific header value ====
 +Below shows you an ICM formula to get the header value for the SIP header "X-CardEasy-CID"
 +This approach works no matter how many sip headers you add (remember there is a lengthy limit)
 +If header is not the end one and there is more than one sip header CVP is getting - it will alwasy end with a '|'
 +But even if its the last one - and there is no pipe - it will then return the value **after("X-CardEasy-CID:",Call.SIPHeader)** - so this works and you just replace **X-CardEasy-CID** with the name of your SIP header.
 +I also recommend you use custom functions in your ICM script to get the SIP header values - in case your formula needs to be changed (but this one shouldn't).
 +
 +<code>
 +before("|",after("X-CardEasy-CID:",Call.SIPHeader))
 +</code>
  • vendors/cisco/uc/cvp/sip-headers.1526583381.txt.gz
  • Last modified: 2018/05/17 19:56
  • by gerardorourke