opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
192 stars 10 forks source link

feature: Add support for phone number (PSTN) kind of Attribute #1189

Open BeArchiTek opened 1 year ago

BeArchiTek commented 1 year ago

Component

API Server / GraphQL

Describe the Feature Request

Add a new kind ofAttribute to support PSTN

Describe the Use Case

Be able to store PSTN with validation tests instead of using Text.

Be able to use the new attribute for some advanced use cases (call forwarding) to be able to provide a first level of support for "network" telephony-related configuration.

Additional Information

A PSTN can consist of valid DTMF characters and a leading plus sign for E.164 support:

BeArchiTek commented 1 year ago

Example of netbox plugin : https://github.com/iDebugAll/phonebox_plugin Python library to manipulating it https://pypi.org/project/phonenumbers/

ryanmerolle commented 5 months ago

This could be useful to one up the netbox contact model. You could do this with regex currently.