mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-24 13:02:21 +00:00
Adjust error message for duplicate SIP gateways
This commit is contained in:
@@ -312,7 +312,7 @@ const SipTrunkForm = props => {
|
||||
if (!gateway.ip) return;
|
||||
if (type === 'invalid') return;
|
||||
if (gateway.ip === otherGateway.ip && gateway.port === otherGateway.port) {
|
||||
errorMessages.push('Each row must have a unique IP/Port combination. Please delete the duplicate row.');
|
||||
errorMessages.push('Each SIP gateway must have a unique IP address.');
|
||||
updateSipGateways(null, i, 'invalidIp');
|
||||
updateSipGateways(null, i, 'invalidPort');
|
||||
updateSipGateways(null, j, 'invalidIp');
|
||||
|
||||
Reference in New Issue
Block a user