[Serdev] Best way to rewrite From header
Java Rockx
javarockx at gmail.com
Sun Jun 19 02:25:10 UTC 2005
Michael,
As far as I know the only "safe" way to alter the From: header is to use the
uac module that is in the unstable CVS head.
Regards,
Paul
On 6/18/05, Michael Shuler <mike at omnilec.com> wrote:
>
> I am working on a dynamic DB routing module for SER (add Asterisk style
> extension routing for SER). I'm almost done with it but I'm having a hard
> time finding a good way to rewrite existing header fields. For example I
> want to rewrite the following:
>
>
> From: Test Box <sip:TestBox at 192.168.0.1>;tag=7e8d325829058e17o1
>
> into
>
> From: Michael Shuler <sip:3096700575 at 192.168.0.1>;tag=7e8d325829058e17o1
>
>
> Is there a function buried somewhere deep in SER that I just haven't found
> yet? I'm basically looking for the equivalent of the do_action() SET_URI_T
> plus another function that will allow the "Test Box" change to "Michael
> Shuler". SET_URI_T seems to only work on the requesting URI and not on any
> of the header fields unless I'm missing something.
>
>
> ----------------------------------------
>
> Michael Shuler, C.E.O.
> OmniLEC And BitWise Communications, Inc.
> 682 High Point Lane
> East Peoria, IL 61611
> OmniNumber: (309) 670-0575
> Fax: (309) 213-3500
> E-Mail: Mike at OmniLEC.com
> Customer Service: (877) 976-0711
>
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.iptel.org/pipermail/serdev/attachments/20050618/4064d366/attachment.htm
More information about the Serdev
mailing list