Avaya Support Forums  

Go Back   Avaya Support Forums > Avaya Aura & Unified Communications

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-11-2017, 07:12 AM
mrozsits mrozsits is offline
Aspiring Member
.
 
Join Date: Oct 2015
Posts: 2
mrozsits has 10 reputation points
Exclamation Is it possible to change the number format for P-Asserted Identity? SM 6.2 with SBC

Headers - is it possible the “from” information to remain in E.164 format (+44 xxxxxxxx) but the P-Asserted format to be national number – eg 01482 xxxxxxx. Can this be done via Adaptations on SMGR or this can be set up only on the SBC?
Reply With Quote
  #2  
Old 02-22-2017, 09:14 AM
mlombardi1's Avatar
mlombardi1 mlombardi1 is offline
Legend
 
Join Date: Sep 2010
Location: New York
Posts: 406
mlombardi1 has 25 to 49 reputation pointsmlombardi1 has 25 to 49 reputation pointsmlombardi1 has 25 to 49 reputation points
Default

SM can change 'origination' headers but it will not treat the From and P-Asserted-Identity independently. Use SigMa in the SBC-E to manipulate just the P-Asserted-Identity header.

Code:
within session "ALL"
      {
      act on message where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
          {
          if (%HEADERS["P-Asserted-Identity"][1].URI.USER.regex_match("^+44")) then
              {
              %HEADERS["P-Asserted-Identity"][1].URI.USER.regex_replace("^+44","");
              }
          }
      }
I didn't try to parse this so it may need some tweaking, but you get the idea.
Reply With Quote
  #3  
Old 03-14-2017, 07:04 AM
mrozsits mrozsits is offline
Aspiring Member
.
 
Join Date: Oct 2015
Posts: 2
mrozsits has 10 reputation points
Default

mlombardi1, thank you a lot for the provided answer! I get the idea now.
Reply With Quote
Reply

Tags
session border controller, session manager

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:47 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.