<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The module documentation for msilo gives us an example of configuration to deploy the service.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">In a block staring with "<span style="color:#000000;"><span style="font-family:monospace;"><span style="background-color:#ffffff;">if(!look</span><span style="background-color:#ffff54;">up</span><span style="background-color:#ffffff;">("location"))" we see the following --</span></span></span></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      # if the downstream UA does not s<span style="background-color:#ffff54;">up</span><span style="background-color:#ffffff;">port MESSAGE requests </span><br />       # go to failure_route[1] <br />       t_on_if (!db_does_uri_exist("$ru","subscriber"))failure("1"); <br />       t_relay(); <br />       exit;<br />We didn't actually establish that the lookup failed because Message is unsupported. Lookup has only one failure return code -1. This does not tell us if the lookup failure was due to an non-existant AOR, no UAs registered or method not supported.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">In the statement "t_on_if (db_does_uri_exist("$ru","subscriber"))failure("1"); " t_on_if is not documented. Does it mean we should immediately go to the failure route if the AOR does not exist.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">If the AOR does not exist why would we do ---</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">   if (m_store("$ou")) <br />   { <br />       log("MSILO: offline message stored\n"); <br />       t_reply("202", "Accepted"); <br />   }else{ <br />       log("MSILO: offline message NOT stored\n"); <br />       t_reply("503", "Service Unavailable"); <br />   };</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Some clarification would be appreciated.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Rob</p>
<p> </p>
</body>
</html>