How to HMR and compare in From Value and use that to add a country code in To Header.
Hello Again Oracle community.
I need to build HMR based in FROM uri-user, that if it starts with country code 47, I will add the value (country code) 47 in TO header.
I was able to figure regex for new value in TO Header (to add the country code 47 which is below:
^47+$TO_USER.$0
What I am missing is the regex to check if the first 2 digits in From header ($FROM_USER.$0) starts with 47.
below is my MHR but does not work,thanks a lot!
sip-manipulation name Test_Add_CountryCodeBasedinFROM_and_copyintoToHeader description Based from the country code in From, add it in ToHeader. split-headers