Hi, Dragomir!

You can detect retransmissions of the same message using the t_check_trans() function. But in order to use it properly, make sure you create the transaction as soon as possible.
A short snippet that could solve this is:

t_newtran();
t_check_status();

For more information please consult the documentation:
https://opensips.org/html/docs/modules/2.4.x/tm.html#func_t_newtran

Best regards,
Răzvan


On 1/29/19 7:57 PM, Dragomir Haralambiev wrote:
They come very fast in less than 0.5 s

На вт, 29.01.2019 г. в 19:52 ч. johan de clercq <[email protected] <mailto:[email protected]>> написа:

    If there is a gap from 0,5 sec between invite 1 and 2; and a gap of
    1 sec between invite 2 and 3 then it are just retransmissioins.  In
    that case, nothing to worry about. ____

    __ __

    *From:* Users <[email protected]
    <mailto:[email protected]>> *On Behalf Of *Dragomir
    Haralambiev
    *Sent:* Tuesday, January 29, 2019 6:40 PM
    *To:* OpenSIPS users mailling list <[email protected]
    <mailto:[email protected]>>
    *Subject:* [OpenSIPS-Users] more INVITEs____

    __ __

    Hello Opensips comunity,____

    __ __

    I must to solve the following case:____

    One SIP device send to OpenSips not one, but three identical INVITEs
    (with same Call-ID).____

    __ __

    How do I set the OpenSips to only handle the first one and ignore
    others?____

    __ __

    Best regards,____

    Dragomir____

    _______________________________________________
    Users mailing list
    [email protected] <mailto:[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


--
Răzvan Crainea
OpenSIPS Core Developer
  http://www.opensips-solutions.com
Meet the OpenSIPS team at the next OpenSIPS Summit:
  https://www.opensips.org/events

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

Reply via email to