Acme Packet (MOSC)

MOSC Banner

HMR syntax problem with "match-value" entry

edited Jul 17, 2013 8:52AM in Acme Packet (MOSC) 2 commentsAnswered

Hello all,

 

I have an issue on 4500 (SCX6.3.0 MR-4 Patch 1) when adding match-value entry.

 

Example:

 


LAB-SD1(sip-header-rules)# show
header-rule

  • name RemoveDTMFType
  • header-name Content-Type
  • action manipulate
  • comparison-type boolean
  • msg-type any
  • methods 
  • match-value 
  • new-value 

LAB-SD1(sip-header-rules)# match-value "!$CheckFromDomain.$FromDomain & !$CheckToDomain.$ToDomain & !$CheckHTInfo.$HTInfo"
LAB-SD1(sip-header-rules)# done
Invalid match-value: Parsing failed in RuleName.
!$CheckFromDomain.$FromDomain&!$CheckToDomain.$ToDomain&!$CheckHTInfo.$HTInfo
-----------------------------------------------------------------------^
Do you still want to save configuration [y/n]?: y

 

header-rule

  • name RemoveDTMFType
  • header-name Content-Type
  • action manipulate
  • comparison-type boolean
  • msg-type any
  • methods 
  • match-value !$CheckFromDomain.$FromDomain & !$CheckToDomain.$ToDomain & !$CheckHTInfo.$HTInfo
  • new-value 

LAB-SD1(sip-header-rules)#

 

 

 

Even though I have defined  "FromDomain" and "ToDomain" and "HTInfo" store hrules, CLI seems to have a problem with something.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center