The Presence Information Data Format - Location Object (PIDF-LO) provides the geographical location of a presentity. This corresponds to a physical location at a given instance of time. PIDF-LO provides an XML formatted “location object” that is included in the SIP Invite of an emergency call to provide the location information. PIDF-LO supports dynamic location routing (DLR).
This is an example of the Format of a PIDF-LO record in a SIP Invite.
<?xml
version="1.0"
encoding="utf-8"
?>
<presence
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
entity="sip:fred.flintstone@46ldev.com"
xmlns="urn:ietf:params:xml:ns:pidf">
<tuple
id="tuple0">
<status>
<geopriv
xmlns="urn:ietf:params:xml:ns:pidf:geopriv10">
<location-info>
<Point
srsName="urn:ogc:def:crs:EPSG::4326"
xmlns="http://www.opengis.net/gml">
<pos>
39.3294 -78.3138
</pos>
</Point>
<civicAddress
xmlns="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr">
<country>
US
</country>
<A1>
CO
</A1>
<A2>
Bedrock County
</A2>
<A3>
Bedrock
</A3>
<PRD>
</PRD>
<RD>
13 Cobblestone Way
</RD>
<STS>
</STS>
<POD>
</POD>
<HNO>
13
</HNO>
<HNS>
</HNS>
<LOC>
Office Next to Tar Pit
</LOC>
<NAM>
</NAM>
<PC>
81411
</PC>
<ELIN>
</ELIN>
</civicAddress>
</location-info>
<usage-rules>
<retransmission-allowed
xmlns="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy">
true
</retransmission-allowed>
</usage-rules>
<method>
Manual
</method>
</geopriv>
</status>
</tuple>
</presence>