lib/adhearsion/punchblock_plugin.rb in adhearsion-2.3.3 vs lib/adhearsion/punchblock_plugin.rb in adhearsion-2.3.4
- old
+ new
@@ -16,9 +16,10 @@
__
username "usera@127.0.0.1", :desc => "Authentication credentials"
password "1" , :desc => "Authentication credentials"
host nil , :desc => "Host punchblock needs to connect (where rayo/asterisk/freeswitch is located)"
port Proc.new { PunchblockPlugin.default_port_for_platform platform }, :transform => Proc.new { |v| PunchblockPlugin.validate_number v }, :desc => "Port punchblock needs to connect"
+ certs_directory nil , :desc => "Directory containing certificates for securing the connection."
root_domain nil , :desc => "The root domain at which to address the server"
calls_domain nil , :desc => "The domain at which to address calls"
mixers_domain nil , :desc => "The domain at which to address mixers"
connection_timeout 60 , :transform => Proc.new { |v| PunchblockPlugin.validate_number v }, :desc => "The amount of time to wait for a connection"
reconnect_attempts 1.0/0.0 , :transform => Proc.new { |v| PunchblockPlugin.validate_number v }, :desc => "The number of times to (re)attempt connection to the server"