|
@@ -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);
|
|
|
|