On Tue, Aug 16, 2016 at 02:50:19AM +0300, jaflong jaflong wrote:
> I have kamailio as a redirect server. It responds with 302 to invites.
> The problem I am having is it continues to send the 302 multiple times.
> How can i get it to stop sending once it gets the first ACK

That should just work (tm).

What is the config for you redirector?

Essentially it is the "default" kamailio config with a 
send_reply("302", "Redirect");

request_route {

        # per request initial checks
        route(REQINIT);

        force_rport();

        # CANCEL processing
        if (is_method("CANCEL"))
        {
                if (t_check_trans()) {
                        route(RELAY);
                }
                exit;
        }

        # handle requests within SIP dialogs
        route(WITHINDLG);

        ### only initial requests (no To tag)

        t_check_trans();

        $rd="somewhere.else";

        send_reply("302", "Redirect");
        exit;
}

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to