[Users] how to configure SIP OpenSer redirect server

Ajay Srivastava ASrivastava at ixiacom.com
Wed Nov 30 15:00:53 CET 2005


Hi,

I made changes in openser.cfg like this to act it as a SIP redirect server:

 

route{
        # for testing purposes, simply okay all REGISTERs
        if (method=="REGISTER") {
               log("REGISTER");
               sl_send_reply("200", "ok");
               return;
        };
        # rewrite current URI, which is always part of destination ser
        rewriteuri("sip:parallel at siphub.net <mailto:parallel at siphub.net>
:9");
        # append one more URI to the destination ser
        append_branch("sip:redirect at siphub.net <mailto:redirect at siphub.net>
:9");
        # redirect now
        sl_send_reply("300", "Redirect");
}

 

 then restarted openser, but still not getting redirect messages, should I
need to do something more for enabling this option? Please help me and tell
me that how can I run my redirect server for SIP.

Regards,

ajay

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051130/6a19ba6f/attachment.htm>


More information about the sr-users mailing list