henningw created an issue (kamailio/kamailio#4226)

Improve and document cdp module list_peers output

Example output:

reg03:~$ sudo kamcmd cdp.list_peers
{
        Realm: YYY.com
        Identity: 212.XX.XX.3
        Accept unknown peers: 0
        Connect timeout: 5
        Transaction timeout: 5
        Default auth session timeout: 3600
        Queue length: 32
        Workers: 8
        Peer count: 3
        Peers: {
                FQDN: 212.XX.XX.1
                Details: {
                        State: R_Open
                        Disabled: False
                        Last used: 1745907094
                        Applications: {
                                appid:vendorid: 4:10415
                        }
                }
                FQDN: 212.XX.XX.2
                Details: {
                        State: R_Open
                        Disabled: False
                        Last used: -1406883582
                        Applications: {
                                appid:vendorid: 4:10415
                        }
                }
                FQDN: 212.XX.XX.3
                Details: {
                        State: R_Open
                        Disabled: False
                        Last used: 1745907095
                        Applications: {
                                appid:vendorid: 4:10415
                        }
                }
        }
}

1. Add list_peers command to module XML docs
2. Document State meaning (e.g. what means R_Open etc..)
3. Check/ probably cast time_t value to not output negative numbers



-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4226
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to