Maybe using a timer route is the solution? Save 183 time in cache and check if 200 ok is received within desired period, otherwise send reinvite...
On Tue, Apr 9, 2024, 4:48 PM Ben Newlin <[email protected]> wrote: > You’re right, that timer would drop the call. Not sure why I was thinking > that would work. Sorry! > > > > Ben Newlin > > > > *From: *Parthesh Bhavsar <[email protected]> > *Date: *Tuesday, April 9, 2024 at 10:35 AM > *To: *Ben Newlin <[email protected]> > *Cc: *OpenSIPS users mailling list <[email protected]> > *Subject: *Re: [OpenSIPS-Users] Waiting for 200 OK > > * EXTERNAL EMAIL - Please use caution with links and attachments * > > > ------------------------------ > > It seems after setting T_fr_timeout parameter it was sending a CANCEL > request to another leg but for my requirement I need to send Reinvite. Also > for generating Reinvite I have used dlg_send_sequential() as I use > opensips as a proxy server. Any other modules on which I look for? > > > > Regards, > > *Parthesh Bhavsar | Software Engineer | VOIP* > > > > > > On Tue, Apr 9, 2024 at 7:36 PM Ben Newlin <[email protected]> wrote: > > The timing requirement can be solved using the $T_fr_timeout parameter [1]. > > > > For sending a re-Invite back to the UAC I believe you’d have to be a B2BUA. > > > > [1] - https://opensips.org/docs/modules/3.4.x/tm.html#pv_T_fr_timeout > > > > Ben Newlin > > > > *From: *Users <[email protected]> on behalf of Parthesh > Bhavsar via Users <[email protected]> > *Date: *Tuesday, April 9, 2024 at 5:31 AM > *To: *OpenSIPS users mailling list <[email protected]> > *Subject: *[OpenSIPS-Users] Waiting for 200 OK > > * EXTERNAL EMAIL - Please use caution with links and attachments * > > > ------------------------------ > > Hello, > > I have a requirement where If I get 183 responses then I need to wait for > a specific period of time for 200 OK and if 200 OK is not received in that > time then I need to send Reinvte back to UA with some modifications. I have > gone through the SST module but have not found anything relevant to match > my requirements. Can anyone suggest some module or function on which I can > go further to meet my requirements. > > > Regards, > > *Parthesh Bhavsar | Software Engineer | VOIP* > > > > > > * <https://www.ecosmob.com/opensips-summit>* > > *Disclaimer* > > In addition to generic Disclaimer which you have agreed on our website, > any views or opinions presented in this email are solely those of the > originator and do not necessarily represent those of the Company or its > sister concerns. Any liability (in negligence, contract or otherwise) > arising from any third party taking any action, or refraining from taking > any action on the basis of any of the information contained in this email > is hereby excluded. > > > > *Confidentiality* > > This communication (including any attachment/s) is intended only for the > use of the addressee(s) and contains information that is PRIVILEGED AND > CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying > of this communication is prohibited. Please inform originator if you have > received it in error. > > > > *Caution for viruses, malware etc.* > > This communication, including any attachments, may not be free of viruses, > trojans, similar or new contaminants/malware, interceptions or > interference, and may not be compatible with your systems. You shall carry > out virus/malware scanning on your own before opening any attachment to > this e-mail. The sender of this e-mail and Company including its sister > concerns shall not be liable for any damage that may incur to you as a > result of viruses, incompleteness of this message, a delay in receipt of > this message or any other computer problems. > > > > * <https://www.ecosmob.com/opensips-summit/>* > > *Disclaimer* > > In addition to generic Disclaimer which you have agreed on our website, > any views or opinions presented in this email are solely those of the > originator and do not necessarily represent those of the Company or its > sister concerns. Any liability (in negligence, contract or otherwise) > arising from any third party taking any action, or refraining from taking > any action on the basis of any of the information contained in this email > is hereby excluded. > > > > *Confidentiality* > > This communication (including any attachment/s) is intended only for the > use of the addressee(s) and contains information that is PRIVILEGED AND > CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying > of this communication is prohibited. Please inform originator if you have > received it in error. > > > > *Caution for viruses, malware etc.* > > This communication, including any attachments, may not be free of viruses, > trojans, similar or new contaminants/malware, interceptions or > interference, and may not be compatible with your systems. You shall carry > out virus/malware scanning on your own before opening any attachment to > this e-mail. The sender of this e-mail and Company including its sister > concerns shall not be liable for any damage that may incur to you as a > result of viruses, incompleteness of this message, a delay in receipt of > this message or any other computer problems. > _______________________________________________ > 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
