You can configure an SBC using the provided RESTCONF API interface.
Copy the JSON files mentioned after the "@" in the cURL commands and run these cURL commands in the same folder as the JSON files or mention the complete path for the JSON files.
If you saved the JSON files on the SBC, replace to <SBC_MGT_IP> with local address.
Start
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @codecEntryJson "https://<SBC_MGT_IP>/restconf/data/sonusGen2Profiles:profiles/media"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @packetServiceProfile "https://<SBC_MGT_IP>/restconf/data/sonusGen2Profiles:profiles/media"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @ADDR_CNTXT "https://<SBC_MGT_IP>/restconf/data"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @ZONE1 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @ipInterfaceGroup_1 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @ipInterface_IN "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT/sonusIpInterface:ipInterfaceGroup=INGRESS_LIG"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @staticRoute_2 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @ipPeer_2 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT/sonusZone:zone=ZONE8"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @sipTrunkGroup_1 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT/sonusZone:zone=ZONE7"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @sipSigPort_1 "https://<SBC_MGT_IP>/restconf/data/sonusAddressContext:addressContext=ADDR_CONTEXT/sonusZone:zone=ZONE7"
curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -d @routingLabel_1 "https://<SBC_MGT_IP>/restconf/data/sonusGlobal:global/callRouting curl -kisu 'admin:Sonus@123' -H "Accept: application/yang-data+json" -H "Content-Type: application/yang-data+json" -X POST -X POST -d @routingLabelRoute_1 "https://<SBC_MGT_IP>/restconf/data/sonusGlobal:global/callRouting/routingLabel=VRF_RL_EG"