[SR-Users] Re-invites from carrier breaks the call

Alex Balashov abalashov at evaristesys.com
Fri Feb 20 00:26:53 CET 2015


Since timer is Supported: but not Required:, you're almost certainly 
safe to simply remove it in Kamailio, even though, of course, strictly 
speaking, that is not RFC 3261-compliant proxy behaviour.

As a simple test, try:

    request_route {
       ...

       # Handle initial INVITE.

       t_on_reply("MAIN_REPLY");

       if(!t_relay())
          sl_reply_error();
    }

    onreply_route[MAIN_REPLY] {
       if(t_check_status("200")) {
          if_is_present_hf("Supported"))
             remove_hf("Supported");
       }
    }

This can be fine-tuned later to remove only the 'timer' element 
specifically.

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States

Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list