HMR to convert PAI containing sip and tel URI
Hello,
I receive the following header:
P-ASSERTED-IDENTITY: "test"<sip:test.user@lab.local>,<tel:+123456789;ext=6789>
I need to convert it into:
P-ASSERTED-IDENTITY: <sip:+123456789@$LOCAL_IP;user=phone>
I have to make sure the hmr will be applied only when the received PAI contains both the sip and tel URI.
It seems that I have to handle P-Asserted-Identity[0] and P-Asserted-Identity[1] but I cannot find anywhere how these indexes work...
Thanks!
Alain