Hey All,
I've been messing with this URI rewriting all day
yesterday and today and I am still having some problems.
I am able to re-write the request URI okay, but I
can't rewrite the To: and From: fields in the SIP packet. Is
that possible, and if so, how do I do it?
I've tried using the subst function in the textops
module. It doesn't seem to be re-writing all fields though. It still
seems to only affect the request URI and not the To: or From: fields.
Maybe I am doing something wrong?
I have attached my latest ser.cfg file for your
viewing pleasure. :) I am trying to keep all requests that are
between our local registered locations stripped to area code and phone num,
and all requests that are to be relayed to the PSTN gateway need to have a +1
prefix added to them for e164 compatibility.
Any help would be VERY much
appreciated.
Thanks,