[SR-Users] dispatcher flag

alexandre.anconetti at orange.com alexandre.anconetti at orange.com
Thu Feb 18 09:35:37 CET 2016


Hi,
I'm using the dispatcher module with Kamailio 4.3.4, the keep alive mechanism and the routing are OK, but I would like to get in my request_route the flag(s) (active, inactive, probing ...) that the dispatcher give to each destination. I know that in command line I can run kamcmd or kamctl to get :

NRSETS: 1
        RECORDS: {
                SET: {
                        ID: 1
                        TARGETS: {
                                DEST: {
                                        URI: sip: xxx.xxx.xxx.xxx:xxxx
                                        FLAGS: IP
                                        PRIORITY: 0
                                }
                                DEST: {
                                        URI: sip:xxx.xxx.xxx.xxx:xxxx
                                        FLAGS: AP
                                        PRIORITY: 0
How can I get that in the request_route process ? Any suggestion would be appreciated ;)
Best Regards,
Alexandre.


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160218/ac0db0d6/attachment.html>


More information about the sr-users mailing list