Klaus Darilion writes:
see bottom of http://www.mail-archive.com/sr-dev@lists.sip-router.org/msg03659.html
ok, klaus had already complained about the error messages. regarding the example:
One way to handle this from the script is first to try t_reply() and only if t_reply() fails, sl_reply_error(). E.g.:
if (!t_relay()) { if (!t_reply("500", "Some error")) sl_reply_error(); }
there is also function send_reply() that is supposed to figure out automatically, what kind of reply to send. so is the above equivalent with this:
if (!t_relay()) { send_reply("500", "Some error"); }
??
-- juha