Method: Librevox::Applications#deflect

Defined in:
lib/librevox/applications.rb

#deflect(uri, &block) ⇒ Object

Deflect a call by sending a REFER. Takes a SIP URI as argument, rerouting the call to that SIP URI.

Beware that REFER only can be used on established calls. If a call hasn’t been established with e.g. the #answer application, you should use #redirect instead.



86
87
88
# File 'lib/librevox/applications.rb', line 86

def deflect uri, &block
  application "deflect", uri, &block
end