By using the Aculab site, you agree with our use of cookies.
right  Talk To Us!

classify callee

This controls parameters used in the classification of the type of callee during a connect action.

Used by action connect

language wrappers and examples

It contains the following properties:

Property Required/Optional Default Description
enable optional true true or false. Whether to enable classification of the far end of the secondary call.
live speaker detection mode optional default One of default, network_connect or answer_detect. See the live speaker detection guide for details of these modes.
milliseconds timeout optional 7000 An integer in the range 500-10000. The timeout for classification in milliseconds.
hang up on answering machine optional true Hang up the secondary call if it is to an answering machine.
hang up on fax machine optional true Hang up the secondary call if it is to a fax machine.
answering machine ready to record optional - An answering machine ready to record object.

  • Examples:


    • Configure classifying the callee. If it is an answering machine wait for the message to finish but hang up if it's a fax machine:

          {
      		"enable" : true,
      		"live_speaker_detection_mode" : "network_connect",
      		"milliseconds_timeout" : 5000,
      		"hang_up_on_answering_machine" : false,
      		"hang_up_on_fax_machine" : true,
      		"answering_machine_ready_to_record" :
      		{
      			"milliseconds_min_beep_duration" : 300,
      			"milliseconds_post_beep_silence" : 2000,
      			"milliseconds_no_beep_silence" : 10000,
      			"seconds_max_message_duration" : 30
      		}
      	}