[Devel] module UAC

Daniel-Constantin Mierla daniel at voice-system.ro
Sun Sep 10 18:24:57 CEST 2006


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
>



More information about the Devel mailing list