Skip to content

Commit

Permalink
kamailio.cfg: handle retransmissions also for request within dialog
Browse files Browse the repository at this point in the history
- skip ACK, it is not a standard transaction by itself

(cherry picked from commit 868f999)
  • Loading branch information
miconda committed Apr 6, 2017
1 parent cbff0e8 commit a5e3a88
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions etc/kamailio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -470,18 +470,20 @@ request_route {
exit;
}

# handle retransmissions
if (!is_method("ACK")) {
if(t_precheck_trans()) {
t_check_trans();
exit;
}
t_check_trans();
}

# handle requests within SIP dialogs
route(WITHINDLG);

### only initial requests (no To tag)

# handle retransmissions
if(t_precheck_trans()) {
t_check_trans();
exit;
}
t_check_trans();

# authentication
route(AUTH);

Expand Down

0 comments on commit a5e3a88

Please sign in to comment.