>>>>> "JS" == Jack Smith <[email protected]> writes:
JS> I would like to try only a redirect server. I had a look at JS> http://sourceforge.net/p/openser/code/HEAD/tree/trunk/examples/redirect.cfg JS> which was friendly, but then the default file kamailio.cfg looked JS> frightening ! The idea is to use that redirect.cfg *as* your kamailio.cfg. You might want to change it to give an error on REGISTER instead of OKing them. And you need to change the uri in the append_branch() call to the server to which you want to redirect, and edit or remove the rewriteuri() call. But the general concept of loading sl.so and calling append_branch() and sl_send_reply() in route{} is most of what you need to know. See: http://www.kamailio.org/wiki/cookbooks/4.1.x/core#append_branch http://www.kamailio.org/docs/modules/4.1.x/modules/sl.html for details on append_branch() and sl_send_reply(). -JimC -- James Cloos <[email protected]> OpenPGP: 0x997A9F17ED7DAEA6 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
