So, I have a strange problem to solve. We have a customer whose ITSP does not do DID normalisation before passing call to trunk.
ITSP sends DID in SIP To: field in one of following formats:
To: <sip:firstname.lastname@example.org;user=phone> To: <sip:+email@example.com;user=phone> To: <sip:firstname.lastname@example.org;user=phone> To: <tel:+49123456789>
What would be the most elegant solutions to get DID from To: in same context?
Obvious solution - to change an ITSP - is not an option in this case.