Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Add SIP NAT Local IP

Add ( configure ) Sipsettings configuration to into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "addSipNatLocalIp": {
      "status": true,
      "message": "Local IP has been added successfully"
    }
  }
}


Update SIP NAT External IP

Add ( configure ) Sipsettings configuration to into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "updateSipNatExternalIp": {
      "status": true,
      "message": "External IP has been updated successfully"
    }
  }
}

Fetch SIP NAT Network Settings

Fetch Sipsettings configuration from  Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "fetchSipNatNetworkSettings": {
      "status": true,
      "message": "List of External and Local IPs",
      "externIP": "100.100.3.100",
      "localIP": [
        {
          "net": "192.168.8.80",
          "mask": "21"
        }
      ],
      "routes": [
        {
          "net": "101.101.8.100",
          "mask": "21"
        }
      ]
    }
  }
}

Fetch Web Socket Settings

Fetch Web Socket configuration from  Freepbx/PBXact system.

...

Code Block
{
    "data": {
        "fetchWSSettings": {
            "status": true,
            "message": "Web Socket Settings",
            "ws": [
                {
                    "interface": "0.0.0.0",
                    "state": "off"
                },
                {
                    "interface": "192.168.1.9",
                    "state": "on"
                }
            ],
            "wss": [
                {
                    "interface": "0.0.0.0",
                    "state": "on"
                },
                {
                    "interface": "192.168.1.9",
                    "state": "off"
                }
            ]
        }
    }
}


Update Web Socket Settings

Update Web Socket configuration into Freepbx/PBXact system.

...