I am developing a sip phone over iOS, using PJSIP on client side and opensips on server side. I am able to register into the server, and make calls between different users, but I need to get the registered contact list from the opensips server.
I am only using "pjsip", "pjlib" and "pjlib-util" frameworks because I handle the media with another frameworks.
According opensips guide, I need to use "Management Interface (MI)" to trigger some commands and get that list of registered users.
My issue is I don't know how to use Management Interface, fire those triggers, and retrieve the list. Or maybe there is another way to get the registered contact listo from opensips server.
I would appreciate any example of how to use opensips Management Interface from PJSIP, or from objective c code.
Thanks so much!