Re: [OpenSIPS-Users] PRACK response to 183 without SDP
That's exactly what I suggest! If you remove 100rel from INVITE, the SIP provider should send a regular 183, not a 183 with 100rel. Then you can safely drop the 183 without SDP. -ovidiu On Mon, Jan 18, 2021 at 5:08 PM solarmon wrote: > > The call flow is that we (our system) are the caller - we send the first > INVITE. The SIP provider is responding back with 183s because they want to > initiate early media. > > Are you suggesting that we remove 100rel from our INVITE that we send out to > the SIP provider? > > On Mon, 18 Jan 2021 at 21:54, Ovidiu Sas wrote: >> >> 100rel in the initial INVITE means that the caller has support for it, if >> requested by the caller. If not present in INVITE, the caller should not >> send provisional replies with 100rel. >> >> -ovidiu >> >> On Mon, Jan 18, 2021 at 15:13 solarmon wrote: >>> >>> H Ovidiu >>> >>> We do not want our system to change to a 'ringing' state, which would >>> happen if it receives 180. We would like to drop the first 183 (without >>> SDP) but reply back with an PRACK (since 100rel was sent) and let the >>> subsequent 183 (with SDP) through. This is just a quirk in our system that >>> we are looking to find a workaround for. >>> >>> I don't think removing 100rel from the INVITE would work? The sender of the >>> INVITE has put in 100rel and is expecting a PRACK, so us removing it does >>> not change this expectation? >>> >>> Thank you. >>> >>> On Mon, 18 Jan 2021 at 19:03, Ovidiu Sas wrote: You can change the 183 into an 180 and let the prack take its course. Alternatively, you can remove 100rel from the initial INVITE and drop the 183 without SDP. -ovidiu On Mon, Jan 18, 2021 at 11:05 solarmon wrote: > > Hi,, > > I have a requirement to stop 183 without SDP packets from being passed, > as well as having to reply back with a PRACK. > > I can stop the 183 without SDP from being passed on with the following in > onreply_route[] > > if ($rs == "183" && !has_body_part("application/sdp")) { > drop(); > exit; > } > > However, how do I reply back with a PRACK? > > Thank you. > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> -- >> VoIP Embedded, Inc. >> http://www.voipembedded.com >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
The call flow is that we (our system) are the caller - we send the first INVITE. The SIP provider is responding back with 183s because they want to initiate early media. Are you suggesting that we remove 100rel from our INVITE that we send out to the SIP provider? On Mon, 18 Jan 2021 at 21:54, Ovidiu Sas wrote: > 100rel in the initial INVITE means that the caller has support for it, if > requested by the caller. If not present in INVITE, the caller should not > send provisional replies with 100rel. > > -ovidiu > > On Mon, Jan 18, 2021 at 15:13 solarmon wrote: > >> H Ovidiu >> >> We do not want our system to change to a 'ringing' state, which would >> happen if it receives 180. We would like to drop the first 183 (without >> SDP) but reply back with an PRACK (since 100rel was sent) and let the >> subsequent 183 (with SDP) through. This is just a quirk in our system that >> we are looking to find a workaround for. >> >> I don't think removing 100rel from the INVITE would work? The sender of >> the INVITE has put in 100rel and is expecting a PRACK, so us removing it >> does not change this expectation? >> >> Thank you. >> >> On Mon, 18 Jan 2021 at 19:03, Ovidiu Sas wrote: >> >>> You can change the 183 into an 180 and let the prack take its course. >>> >>> Alternatively, you can remove 100rel from the initial INVITE and drop >>> the 183 without SDP. >>> >>> -ovidiu >>> >>> On Mon, Jan 18, 2021 at 11:05 solarmon wrote: >>> Hi,, I have a requirement to stop 183 without SDP packets from being passed, as well as having to reply back with a PRACK. I can stop the 183 without SDP from being passed on with the following in onreply_route[] if ($rs == "183" && !has_body_part("application/sdp")) { drop(); exit; } However, how do I reply back with a PRACK? Thank you. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> -- >>> VoIP Embedded, Inc. >>> http://www.voipembedded.com >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > -- > VoIP Embedded, Inc. > http://www.voipembedded.com > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
100rel in the initial INVITE means that the caller has support for it, if requested by the caller. If not present in INVITE, the caller should not send provisional replies with 100rel. -ovidiu On Mon, Jan 18, 2021 at 15:13 solarmon wrote: > H Ovidiu > > We do not want our system to change to a 'ringing' state, which would > happen if it receives 180. We would like to drop the first 183 (without > SDP) but reply back with an PRACK (since 100rel was sent) and let the > subsequent 183 (with SDP) through. This is just a quirk in our system that > we are looking to find a workaround for. > > I don't think removing 100rel from the INVITE would work? The sender of > the INVITE has put in 100rel and is expecting a PRACK, so us removing it > does not change this expectation? > > Thank you. > > On Mon, 18 Jan 2021 at 19:03, Ovidiu Sas wrote: > >> You can change the 183 into an 180 and let the prack take its course. >> >> Alternatively, you can remove 100rel from the initial INVITE and drop the >> 183 without SDP. >> >> -ovidiu >> >> On Mon, Jan 18, 2021 at 11:05 solarmon wrote: >> >>> Hi,, >>> >>> I have a requirement to stop 183 without SDP packets from being passed, >>> as well as having to reply back with a PRACK. >>> >>> I can stop the 183 without SDP from being passed on with the following >>> in onreply_route[] >>> >>> if ($rs == "183" && !has_body_part("application/sdp")) { >>> drop(); >>> exit; >>> } >>> >>> However, how do I reply back with a PRACK? >>> >>> Thank you. >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> -- >> VoIP Embedded, Inc. >> http://www.voipembedded.com >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
H Ovidiu We do not want our system to change to a 'ringing' state, which would happen if it receives 180. We would like to drop the first 183 (without SDP) but reply back with an PRACK (since 100rel was sent) and let the subsequent 183 (with SDP) through. This is just a quirk in our system that we are looking to find a workaround for. I don't think removing 100rel from the INVITE would work? The sender of the INVITE has put in 100rel and is expecting a PRACK, so us removing it does not change this expectation? Thank you. On Mon, 18 Jan 2021 at 19:03, Ovidiu Sas wrote: > You can change the 183 into an 180 and let the prack take its course. > > Alternatively, you can remove 100rel from the initial INVITE and drop the > 183 without SDP. > > -ovidiu > > On Mon, Jan 18, 2021 at 11:05 solarmon wrote: > >> Hi,, >> >> I have a requirement to stop 183 without SDP packets from being passed, >> as well as having to reply back with a PRACK. >> >> I can stop the 183 without SDP from being passed on with the following in >> onreply_route[] >> >> if ($rs == "183" && !has_body_part("application/sdp")) { >> drop(); >> exit; >> } >> >> However, how do I reply back with a PRACK? >> >> Thank you. >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > -- > VoIP Embedded, Inc. > http://www.voipembedded.com > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
You can change the 183 into an 180 and let the prack take its course. Alternatively, you can remove 100rel from the initial INVITE and drop the 183 without SDP. -ovidiu On Mon, Jan 18, 2021 at 11:05 solarmon wrote: > Hi,, > > I have a requirement to stop 183 without SDP packets from being passed, as > well as having to reply back with a PRACK. > > I can stop the 183 without SDP from being passed on with the following in > onreply_route[] > > if ($rs == "183" && !has_body_part("application/sdp")) { > drop(); > exit; > } > > However, how do I reply back with a PRACK? > > Thank you. > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
Hi Toni, Thanks, I did come across that. I was hoping not to have to install a module and have to do even more changes to accommodate it. I was hoping that there was already a core feature/mechanism to handle responding back with a PRACK. Thank you. On Mon, 18 Jan 2021, 17:35 Tomi Hakkarainen, wrote: > Hi, > > I guess does not answer the guestion but take a look at this: > > https://github.com/OpenSIPS/opensips/issues/2076 > > that said could you setup b2b logic to fix interworking issues? > > Tomi > > On 18. Jan 2021, at 18.31, solarmon wrote: > > > Hi Johan, > > The first 183 packet that is received has no SDP in it and has: > > Require: 100rel > > I wish to prevent this from being passed on, but still respond what with a > PRACK (since 100rel has been requested). The reason for this is that our > system will not work if it first receives a 183 without SDP and then > receives a second 183 with SDP. > > Thank you. > > On Mon, 18 Jan 2021 at 16:13, Johan De Clercq wrote: > >> you mean that the remote party sends you required:100rel ? The only way >> that I know is by using b2b logic. >> Maybe Bogdan can shed some light here. >> >> Op ma 18 jan. 2021 om 17:07 schreef solarmon : >> >>> Hi,, >>> >>> I have a requirement to stop 183 without SDP packets from being passed, >>> as well as having to reply back with a PRACK. >>> >>> I can stop the 183 without SDP from being passed on with the following >>> in onreply_route[] >>> >>> if ($rs == "183" && !has_body_part("application/sdp")) { >>> drop(); >>> exit; >>> } >>> >>> However, how do I reply back with a PRACK? >>> >>> Thank you. >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
Hi, I guess does not answer the guestion but take a look at this: https://github.com/OpenSIPS/opensips/issues/2076 that said could you setup b2b logic to fix interworking issues? Tomi On 18. Jan 2021, at 18.31, solarmon wrote: Hi Johan, The first 183 packet that is received has no SDP in it and has: Require: 100rel I wish to prevent this from being passed on, but still respond what with a PRACK (since 100rel has been requested). The reason for this is that our system will not work if it first receives a 183 without SDP and then receives a second 183 with SDP. Thank you. On Mon, 18 Jan 2021 at 16:13, Johan De Clercq wrote: > you mean that the remote party sends you required:100rel ? The only way that > I know is by using b2b logic. > Maybe Bogdan can shed some light here. > > Op ma 18 jan. 2021 om 17:07 schreef solarmon : >> Hi,, >> >> I have a requirement to stop 183 without SDP packets from being passed, as >> well as having to reply back with a PRACK. >> >> I can stop the 183 without SDP from being passed on with the following in >> onreply_route[] >> >> if ($rs == "183" && !has_body_part("application/sdp")) { >> drop(); >> exit; >> } >> >> However, how do I reply back with a PRACK? >> >> Thank you. >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
Hi Johan, The first 183 packet that is received has no SDP in it and has: Require: 100rel I wish to prevent this from being passed on, but still respond what with a PRACK (since 100rel has been requested). The reason for this is that our system will not work if it first receives a 183 without SDP and then receives a second 183 with SDP. Thank you. On Mon, 18 Jan 2021 at 16:13, Johan De Clercq wrote: > you mean that the remote party sends you required:100rel ? The only way > that I know is by using b2b logic. > Maybe Bogdan can shed some light here. > > Op ma 18 jan. 2021 om 17:07 schreef solarmon : > >> Hi,, >> >> I have a requirement to stop 183 without SDP packets from being passed, >> as well as having to reply back with a PRACK. >> >> I can stop the 183 without SDP from being passed on with the following in >> onreply_route[] >> >> if ($rs == "183" && !has_body_part("application/sdp")) { >> drop(); >> exit; >> } >> >> However, how do I reply back with a PRACK? >> >> Thank you. >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] PRACK response to 183 without SDP
you mean that the remote party sends you required:100rel ? The only way that I know is by using b2b logic. Maybe Bogdan can shed some light here. Op ma 18 jan. 2021 om 17:07 schreef solarmon : > Hi,, > > I have a requirement to stop 183 without SDP packets from being passed, as > well as having to reply back with a PRACK. > > I can stop the 183 without SDP from being passed on with the following in > onreply_route[] > > if ($rs == "183" && !has_body_part("application/sdp")) { > drop(); > exit; > } > > However, how do I reply back with a PRACK? > > Thank you. > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] PRACK response to 183 without SDP
Hi,, I have a requirement to stop 183 without SDP packets from being passed, as well as having to reply back with a PRACK. I can stop the 183 without SDP from being passed on with the following in onreply_route[] if ($rs == "183" && !has_body_part("application/sdp")) { drop(); exit; } However, how do I reply back with a PRACK? Thank you. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users