|
@@ -198,7 +198,7 @@ route[FORWARD]
|
|
|
|
|
|
# if this is an initial INVITE (without a To-tag) we might try another
|
|
# if this is an initial INVITE (without a To-tag) we might try another
|
|
# (forwarding or voicemail) target after receiving an error
|
|
# (forwarding or voicemail) target after receiving an error
|
|
- if (method=="INVITE" && @to.tag=="") {
|
|
|
|
|
|
+ if (method=="INVITE" && !@to.tag) {
|
|
t_on_failure("FAILURE_ROUTE");
|
|
t_on_failure("FAILURE_ROUTE");
|
|
}
|
|
}
|
|
|
|
|
|
@@ -230,7 +230,7 @@ route[INIT]
|
|
|
|
|
|
# lets account all initial INVITEs
|
|
# lets account all initial INVITEs
|
|
# further in-dialog requests are accounted by a RR cookie (see below)
|
|
# further in-dialog requests are accounted by a RR cookie (see below)
|
|
- if (method=="INVITE" && @to.tag=="") {
|
|
|
|
|
|
+ if (method=="INVITE" && !@to.tag) {
|
|
setflag(FLAG_ACC);
|
|
setflag(FLAG_ACC);
|
|
}
|
|
}
|
|
}
|
|
}
|