Method: Librevox::Applications#hangup

Defined in:
lib/librevox/applications.rb

#hangup(cause = "", &block) ⇒ Object

Hang up current channel

Examples:

hangup

Hang up with a reason

hangup "USER_BUSY"

See Also:



123
124
125
# File 'lib/librevox/applications.rb', line 123

def hangup cause="", &block
  application "hangup", cause, &block
end