Welcome to the SIP Broker web services home page. This page describes the web services that SIP Broker currently provides. ENUM LookupOverviewThis service accepts the submission of a HTTP request containing a e164 number as a parameter and returns an XML document that contains a collection of SIP URIs that match that number. The current behaviour queries 5 ENUM roots (e164.arpa, e164.org, e164.info, e164.televolution.net, and enum.org) but has the capability of querying other roots. All queries are executed in parallel, so there is no penalty for querying more roots. A simple example is:
http://www.sipbroker.com/enum/18005551212
An example of the XML that would be returned would be:
<?xml version="1.0" encoding="UTF-8"?>
<enums xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.sipbroker.com/sbXML.xsd"> <enum> <number>18005551212</number> <root>e164.arpa</root> <uri></uri> <time>86</time> </enum> <enum> <number>18005551212</number> <root>e164.org</root> <uri>sip:18005551212@tf.voipmich.com</uri> <time>67</time> </enum> <enum> <number>18005551212</number> <root>e164.info</root> <uri></uri> <time>350</time> </enum> <enum> <number>18005551212</number> <root>e164.televolution.net</root> <uri></uri> <time>105</time> </enum> <enum> <number>18005551212</number> <root>enum.org</root> <uri></uri> <time>287</time> </enum> </enums> Input ParametersThe basic URL for the HTTP request is http://www.sipbroker.com/enum/xxx where xxx is a valid e164 number.
Output ValuesWhile the format of the output data may vary depending on the format you requested, the following fields of data are available:
ExamplesInvalid e164 NumberInput
http://www.sipbroker.com/enum/bade164number
Output
<xml version="1.0" encoding="UTF-8"?>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.sipbroker.com/sbXML.xsd"> <error>bade164number is not a valid e164 number.<error> <errors> Comma Seperated ValuesInput
http://www.sipbroker.com/enum/18005551212?format=csv
Output
18005551212,e164.arpa,,63,
18005551212,e164.org,sip:18005551212@tf.voipmich.com,120, 18005551212,e164.info,,164, 18005551212,e164.televolution.net,,84, 18005551212,enum.org,,53, Simple OutputInput
http://www.sipbroker.com/enum/18005551212?format=simple
Output
sip:18005551212@tf.voipmich.com
SIP Code LookupOverviewThis service allows for the lookup of one (or all) SIP Codes. A very simple example is:
http://www.sipbroker.com/sipcode/010?username=xxx&password=yyy
And the data that would be returned as a result of that query is:
<?xml version="1.0" encoding="UTF-8"?>
<sipcodes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.sipbroker.com/sbXML.xsd"> <sipcode> <code>010</code> <name>Voxalot Communications</name> <proxy>voxalot.com</proxy> <country>AU</country> </sipcode> </sipcodes> Input ParametersThe basic URL for the HTTP request is http://www.sipbroker.com/sipcode/xxx where xxx is a valid SIP Code. In addition, you can also omit the SIP Code (http://www.sipbroker.com/sipcode) which will return all SIP Codes.
Output ValuesWhile the format of the output data may vary depending on the format you requested, the following fields of data are available:
ExamplesInvalid SIP CodeInput
http://www.sipbroker.com/sipcode/badsipcode
Output
<?xml version="1.0" encoding="UTF-8"?>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.sipbroker.com/sbXML.xsd"> <error>badsipcode is invalid.</error> </errors> Comma Seperated ValuesInput
http://www.sipbroker.com/sipcode/010?format=csv
Output
010,Voxalot Communications,voxalot.com,,
|