I try use geoip module from https://github.com/titpetric/wowza-geoip with wowza version 3, I want the viewer than can watch the stream are from my country only which is ID. the application name are live, and currently the stream that I wanna use geoip are alpha and beta.


so here is setting from Application.xml
<!-- GeolocationDefaultRestrict: 0 = don't restrict by default, 1 = restrict by default -->
 
                        <Property>
 
                                <Name>GeolocationDefaultRestrict</Name>
 
                                <Value>0</Value>
 
                                <Type>Integer</Type>
 
                        </Property>
 
                        <!-- If GeolocationDefaultRestrict = 1, and xml config is missing/invalid, restrict to this country -->
 
                        <Property>
 
                                <Name>GeolocationDefaultRestrictCountry</Name>
 
                                <Value>US</Value>
 
                                <Type>String</Type>
 
                        </Property>
 
                        <!--
 
                                GeolocationConfigFile path variables
 
 
 
                                ${com.wowza.wms.AppHome} - Application home directory (test)
 
                                ${com.wowza.wms.ConfigHome} - Configuration home directory (test)
 
                                ${com.wowza.wms.context.VHost} - Virtual host name
 
                                ${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
 
                                ${com.wowza.wms.context.Application} - Application name
 
                                ${com.wowza.wms.context.ApplicationInstance} - Application instance name
 
                       
 
                        -->
 
                        <!-- GeolocationConfigFile: absolute path to config file -->
 
                        <Property>
 
                                <Name>GeolocationConfigFile</Name>
 
                                <Value>>${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/locationinfo.xml</Value>
 
                                <Type>String</Type>
 
                        </Property>
 
 
 
                        <!-- If set to True or unset, shuts down Client stream if geoip check fails -->
 
                        <Property>
 
                                <Name>GeolocationPlaybackShutdown</Name>
 
                                <Value>False</Value>
 
                                <Type>Boolean</Type>
 
                        </Property>
 
 
 
                        <!--
 
                                GeolocationPlaybackFile
 
 
 
                                The parameter should provide a clip or stream which tells the user
 
                                via video, why he can't access some of the sites content.
 
 
 
                                Only used if GeolocationPlaybackShutdown is set to false.
 
                        -->
 
                        <Property>
 
                                <Name>GeolocationPlaybackFile</Name>
 
                                <Value>mp4:def/Extremists.m4v</Value>
 
                                <Type>String</Type>
 
                        </Property>
 
 
 
 
 
                       
 
 
 
                        <Property>
 
                                <Name>GeolocationDebug</Name>
 
                                <Value>true</Value>
 
                                <Type>Boolean</Type>
 
                        </Property>
 
 
 
                     
  
 
                        <!-- GeoIPDatabase: default location: /usr/share/GeoIP/GeoLiteCity.dat -->
 
 
 
                        <Property>
 
                                <Name>GeoIPDatabase</Name>
 
                                <Value>/usr/share/GeoIP/GeoIP.dat</Value>
 
                                <Type>String</Type>
 
                        </Property>

and here is setting from locationinfo.xml

<?xml version="1.0" encoding="utf-8"?>
<LocationInfo>
        <!-- Location: path = stream name or folder (for vod), restrict = [all|none] -->
        <Location path="alpha/" restrict="all"/>
                <Except type="country">ID</Except>
        </Location>
        <Location path="beta/" restrict="all"/>
                <Except type="country">ID</Except>
        </Location>
</LocationInfo>

my stream can still be watched by all country, I really don't understand where did I make mistake.
within log is said
2011-10-21      17:33:44        WIT     comment server  INFO    200     -       geoip.onAppStart: live/_definst_        -       -       -       14.805  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2011-10-21      17:33:44        WIT     comment server  INFO    200     -       geoip.onAppStart: Property GeolocationConfigFile: >${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/locationinfo.xml  -       -       -       14.806  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2011-10-21      17:33:44        WIT     comment server  INFO    200     -       geoip.onAppStart: Property GeolocationConfigFile: >/usr/local/WowzaMediaServer/conf/live/locationinfo.xml       -       -       -       14.806  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -

2011-10-21      17:33:53        WIT     comment server  INFO    200     -       geoip.debug: Checking stream: alpha / IP: 175.41.169.207        -       -       -       24.384  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2011-10-21      17:33:53        WIT     comment server  INFO    200     -       geoip.debug: GEO2 NOT Restricting playback.     -       -       -
please help where I did mistake. Thanks