<div dir="auto">Greetings,<div dir="auto"><br></div><div dir="auto">I have a Kamailio as Sip Proxy between my clients and my Media gateway. </div><div dir="auto"><br></div><div dir="auto">I have NAPs (One per client) for clients and NAPs for the MediaGateway (One for each client).</div><div dir="auto"><br></div><div dir="auto">The MediaGateway probes Kamailio in order to see if it's alive and Kamailio probes clients.</div><div dir="auto"><br></div><div dir="auto">However, i would like for the MediaGateway to be aware of the client status. </div><div dir="auto"><br></div><div dir="auto">I thought of a few solutions : </div><div dir="auto"><br></div><div dir="auto"> - When Kamailio probes a client and it fails, both NAPs (Client Side and MG side) could be set as inactive.</div><div dir="auto"> </div><div dir="auto"> - Automatically relay the MG probe to the client</div><div dir="auto"> </div><div dir="auto"> - Some scripting that reads the result of dispatcher.list and if it finds an inactive NAP, set the MG NAP as inactive too.</div><div dir="auto"> </div><div dir="auto"> Is there a better/simpler way to do this? I'd rather have everything on Kamailio configuration files instead of doing exatra scripting.</div><div dir="auto"> </div><div dir="auto"> Any opinions ? How can i achieve this?</div><div dir="auto"> </div><div dir="auto"> Best Regards,</div><div dir="auto"> </div><div dir="auto"> Duarte Rocha</div></div>