[Serusers] Help rewriting "To" URI

José Nunes jnunes at av.it.pt
Tue Nov 25 12:36:10 CET 2003


Hello,

I've been working whit SER for a while, and I need to have some way of redirecting Invites dynamicly. The idea is similar to the definition of groups (local,ld,...), only I want to be able to define the redirection address without having to rewrite ser.cfg (and therefor reinitialize SER). 
The part of defining these new groups and addresses was straightforward, after that I tried to build a module that would have a function to do the writing of the "To" URI. The only function I found to alter the destination URI was append_branch. The module compiles without error and SER works normally, except it does not do the redirections that I was hoping.
Are there any other ways of adding/rewriting something to the body of "To" in the SIP message? Or one can only do that in ser.cfg?

Thanks in advance,

José Nunes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20031125/54e51e48/attachment.htm>


More information about the sr-users mailing list