<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Team,<div><br></div><div>I am working on msilo module for offline message processing. When a message receiver just closed the user agent but the server hasn't updated the "location", the server will try to send the message several times through TCP/TLS and failed with "477". How can we capture this "477" and m_store the offline message? It seems the sample scripts don't handle this scenario. I also tried the following scripts in the route[relay] and the scripts were not executed based on the log. Appreciate your help! Thanks!</div><div><br></div><div><span style="white-space:pre">        </span>if (!t_relay(0x02) ) {<br></div><div><br></div><div><span style="white-space:pre">             </span>if (is_method("MESSAGE")) {</div><div><br></div><div><span style="white-space:pre">                        </span>if (m_store("$ou")) {</div><div><span style="white-space:pre">                               </span>log("MSILO: offline message stored\n");</div><div><span style="white-space:pre">                             </span>send_reply(202, "Accepted"); </div><div><span style="white-space:pre">                      </span> }else{</div><div><span style="white-space:pre">                               </span>log("MSILO: offline message NOT stored\n");</div><div><span style="white-space:pre">                         </span>send_reply(503, "Service Unavailable");</div><div><span style="white-space:pre">                     </span>}</div><div><span style="white-space:pre">                     </span>exit;</div><div><br></div><div><span style="white-space:pre">                </span>}</div></div></div></div>