[OpenSIPS-Users] redirection

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Mon Apr 14 11:06:10 CEST 2014


Hi im currently trying to use opensips to redirect calls to fixed
locations, how do i rewrite the TO-part of the sip header. im trying to
use

rewriteuri("sip:61433021 at voip.mycompany.com")

what do i use to make sure this is used as the TO in the sip header.

i tried to use

sl_send_reply("302","redirected")

but this result in the rewritten uri being saved in the contact part of the
header, and this is not what i want.

any help would be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140414/89dfba3c/attachment.htm>


More information about the Users mailing list