Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit d7b152c

Browse files
api_reference-added missing field in sippeer create request. Removed sippeer's response on POST, it doesn't have it only status code. (#746)
1 parent 3b1a42f commit d7b152c

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

site/specs-temp/numbers.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14968,15 +14968,26 @@
1496814968
]
1496914969
}
1497014970
}
14971+
},
14972+
"SsSendToCustomer": {
14973+
"type": "string",
14974+
"enum": [
14975+
"NONE",
14976+
"VERSTAT",
14977+
"ENH_VERSTAT",
14978+
"VERSTAT_AND_IDENTITY",
14979+
"ENH_VERSTAT_AND_IDENTITY",
14980+
"IDENTITY"
14981+
]
1497114982
}
1497214983
}
1497314984
},
1497414985
"examples": {
1497514986
"With VoiceHosts": {
14976-
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<SipPeer>\n <PeerName>name</PeerName>\n <Description>description</Description>\n <IsDefaultPeer>false</IsDefaultPeer>\n <FinalDestinationUri>uri</FinalDestinationUri>\n <VoiceHosts>\n <Host>\n <HostName>10.10.10.1</HostName>\n </Host>\n <Host>\n <HostName>10.10.10.2</HostName>\n </Host>\n </VoiceHosts>\n <TerminationHosts>\n <TerminationHost>\n <HostName>2.1.1.9</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n <TerminationHost>\n <HostName>2.1.1.96/30</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n </TerminationHosts>\n <Address>\n <HouseNumber>1600</HouseNumber>\n <HouseSuffix />\n <PreDirectional />\n <StreetName>PENNSYLVANIA AVE NW</StreetName>\n <StreetSuffix />\n <PostDirectional />\n <AddressLine2 />\n <City>WASHINGTON</City>\n <StateCode>DC</StateCode>\n <Zip>20500</Zip>\n <PlusFour />\n <County />\n <Country>United States</Country>\n <AddressType>Service</AddressType>\n </Address>\n <PremiseTrunks>PremiseTrunks</PremiseTrunks>\n <CallingName>\n <Display>true</Display>\n <Enforced>true</Enforced>\n </CallingName>\n</SipPeer>"
14987+
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<SipPeer>\n <PeerName>name</PeerName>\n <Description>description</Description>\n <IsDefaultPeer>false</IsDefaultPeer>\n <FinalDestinationUri>uri</FinalDestinationUri>\n <VoiceHosts>\n <Host>\n <HostName>10.10.10.1</HostName>\n </Host>\n <Host>\n <HostName>10.10.10.2</HostName>\n </Host>\n </VoiceHosts>\n <TerminationHosts>\n <TerminationHost>\n <HostName>2.1.1.9</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n <TerminationHost>\n <HostName>2.1.1.96/30</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n </TerminationHosts>\n <Address>\n <HouseNumber>1600</HouseNumber>\n <HouseSuffix />\n <PreDirectional />\n <StreetName>PENNSYLVANIA AVE NW</StreetName>\n <StreetSuffix />\n <PostDirectional />\n <AddressLine2 />\n <City>WASHINGTON</City>\n <StateCode>DC</StateCode>\n <Zip>20500</Zip>\n <PlusFour />\n <County />\n <Country>United States</Country>\n <AddressType>Service</AddressType>\n </Address>\n <PremiseTrunks>PremiseTrunks</PremiseTrunks>\n <CallingName>\n <Display>true</Display>\n <Enforced>true</Enforced>\n </CallingName>\n <SsSendToCustomer>NONE</SsSendToCustomer>\n</SipPeer>"
1497714988
},
1497814989
"With VoiceHostGroups": {
14979-
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<SipPeer>\n <PeerName>name</PeerName>\n <Description>description</Description>\n <IsDefaultPeer>false</IsDefaultPeer>\n <FinalDestinationUri>uri</FinalDestinationUri>\n <VoiceHostGroups>\n <VoiceHostGroup>\n <Host>\n <HostName>10.10.10.1</HostName>\n </Host>\n <Host>\n <HostName>10.10.10.2</HostName>\n </Host>\n </VoiceHostGroup>\n </VoiceHostGroups>\n <TerminationHosts>\n <TerminationHost>\n <HostName>2.1.1.9</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n <TerminationHost>\n <HostName>2.1.1.96/30</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n </TerminationHosts>\n</SipPeer>"
14990+
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<SipPeer>\n <PeerName>name</PeerName>\n <Description>description</Description>\n <IsDefaultPeer>false</IsDefaultPeer>\n <FinalDestinationUri>uri</FinalDestinationUri>\n <VoiceHostGroups>\n <VoiceHostGroup>\n <Host>\n <HostName>10.10.10.1</HostName>\n </Host>\n <Host>\n <HostName>10.10.10.2</HostName>\n </Host>\n </VoiceHostGroup>\n </VoiceHostGroups>\n <TerminationHosts>\n <TerminationHost>\n <HostName>2.1.1.9</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n <TerminationHost>\n <HostName>2.1.1.96/30</HostName>\n <Port>0</Port>\n <CustomerTrafficAllowed>DOMESTIC</CustomerTrafficAllowed>\n </TerminationHost>\n </TerminationHosts>\n <SsSendToCustomer>NONE</SsSendToCustomer>\n</SipPeer>"
1498014991
}
1498114992
}
1498214993
}
@@ -14986,16 +14997,6 @@
1498614997
"201": {
1498714998
"description": "Sip Peer created",
1498814999
"content": {
14989-
"application/xml": {
14990-
"examples": {
14991-
"example": {
14992-
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<SipPeerResponse>\n <SipPeer>\n <PeerId>304985</PeerId>\n <PeerName>CNAM-TEST-778</PeerName>\n <Description>description</Description>\n <IsDefaultPeer>false</IsDefaultPeer>\n <VoiceHosts />\n <VoiceHostGroups />\n <TerminationHosts />\n <Address>\n <HouseNumber>1600</HouseNumber>\n <HouseSuffix />\n <PreDirectional />\n <StreetName>PENNSYLVANIA AVE NW</StreetName>\n <StreetSuffix />\n <PostDirectional />\n <AddressLine2 />\n <City>Washington</City>\n <StateCode>DC</StateCode>\n <Zip>20500</Zip>\n <PlusFour />\n <County />\n <Country>United States</Country>\n <AddressType>Service</AddressType>\n </Address>\n <CallingName>\n <Display>false</Display>\n <Enforced>false</Enforced>\n </CallingName>\n </SipPeer>\n</SipPeerResponse>"
14993-
}
14994-
},
14995-
"schema": {
14996-
"$ref": "#/components/schemas/SipPeerResponse"
14997-
}
14998-
}
1499915000
}
1500015001
},
1500115002
"400": {
@@ -29655,7 +29656,7 @@
2965529656
"SipPeerResponseBadRequest": {
2965629657
"type": "object",
2965729658
"properties": {
29658-
"ResponseStatus": {
29659+
"SipPeerResponse": {
2965929660
"$ref": "#/components/schemas/ResponseStatus"
2966029661
}
2966129662
}

0 commit comments

Comments
 (0)