Thanks Shahzad for the idea...
Will try it and let you know how it works!
 
BR
-Gary
 
Sent: Thursday, July 10, 2014 at 10:02 PM
From: "Muhammad Shahzad Shafi" <[email protected]>
To: [email protected]
Subject: Re: [OpenSIPS-Users] Avoid waiting in opensips.cfg

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:$[email protected]: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: [email protected]
Email: [email protected]
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to