[OpenSIPS-Users] reinvite and dialog uniqueness.

Denoo John john.denoo at telenetgroup.be
Sun Dec 4 18:03:19 UTC 2022


Johan,

In regards to the first question I think the Invite and the Re-Invite have only two differences.
The Invite doesn’t has a tag in the To-field, where the Re-Invite contains To:…;tag=2
In addition the Via-header contains a new branch-id because it’s a new transaction.

For the second question, I have no experience with OpenSIPS.

Best regards,
John

From: johan <johan at democon.be>
Sent: vrijdag 2 december 2022 17:23
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: reinvite and dialog uniqueness.


1. dialog uniqueness

    Alice     calls     Bob

            ->INVITE

                call-id: 1

                from: alice at atlanta;tag=1

                to: bob at boston

            <- 200

                call-id: 1

                 from: alice at atlanta;tag=1

                 to: bob at boston;tag=2

            -> ACK

                call-id: 1

                 from: alice at atlanta;tag=1

                 to: bob at boston;tag=2

Bob does a session refresh

            <- INVITE

question in on the from tag and the to tag.

should it be

            <- INVITE

                callid: 1

                 from: alice at atlanta;tag=1

                 to: bob at boston;tag=2

or

            <- INVITE

                call-id: 1

                from: alice at atlanta;tag=1

                 to: bob at boston;tag=2

or

            are both the same dialog (call-id + the 2 tags) ?



2. reinvite

Secondly,

when opensips is used as b2bua scenario as below



A                         opensips                     B

        -> invite                     ->invite

        <-200                        <- 200

        -> ack                        ->ack

        ...                                ....

                                           <-reinvite for keeeping session alive.

Is there a way that I can let respond opensips 200 OK on the reinvite without forwarding the request to A ?

so I want

A                         opensips                     B

        -> invite                     ->invite

        <-200                        <- 200

        -> ack                        ->ack

        ...                                ....

                                           <-reinvite for keeeping session alive.

                                           ->200



instead of

A                         opensips                     B

        -> invite                     ->invite

        <-200                        <- 200

        -> ack                        ->ack

        ...                                ....

                                           <-reinvite for keeeping session alive.

        <- reinvite

        -> 200                        ->200



wkr,




Confidential - Limited



***************************************************************
Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie bevatten die vertrouwelijk is en/of beschermd door intellectuele eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te verwijderen.

This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the addressees. Any use of the information contained herein (including but not limited to total or partial reproduction or distribution in any form) by other persons than the addressees is prohibited. If you have received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes eventuelles peuvent contenir des informations confidentielles et/ou protegees par des droits de propriete intellectuelle. Ce message est adresse exclusivement e son (ses) destinataire(s). Toute utilisation du contenu de ce message (y compris la reproduction ou diffusion partielle ou complete sous toute forme) par une autre personne que le(s) destinataire(s) est formellement interdite. Si vous avez recu ce message par erreur, veuillez prevenir l expediteur du message et en detruire le contenu.

***************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221204/e26a741f/attachment-0001.html>


More information about the Users mailing list