Update Realm value within 401 Unauthorized response
Hope you can help me with this. I am working on an HMR which can copy and update the realm "voip.covad.com" within Authenticate header i.e. change the value of realm from "voip.covad.com" to "voip.ims.eng.com". Can we call out WWW-Authenticate header directly ? Can't figure out how the match value should be i.e. how can I capture value of realm within Authenticate header ?
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 11.169.30.11:5060;branch=z9hG4bK25bf7c73a752
From: <sip:5906976213@11.169.30.11>;tag=15847~e363ed00-98ec-4e4b-9f19-e46f07dbb3b8-19147122
To: <sip:11137156306@172.25.16.12>;tag=100331127-1485460072759