Hi Stéphane,
If you search the mailing list you will see that this topic was
discussed already.
Here is the right module to mess with:
http://openser.org/docs/modules/1.2.x/uac.html
For now it can deal only with "From" header.
Hope this helps,
Ovidiu Sas
On 2/21/07, Stéphane Alnet <stephane(a)carrierclass.net> wrote:
Hello,
I am doing interop testing with Level3, and need to be able to rewrite
the To: field in requests to match their requirements. I can fake the
rewrites inside route[], but although the packets sent out look like
they use the new "To:", the header is never parsed again, so the
internal structures of SER still hold the former (incorrect) value.
When a request hit failure_route[] (for example when a CANCEL is sent
when an INVITE times out) the original, incorrect To: header is then
sent (and there's no way to modify the content of the CANCEL from
within failure_route[]).
Is there a standard way to alter the internally-stored value for To:
(and From:, since I'm asking)?
If not, could someone point me to the right place in the code to start
adding this kind of feature?
Thanks,
Stéphane Alnet
--
http://carrierclass.net/
http://www.linkedin.com/in/stephalnet
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users