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?
Is it possible to change the number format for P-Asserted Identity? SM 6.2 with SBC
Collapse
X
-
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",""); } } }
Meridian IT - Senior Engineer
-
Comment