Hey all,
I've implemented re-writing of URI's based on 7 & 10 digit numbers fine in SER but the problem is that our gateway that connects us to the PSTN lines is doing verification on the Record-Route headers. So when I rewrite 5551212 into 12345551212 the INVITE message shows the following and the PSTN gateway returns a 404 not found because it cant forward 5551212 to the PSTN.
INVITE sip:12345551212@1.1.1.4:5060 SIP/2.0. Record-Route: sip:5551212@1.1.1.2;ftag=4b2deae9ab74b4ebo0;lr=on.
Is there anyway to rewrite the Record-Route part of the headers?
-Evan