Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
r2test.conf(5)							r2test.conf(5)

NAME
       r2test.conf - OpenR2 r2test program configuration file

SYNOPSIS
       /etc/openr2/r2test.conf

DESCRIPTION
       This file defines the behavior of the r2test program

       This file works pretty much like	Asterisk zapata.conf file, the channel
       parameter will create a R2 context with the specified range of channels
       and will	take all the preceding parameters as configuration.

SYNTAX
       No spaces are allowed in	parameter definition, lines starting with # or
       spaces will be ignored

       This definition will not	be read	properly

       param = value

       This definition will be read fine

       param=value

OPTIONS
       category=_NATIONAL_SUBSCRIBER,  NATIONAL_PRIORITY_SUBSCRIBER,  INTERNA-
       TIONAL_SUBSCRIBER, INTERNATIONAL_PRIORITY_SUBSCRIBER_
	      Defines  the  call  category  of	subscriber.  Defaults  to  NA-
	      TIONAL_SUBSCRIBER

       loglevel=_all,error,warning,debug,notice,cas,mf,stack,nothing_
	      Defines the log level for	debugging purposes. Defaults to	all

	      error, warning, debug, notice These options are self-descriptive

	      cas is for logging ABCD CAS tx and rx

	      mf is for	logging	of the Multi Frequency tones

	      stack is for very	verbose	output of the channel and context call
	      stack, only useful if you	are debugging a	crash or want to learn
	      how the library works.  The stack	logging	will be	 only  enabled
	      if the OpenR2 library was	compiled with -DOR2_TRACE_STACKS

	      all is a special value to	log all	the activity

	      nothing is a clean-up value, in case you want to not log any ac-
	      tivity for a channel or group of channels

	      You can mix up values, like: loglevel=error,debug,mf to log just
	      error, debug and multi frequency messages

       callfile=_yes|no_
	      Call  files  useful  to debug signaling issues are dumped	in the
	      current directory	if this	parameter is enabled. Defaults to no

       variant=_br,mx,ar,itu_
	      R2 country variant. Defaults to mx

       maxani How much ANI to expect. Defaults to 10

       maxdnis
	      How much DNIS to expect. Defaults	to 4

       getanifirst=<yes|no>
	      Whether or not we	want to	request	ANI first. Defaults to no

       usedahdimf=_yes|no_
	      Whether to use the built-in OpenR2 MF tone generation  or	 DAHDI
	      MF tone generation. DAHDI	is faster since	it does	not require to
	      copy user	space buffers to the kernel, however this option  will
	      only  be	available when the configure script detects DAHDI sup-
	      port for MF R2 tone generation.  Defaults	to no

       mfthreshold
	      MF threshold in milliseconds. This is the	amount of time a R2 MF
	      signal is	required to be ON or OFF after has been	detected to be
	      handled. 0 means as soon as we detect a  signal  we  handle  it.
	      This  aids when a	buggy generator	or detector causes small false
	      positives. Defaults to 0

       mfbacktimeout
	      MF backward timeout in milliseconds to use OpenR2	 default  just
	      specify any negative number or comment this line.	Defaults to -1

       meteringpulsetimeout
	      Value  in	milliseconds for the metering pulse timeout, any nega-
	      tive value means default.	Defaults to -1

       collectcalls=_yes|no_
	      Whether to accept	collect	calls  (see  also  doubleanswer).  De-
	      faults to	no

       doubleanswer=_yes|no_
	      This  option are related but independent of collectcalls.	If you
	      have problems to block collect calls using Group B signals (col-
	      lectcalls), enable this option. Defaults to no

       immediateaccept=_yes|no_
	      Whether  to  skip	 Group B/II signals and	go directly to the ac-
	      cepted state for an incoming call. Defaults to no

       advancedprotocolfile
	      This option is for advanced users	only! Define a file that  con-
	      tains  hacks  to	R2 protocol. This allow	advanced users to fine
	      tune the library or make test with specific scenarios to include
	      in the library in	the future.

       playaudio=_yes|no_
	      This  feature  allows  you to play an alaw audio file for	incom-
	      ing/outgoing calls.  Defaults to no

       audiofile
	      If you set playaudio=yes you should provide the path to the  au-
	      dio file

       channel
	      Define  range  of	 channels to configure using previous options.
	      The channel range	must be	specified, unless you  will  use  only
	      one  channel.  If	 this  option is specified after dnid, cid and
	      caller that options will be used.	Defaults to

	      channel=1-15
	      channel=17-31

       dnid   Defines the destination number. Only used	if .B caller = yes

       cid    Defines the caller id number. Only used if .B caller = yes

       caller=_yes|no_
	      Whether or not the group of channels will	start a	 call  to  the
	      specified	dnid.  Defaults	to yes

FILES
       /etc/openr2/r2test.conf

       /etc/openr2/r2proto.conf

SEE ALSO
       r2test(8)

AUTHOR
       This manual page	was written by Alexandre Cavalcante Alencar
       <alexandre.alencar@gmail.com>

       Permission  is  granted to copy,	distribute and/or modify this document
       under the terms of the GNU General Public License, Version 2 any	 later
       version published by the	Free Software Foundation.

Moises Silva			     1.0.0			r2test.conf(5)

NAME | SYNOPSIS | DESCRIPTION | SYNTAX | OPTIONS | FILES | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=r2test.conf&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help