[OpenSIPS-Users] Avoid waiting in opensips.cfg

Muhammad Shahzad Shafi shahzad at voip-demos.com
Fri Jul 11 04:02:33 CEST 2014


 

Its simple, set invite try timer to appropriate value,


http://www.opensips.org/html/docs/modules/1.11.x/tm.html#fr_timeout


then send it to some impossible path, 

sip:$tU at 127.0.0.1:5060 

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. 

Thank you. 

On 2014-07-10 22:17,
Gary Nyquist wrote: 

> Hi, 
> 
> I am looking for some idea for the
following use case: 
> 
> 1. opensips receives initial INVITE from the
caller.
> 2. finds that the callee is not registered.
> 3. sends a
non-SIP message to the callee device to register.
> 4. callee registers
and opensips routes the INVITE to the callee contact uri. 
> 
> The
calle device may take around 10 seconds to register back (after sending
the non-SIP message).
> Obvisously, it is not advisable to wait in the
opensips.cfg for such a long time. 
> Can anyone suggest a smart way to
handle this? 
> 
> Thanks
> -Gary

-- 
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 at hotmail.com
Email:
shaheryarkh at googlemail.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140711/6a58859e/attachment.htm>


More information about the Users mailing list