Hello, On 07.06.19 19:44, Duarte Rocha wrote: > Greetings, > > I have a Kamailio as Sip Proxy between my clients and my Media gateway. > > I have NAPs (One per client) for clients and NAPs for the MediaGateway > (One for each client). > > The MediaGateway probes Kamailio in order to see if it's alive and > Kamailio probes clients. > > However, i would like for the MediaGateway to be aware of the client > status. > > I thought of a few solutions : > > - When Kamailio probes a client and it fails, both NAPs (Client Side > and MG side) could be set as inactive. > > - Automatically relay the MG probe to the client > > - Some scripting that reads the result of dispatcher.list and if it > finds an inactive NAP, set the MG NAP as inactive too. > > Is there a better/simpler way to do this? I'd rather have everything > on Kamailio configuration files instead of doing exatra scripting. > > Any opinions ? How can i achieve this?
probably forwarding the MG probe to clients is the easiest from implementation point of view. Kamailio will do just the usual sip routing. Cheers, Daniel -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
