Hi,

please see https://www.opensips.org/Documentation/Script-Routes-3-2#local_route - the local route is triggered only for internally generated (UAC) requests, so you will never have replies over there.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 10/26/22 5:28 AM, Saint Michael wrote:
Dear Friends
local_route
        {
        if (is_method("200"))
{
                }
}

I need to intercept the code at the moment when a call connects, so I
may notify that information to the database. What specific code can I
use inside a Local Route so the 200 OK corresponds with a real
connection and not any other kind of 200?
Is this doable?

_______________________________________________
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

Reply via email to