[OpenSIPS-Users] Maximum number of ReINVITEs option?

Jehanzaib Younis jehanzaib.kiani at gmail.com
Sun May 15 00:01:59 UTC 2022


Hi Ray,

I did not see any built-in way to restrict the number of re-invites. The
problem with this buggy client is, if your SBC does not respond the
client's reinvite. It might send BYE ;) so even if you restrict the
reinvites that might not work well.


Regards,
Jehan


On Sat, May 14, 2022 at 5:06 PM Ray Jackson <ray at hero.co.nz> wrote:

> Correct, Max-Forwards stays the same on each ReINVITE and the CSeq
> increments by 1 each time.  All other headers stay the same. I have no idea
> what is broken with the client to continually ReINVITE in a loop.  We
> accept the ReINVITE with an OK and we receive an ACK back and then
> immediately another INVITE and so it goes on until the call is terminated.
>
> I'm less interested in working out what is broken on the client end and
> more interested in protecting our network.
>
> Thanks,
>
> Ray
> On 14/05/22 2:59 pm, Jehanzaib Younis wrote:
>
> Hi Ray,
>
> I assume the Max-Forwards remains same but the CSeq is increasing ya?
>
> Regards,
> Jehan
>
>
> On Sat, May 14, 2022 at 2:42 PM Ray Jackson <ray at hero.co.nz> wrote:
>
>> Hi all,
>>
>> I have a misbehaving SIP client which is repeatedly sending SIP ReINVITE
>> messages over and over again (in the hundreds) and want to enforce a
>> limit on the number of ReINVITE messages per Call to stop this in it's
>> tracks.  The CSeq is incrementing on each ReINVITE.
>>
>> Are there any config settings to limit the number of ReINVITEs on a
>> single Call/Dialog?  I was going to possibly keep a count of the INVITEs
>> using a cache variable based on the Unique CallID but wanted to check
>> first there wasn't a simpler (built-in) way of doing this?
>>
>> Thanks,
>> Ray
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> --
> Ray Jackson
> Chief Technology Officer [image: Logo] <https://hero.co.nz>
>
> Hero Internet
> Level 4, 220 Queen Street
> Auckland
> t: +649-242-0001
> e: ray at hero.co.nz
>
> hero.co.nz [image: Facebook icon]
> <https://www.facebook.com/herointernetnz>[image: Twitter icon]
> <https://twitter.com/herointernetnz/>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220515/b4698782/attachment.html>


More information about the Users mailing list