8a8416e365
* Added processing for the 'confidence' element. * Added documentation to some APIs. * removed a lot of complex code related to the very-off-nominal case of needing to process multiple location info sources. * Create a new 'ast_geoloc_eprofile_to_pidf' API that just takes one eprofile instead of a datastore of multiples. * Plugged a huge leak in XML processing that arose from insufficient documentation by the libxml/libxslt authors. * Refactored stylesheets to be more efficient. * Renamed 'profile_action' to 'profile_precedence' to better reflect it's purpose. * Added the config option for 'allow_routing_use' which sets the value of the 'Geolocation-Routing' header. * Removed the GeolocProfileCreate and GeolocProfileDelete dialplan apps. * Changed the GEOLOC_PROFILE dialplan function as follows: * Removed the 'profile' argument. * Automatically create a profile if it doesn't exist. * Delete a profile if 'inheritable' is set to no. * Fixed various bugs and leaks * Updated Asterisk WiKi documentation. ASTERISK-30167 Change-Id: If38c23f26228e96165be161c2f5e849cb8e16fa0
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<presence entity="pres:alice@asterisk.org"
|
|
xmlns="urn:ietf:params:xml:ns:pidf"
|
|
xmlns:ca="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"
|
|
xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
|
|
xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
|
|
xmlns:gml="http://www.opengis.net/gml"
|
|
xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"
|
|
xmlns:con="urn:ietf:params:xml:ns:geopriv:conf"
|
|
xmlns:gs="http://www.opengis.net/pidflo/1.0">
|
|
<tuple id="point-2d">
|
|
<status>
|
|
<gp:geopriv>
|
|
<gp:location-info>
|
|
<gml:Point srsName="urn:ogc:def:crs:EPSG::4326">
|
|
<gml:pos>-34.410649 150.87651</gml:pos>
|
|
</gml:Point>
|
|
<con:confidence pdf="normal">66</con:confidence>
|
|
</gp:location-info>
|
|
<gp:usage-rules>
|
|
<gbp:retransmission-allowed>no</gbp:retransmission-allowed>
|
|
<gbp:retention-expiry>2010-11-14T20:00:00Z</gbp:retention-expiry>
|
|
</gp:usage-rules>
|
|
<gp:method>Manual</gp:method>
|
|
<gp:note-well>
|
|
this is a test
|
|
of the emergency broadcast system
|
|
</gp:note-well>
|
|
</gp:geopriv>
|
|
</status>
|
|
<timestamp>2007-06-22T20:57:29Z</timestamp>
|
|
</tuple>
|
|
</presence>
|