![]() ![]() |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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?
|
#2
|
||||
|
||||
![]()
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",""); } } } |
#3
|
|||
|
|||
![]()
mlombardi1, thank you a lot for the provided answer! I get the idea now.
|
![]() |
Tags |
session border controller, session manager |
Thread Tools | Search this Thread |
Display Modes | |
|
|