All pastes #742267 Raw Edit

Someone

public text v1 · immutable
·published 2007-10-19 11:34 UTC
rendered paste body
failure_route[1]
{

    # Caller busy, something stpid happened, timeout, or canceled, send to voicemail
    if (t_check_status("408") || t_check_status("477") || t_check_status("486") || t_check_status("603")){
    #if (t_check_status("(408)|(480)|(486)|(603)|(477)"))  {
        #route(8);
        rewritehostport("voicemail.mylocal.com:5060");
        t_relay();
        exit;
        };


    xlog("FAILURE\n");
    end_media_session();
}