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@siphub.net <mailto:parallel@siphub.net>
:9");
# append one more URI to the destination ser
append_branch("sip:redirect@siphub.net <mailto:redirect@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