jambonz / jambonz-webapp

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

Null / nothing is a valid value for remote port when creating an outbound sip gateway #321

Closed davehorton closed 1 year ago

davehorton commented 1 year ago

When creating an outbound gateway using a DNS name it is sometimes desirable and necessary to be able to not specify the port. This is because when the port is not specified, sofia will then do an SRV lookup to determine the port, and this is ideal for customers that are using TLS on the outbound side and have configured SRV records.

On the other hand, if we specify a port then sofia will just do a DNS A record lookup and send to the port we specified.

There are cases where each are needed. Currently, when you delete the port it still shows as "0" which is confusing. It should be possible to remove the port entirely if and only if the ipv4 value is not a dot decimal IP address

davehorton commented 1 year ago

re: image