/mcpsip sip-profiles inbound ! voice class tenant <tag> sip-profiles <tag> inbound !
<#root> ! Dial-Peer Application
voice service voip sip sip-profiles inbound ! dial-peer voice <tag> voip voice-class sip profiles <number> inbound !
Example SIP Profile to modify OPTIONS keepalive messages.
! voice class sip-options-keepalive 200 transport tcp tls sip-profiles 299 !
Example SIP Profile to modify Host, Domain, or both portions of a URI.
<#root> ! Host ! voice class sip-profiles 1 request ANY sip-header Contact modify "sip:(.)@" "sip:8675309@" ! ! Domain ! voice class sip-profiles 2 request ANY sip-header Contact modify "10.67.138.241:5060" "cisco.com" ! ! Note: Port is optional ! ! Modify Both User and Host ! voice class sip-profiles 3 request ANY sip-header Contact modify "sip:(.)>" "sip:8675309@cisco.com>"