Daedalus Dock - Modules - TypesVar Details - Proc Details

telephone

Vars

active_callerlist(netaddr,friendly_name) of active call
discovered_phonesfriendly_name:netid
friendly_nameThe 'common name' of the station. Used in the UI.
placard_nameName 'placard', such as 'Special Hotline', gets appended to the end.
show_netidsDo we show netaddrs in the phone UI, or just the names?

Procs

accept_callAccept the incoming call, Inform Originator. STATE_ANSWER -> STATE_CONNECTED
call_connectedAcknowledge accepted call STATE_ORIGINATE -> STATE_CONNECTED
call_droppedFar side dropped us, Perform hangup stuff and wait until the handset is returned to fully reset and be ready to accept another call STATE_CONNECTED -> STATE_HANGUP
cleanup_residual_callWe are listening to the buzzer telling us to hang up. STATE_FARBUSY/STATE_HANGUP -> STATE_WAITING
drop_callEnd call immediately STATE_CONNECTED(handset onhook)/STATE_ORIGINATE(handset onhook)/STATE_ANSWER(packet) -> STATE_WAITING
fuck_off_im_busyRemote phone can't answer due to busy, do the sound and wait until the handset is returned to reset. STATE_ORIGINATE -> STATE_FARBUSY
get_state_renderUI
handset_statechangeProcess the fact that the handset has changed states.
place_callRegister a new call STATE_WAITING -> STATE_ORIGINATE
recalculate_nameRecalculate our name.
receive_callReceive the incoming call STATE_WAITING -> STATE_ANSWER
toggle_handsetToggle the state of the handset.

Var Details

active_caller

list(netaddr,friendly_name) of active call

discovered_phones

friendly_name:netid

friendly_name

The 'common name' of the station. Used in the UI.

placard_name

Name 'placard', such as 'Special Hotline', gets appended to the end.

show_netids

Do we show netaddrs in the phone UI, or just the names?

Proc Details

accept_call

Accept the incoming call, Inform Originator. STATE_ANSWER -> STATE_CONNECTED

call_connected

Acknowledge accepted call STATE_ORIGINATE -> STATE_CONNECTED

call_dropped

Far side dropped us, Perform hangup stuff and wait until the handset is returned to fully reset and be ready to accept another call STATE_CONNECTED -> STATE_HANGUP

cleanup_residual_call

We are listening to the buzzer telling us to hang up. STATE_FARBUSY/STATE_HANGUP -> STATE_WAITING

drop_call

End call immediately STATE_CONNECTED(handset onhook)/STATE_ORIGINATE(handset onhook)/STATE_ANSWER(packet) -> STATE_WAITING

fuck_off_im_busy

Remote phone can't answer due to busy, do the sound and wait until the handset is returned to reset. STATE_ORIGINATE -> STATE_FARBUSY

get_state_render

UI

handset_statechange

Process the fact that the handset has changed states.

place_call

Register a new call STATE_WAITING -> STATE_ORIGINATE

recalculate_name

Recalculate our name.

receive_call

Receive the incoming call STATE_WAITING -> STATE_ANSWER

toggle_handset

Toggle the state of the handset.