[Devel] module UAC

Thiago Maluf malufrj at gmail.com
Mon Sep 11 14:55:20 CEST 2006


I know but this function is similar to exec_dset but is to from is not to
uri.
I don`t know if to you it`s important but to most people should be.
Best Regards,
Thiago.


2006/9/10, Daniel-Constantin Mierla <daniel at voice-system.ro>:
>
> Hello,
>
> maybe a better approach would be to store the result of executing the
> script in an AVP and from there do what ever one needs. There are
> functions to rewrite ruri/from-uri which accept AVPs as parameters.
>
> Cheers,
> Daniel
>
>
> On 09/09/06 23:17, Thiago Maluf wrote:
> > I and my work`s friends already finnished one new function to module
> UAC.
> > The new function is uac_rewrite_from .
> > It is working same work the function exec_dset however it change the
> > header field FROM not the field uri.
> > For example:
> > you have a script that make a change in user's uri :
> > sip:fone2 at 200.123.45.9 -> sip:fone2 at openser.org
> > or make other change.
> > then you use : uac_rewrite_from(/etc/openser/script $fu);
> >
> > I would like know how I insert this new function in the Openser code.
> > thanks for advanced,
> >
> > Thiago Maluf Resende
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20060911/a52270de/attachment.html


More information about the Devel mailing list