Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2393502.1
Update Date:2018-05-07
Keywords:

Solution Type  Technical Instruction Sure

Solution  2393502.1 :   HMR To Strip Leading Digit From Sip Invite [Request-URI]  


Related Items
  • Acme Packet 4500
  •  
  • Integrated Software for Acme Packet 3820
  •  
  • Acme Packet 3900
  •  
Related Categories
  • PLA-Support>Sun Systems>CommsGBU>Session Delivery Network>SN-SND: Acme Service Provider
  •  




In this Document
Goal
Solution
References


Created from <SR 3-17346874931>

Applies to:

Integrated Software for Acme Packet 3820 - Version E-Cx6.4.0 and later
Acme Packet 3900 - Version E-Cz7.4.0 and later
Acme Packet 4500 - Version S-Cx6.4.x and later
Information in this document applies to any platform.

Goal

Acme SBC receives the following Invite in the Request-Line

INVITE sip:011567890@1.10.6.30:5060 SIP/2.0

User wants to remove the leading digit from the User-part in the Invite.

The final result should look like:

INVITE sip:11567890@1.10.6.30:5060 SIP/2.0




 

Solution

The following HMR can be used to strip the leading digit from the INVITE



sip-manipulation
  name Strip_First_digit_from_User_part
  description
  split-headers
  join-headers
  header-rule
  name Strip_1st_digit
  header-name Request-URI
  action manipulate
  comparison-type pattern-rule
  msg-type request
  methods INVITE
  match-value
  new-value
  element-rule
  name delete_first_digit
  parameter-name
  type uri-user
  action replace
  match-val-type any
  comparison-type pattern-rule
  match-value ^[0-9](.*)$
  new-value $1

The Regex expression can be tested as below:


Acme_4500(test-pattern-rule)# show
Pattern Rule:
  Expression : ^[0-9](.*)$
  String : 011567890@1.10.6.30:5060
  Matched : TRUE
  Matches:
$0 011567890@1.10.6.30:5060
$1 11567890@1.10.6.30:5060

References

<NOTE:2151748.1> - How do customers engage Consultancy Services for Session Border Controller products ?

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback