Michal just posted in serdev a bug that might be related to this...I asked if they are related.<br>samuel.<br><br><div><span class="gmail_quote">2007/6/7, Vaclav Kubart <<a href="mailto:vaclav.kubart@iptel.org">vaclav.kubart@iptel.org
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Samuel,<br>I met the same problem, so I'm using now something like:<br>
<br>if ((!@to.tag) || (@to.tag=="")) {<br> ...<br>}<br><br>It seemed to be working this way.<br><br> Vaclav<br><br>On Thu, Jun 07, 2007 at 01:53:43PM +0200, samuel wrote:<br>> 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<br>> 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<br>> confirm it?<br>><br>
> Thanks,<br>> Samuel.<br><br>> _______________________________________________<br>> Serusers mailing list<br>> <a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>> <a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><br></blockquote></div><br>