[OpenSIPS-Users] Local Route question

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 26 14:51:32 UTC 2022


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list