lib/oversip/sip/proxy.rb in oversip-1.1.0.beta5 vs lib/oversip/sip/proxy.rb in oversip-1.1.0
- old
+ new
@@ -2,12 +2,12 @@
class Proxy
include ::OverSIP::Logger
- def initialize proxy_name=:default_proxy
- unless (@proxy_conf = ::OverSIP.proxies[proxy_name.to_sym])
- raise ::OverSIP::RuntimeError, "proxy '#{proxy_name}' is not defined in Proxies Configuration file"
+ def initialize proxy_profile=:default_proxy
+ unless (@proxy_conf = ::OverSIP.proxies[proxy_profile.to_sym])
+ raise ::OverSIP::RuntimeError, "proxy '#{proxy_profile}' is not defined in Proxies Configuration file"
end
end
def on_provisional_response &block
\ No newline at end of file