Introduction

This is imlementation of LoST Server conform to the rules described in draft-ietf-ecrit-lost-06 and draft-ietf-ecrit-mapping-arch-02

LoST is abbreviation for Location to Service Translation. This is a protocol for mapping a service identifier (service URNs) and location information (compatible with PIDF-LO) to one or more service URLs. LoST server provides a number of operations, centered around mapping locations and service URNs to service URLs and associated information.

LoST Server architecture

VoIP Emergency Solution - Blocks

Example LoST Server Response

<findServiceResponse xmlns="urn:ietf:params:xml:ns:lost1">
     <mapping
       expires="2007-01-01T01:44:33Z"
       lastUpdated="2006-11-01T01:00:00Z"
       source="esgw.ueber-110.de.example"
       sourceId="e8b05a41d8d1415b80f2cdbb96ccf109">
       <displayName xml:lang="de">
         Muenchen Polizei-Abteilung
       </displayName>
       <service>urn:service:sos.police</service>
       <serviceBoundary
         profile="urn:ietf:params:lost:location-profile:basic-civic">
         <civicAddress
           xmlns="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr">
           <country>Germany</country>
           <A1>Bavaria</A1>
           <A3>Munich</A3>
           <PC>81675</PC>
         </civicAddress>
       </serviceBoundary>
       <uri>sip:munich-police@example.com</uri>
       <uri>xmpp:munich-police@example.com</uri>
       <serviceNumber>110</serviceNumber>
     </mapping>
     <path>
       <via source="esgw.ueber-110.de.example"/>
       <via source="polizei.muenchen.de.example"/>
     </path>
     <locationUsed id="627b8bf819d0bad4d"/>
   </findServiceResponse>
[Back to top]

Installation

This is describsion how to install LoST Server and all dependences. The installation was tested on Debian system.

[Back to top]

Configuration

Configuration file is placed in WEB-INF/config/config.xml

Example configuration file

<?xml version="1.0" encoding="UTF-8"?>
   <configuration>
     <LoST>
       <debug>true</debug>
       <hostname>yoursite.com</hostname>

       <logFile>/usr/local/apache-tomcat-5.5.20/(...)/LoST.log</logFile>

       <dbCivicHostname>localhost</dbCivicHostname>
       <dbCivicUsername>postgis</dbCivicUsername>
       <dbCivicPassword>postgis</dbCivicPassword>
       <dbCivicBase>postgis</dbCivicBase>

       <dbLostHostname>localhost</dbLostHostname>
       <dbLostUsername>postgis</dbLostUsername>
       <dbLostPassword>postgis</dbLostPassword>
       <dbLostBase>postgis</dbLostBase>

       <mode>TreeLeaf</mode>
       <!-- <mode>ForestGuide</mode> -->
       <!-- <mode>Resolver</mode> -->
       <!-- <mode>TreeNode</mode> -->
       <!-- <mode>TreeLeaf</mode> -->

     </LoST>
   </configuration>

  
[Back to top]

LoST Server
Introduction
Installation
Configuration
Download

Copyright © 2007 ecrit.sourceforge.net - Free Templates by Zymic.com - Design by Tom