diff --git a/lib/adhearsion/initializer/configuration.rb b/lib/adhearsion/initializer/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/initializer/configuration.rb
+++ b/lib/adhearsion/initializer/configuration.rb
@@ -131,6 +131,8 @@ module Adhearsion
       def initialize(overrides = {})
         @listening_port = self.class.default_listening_port
         @listening_host = self.class.default_listening_host
+        @listening_port = overrides[:port] if overrides.has_key?(:port)
+        @listening_host = overrides[:host] if overrides.has_key?(:host)
         super
       end
     end
Allow specifying the AGI listener with :host and :port