Module: CallVariables

Included in:
Freec
Defined in:
lib/call_variables.rb

Instance Method Summary collapse

Instance Method Details

#channel_destination_numberObject

Value of the channel_destination_number variable This is the extension this call was routed to in Freeswitch



17
18
19
# File 'lib/call_variables.rb', line 17

def channel_destination_number
  call_vars[:channel_destination_number]    
end

#sip_from_userObject

Value of the variable_sip_from_user variable This is the callee username/number



5
6
7
# File 'lib/call_variables.rb', line 5

def sip_from_user
  call_vars[:variable_sip_from_user]
end

#sip_to_userObject

Value of the variable_sip_to_user variable This is the called username/number



11
12
13
# File 'lib/call_variables.rb', line 11

def sip_to_user
  call_vars[:variable_sip_to_user]    
end