Hi folks,<br><br>I am moving production to SER2 rc 2.0 and can not make @to.tag=="" to work.<br><br>For example, in initial INVITEs:<br><br> # if this is an initial INVITE (without a To-tag) we might try another
<br> # (forwarding or voicemail) target after receiving an error<br> if (method=="INVITE" && @to.tag=="") {<br> xlog("L_ERR","LXLOG: initial INVITE (no Totag) setting FAILURE_ROUTE");
<br> t_on_failure("FAILURE_ROUTE");<br> }<br><br>FAILURE_ROUTE is never called.<br><br>While next check works (in the sense the failure route is processed).<br><br> if (method=="INVITE") {
<br> xlog("L_ERR","LXLOG: INVITE setting FAILURE_ROUTE");<br> t_on_failure("FAILURE_ROUTE");<br> }<br><br><br>So I am wondering whether @to.tag=="" works for empty To tag....can anyone confirm it?
<br><br>Thanks,<br>Samuel.<br>