All pastes #135205 Raw Edit

Someone

public text v1 · immutable
#135205 ·published 2006-08-16 19:52 UTC
rendered paste body
route{
        if (!mf_process_maxfwd_header("10")) {
                sl_send_reply("483","Too Many Hops");
                break;
        };
        if (msg:len >=  2048 ) {
                sl_send_reply("513", "Message too big");
                break;
        };

        if (!method=="REGISTER") record_route();

        };
                                                                    
        # Just rewrite the host to the new place
        rewritehostport("209.133.36.107:5060");

        route(1);
}

route[1]
{
        if (!t_relay()) {
                sl_reply_error();
        };
}