Hi @all, 

we are having trouble with 302 after a 'ebr - push' like in [1]: 

The fireing the INVITE after the REGISTER works fine, but if the client 
responds back with 
a "302 Moved Temporarily" this is hold back by the opensips until 
fr_inv_timeout is expired.
Any clues / hints on this? 

The (simplified) part of the script: 

route[do_push] {
        
        $T_fr_inv_timeout = 60;
        
        t_newtran();
        setflag(PUSH);
        t_on_branch("branch_tosbc");
        t_on_failure("zfail");

        t_wait_for_new_branches();

        $avp(filter) = "aor="+$(rU{s.tolower});
        
        notify_on_event("E_UL_CONTACT_INSERT","$avp(filter)", "fork_call", 
"62"); 
        
        xlog("L_INFO", "PUSH_REQUEST : INVITE : $tU : $ci\n");
        
        exit;
} 

route[fork_call] {

        xlog("user $avp(aor) registered a new contact $avp(uri), injecting\n");

        t_inject_branches("event");

}


Thanks,

Fabian 

[1] https://opensips.org/docs/modules/2.4.x/event_routing.html#idp5579792

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to