jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 21 forks source link

when specifying outbound sip gateway, should be able to specify protocol #248

Closed davehorton closed 1 year ago

davehorton commented 1 year ago

Currently it is not possible to specify the sip transport to be used for outbound calls when provisioning a carrier. For instance, twilio supports sending calls over TLS but there is no way to accomplish this in jambonz when adding twilio as a carrier (as a workaround you can send to a sips uri, but that is different).

So what we need is to change the view of the entry when adding an outbound gateway. Currently it looks like this: image

Now note one thing. If this gateway is an outbound gateway (or both inbound and outbound) the netmask is actually not providing any useful information. For an outbound gateway we always want an exact IP (so the netmask is 32). Only when a gateway is inbound-only should the netmask dropdown even be enabled.

With that in mind, I would like to change the UI as follows:

This issue will require changes in webapp, api server, db helper, and sbc-outbound