To capture the GraphQL APIs provided by SIPStation module.
Add Sipstation Key
Add ( configure ) Sipstation configuration to into Freepbx/PBXact system.
...
Code Block |
---|
{
"data": {
"addSipStationKey": {
"status": true,
"message": "SipStation key has been added successfully"
}
}
} |
|
Fetch Sipstation Key
Fetch Sipstation key to into Freepbx/PBXact system.
...
Code Block |
---|
{
"data": {
"fetchSipStationkey ": {
"status": true,
"message": "SipStation key found",
"key" : *******************
}
}
} |
|
Fetch Sipstation Status
Fetch Sipstation status into Freepbx/PBXact system.
...
Code Block |
---|
{
"data": {
"fetchSipStationStatus": {
"status": "true",
"message": "Sipstation status found",
"numberOfTrunks": "1",
"serverSettings": {
"sms": true,
"fax": false,
"international": false
},
"e911Info": {
"name": "test",
"number": "1234",
"street1": "test ",
"street2": "",
"zip": "12342",
"state": "test",
"city": "test"
},
"primarySipServer": {
"name": "test1",
"registered": "1",
"userAgent": "test",
"contactIp": "0.0.0.0",
"networkIp": "0.0.0.0",
"ipsMatch": "yes"
},
"secondarySipServer": {
"name": "test2",
"registered": "1",
"userAgent": "test",
"contactIp": "1.0.0.0",
"networkIp": "1.0.0.0",
"ipsMatch": "yes"
}
}
}
} |
|
Remove Sipstation Key
Remove Sipstation key to into Freepbx/PBXact system.
...
Code Block |
---|
{
"data": {
"removeSipStationKey": {
"status": true,
"message": "Sipstation key has been removed"
}
}
} |
|
Remove Sipstation Key and Delete Trunk
Remove Sipstation key and delete trunk to into Freepbx/PBXact system.
...