====== SIP Event Package API ======
HTTP APIs are exported that allow interaction and notifications with any SIP event packages - for example the reg event package, dialog info, message-waiting, rtcp-stats etc.
In order to subscribe to a dialog, firstly post a HTTP request to the API controller:
POST /v/2009-06/sep HTTP/1.1
Content-Type: text/xml
2009-06-01T18:00:00+00:00
application/reginfo+xml
The result will contain a 201 Created, and a Location header pointing to the subscription:
HTTP/1.1 201 Created
Location: http://api.voip.co.uk/v/2009-01/sep/182ebe38-3854-4873-a8ab-2cb0eff38b4c
Fetching the resource will provide the subscription status:
GET /v/2009-01/sep/182ebe38-3854-4873-a8ab-2cb0eff38b4c
Host: api.voip.co.uk
Accept: xxxx
HTTP/1.1 200 OK
sip:bill@pc34.example.com
2009-06-01T18:00:00+00:00