We have the following scenario:
SE1000 with firmware version V300R002C30SPC200, the end user wants to add a number change policy to remove the +61 prefix from all outbound calls.
The following HRM script was provided in order to meet the customer's requirement:
MOD MEPARA: HMRPLC=Y;
ADD HMRREQPLC: PLCYNAME="reqplc_from_61", METT=INVITE-1, RSETID="rid_from_61";
ADD HMRHDRRL: HRLNAME="hdrrl_from_61", PRIORITY=1, HRSETID="rid_from_61", HNST=USER-DEFINED, MTHC1=Y, MHT1=FROM, MHPREG1="(sip:)(\\+61)(.*)(@)(.*)", HST=REPLACE, HPREP="/1 + 0 + /3 + /4 + /5";
ADD HMRPLCSET: PLCSETNAME="plcset_from_61", PRIORITY=1, PSETID="opsetid_from_61", MSGT=REQMSG, REQPLCNAME="reqplc_from_61", AUTODIALOG=N;
MOD ISIPTG: TGNAME="SIP_TRUNK", LINKINFO=UDP, OPSETID="opsetid_from_61";
This change was added at the header level in the from field so the service provider can accept the calls.