Thank you for your response. According to your suggestions I searched for the CTRL interface, but I didn't get any documentation for this. I don't know how to use this. Is there any example available for interacting OsmoHLR with this? If you can show me how to get and update any subscriber data using CTRL interface, it may easy for me to understand. Or can let me know how the vty or ctrl is interacting with OsmoHLR databases thus I can directly interact with those databases?

On Wed, 31 Aug 2022, 16:20 Harald Welte, <laforge@osmocom.org> wrote:
Hi Ahnaf,

On Tue, Aug 30, 2022 at 11:55:42PM +0600, Ahnaf Tahmid wrote:
> I am Ahnaf Tahmid Chowdhury, currently building Osmocom graphical user
> interface. I have created a subscriber page where one can add/remove/update
> subscriber. The repo is available at:

Thanks for your contribution and for sharing your project.

Unfortunately it uses the VTY, which is primarily intended for human interaction,
as we can not make guarantees that printed output of the VTY will remain stable.

On the other hand, the CTRL interface of the various Osmocom CNI programs is
an interface intended for programmatic use by external software.  I'm not sure
if all of the information you're interested in reading or all of the commands
you need are available via CTRL, but I think it would be a good idea to investigate
and let us know, maybe we can add any missing bits to CTRL.

A python module implementing the CTRL protocol can be found in 'class Ctrl' of
https://gitea.osmocom.org/cellular-infrastructure/osmo-python-tests/src/branch/master/osmopy/osmo_ipa.py

Regards,
        Harald
--
- Harald Welte <laforge@osmocom.org>            http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)