<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p><span>Its simple, set invite try timer to appropriate value,</span></p>
<p><span>http://www.opensips.org/html/docs/modules/1.11.x/tm.html#fr_timeout</span></p>
<p><span>then send it to some impossible path,</span></p>
<p><span>sip:$tU@127.0.0.1:5060</span></p>
<p><span>after try timer times out, you will get back the original invite in failure route, where you can send it actual destination to send it again to "go-around" trip to impossible destination. Of course while this is happening, you should send fake "180 Ringing" message to caller so s/he won't suffer from dead-air silence.</span></p>
<p> </p>
<p>Thank you.</p>
<p> </p>
<p> </p>
<p>On 2014-07-10 22:17, Gary Nyquist wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="font-family: Verdana; font-size: 12.0px;">
<div style="font-family: Verdana; font-size: 12.0px;">
<div style="font-family: Verdana; font-size: 12.0px;">
<div>Hi,</div>
<div> </div>
<div>
<div>I am looking for some idea for the following use case:</div>
<div> </div>
<div>1. opensips receives initial INVITE from the caller.<br /> 2. finds that the callee is not registered.<br /> 3. sends a non-SIP message to the callee device to register.<br /> 4. callee registers and opensips routes the INVITE to the callee contact uri.</div>
<div> </div>
<div>The calle device may take around 10 seconds to register back (after sending the non-SIP message).<br /> Obvisously, it is not advisable to wait in the opensips.cfg for such a long time.</div>
<div>Can anyone suggest a smart way to handle this?</div>
<div> </div>
</div>
<div>Thanks<br /> -Gary</div>
</div>
</div>
</div>
</blockquote>
<div>
<pre>--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com</pre>
</div>
</body></html>