audio.nms.OPSCollectDigitnum

Enables the Telephony Session service to collect the ANI/DNIS (caller/called numbers) as DTMF strings and provide them as From and To in the initial INVITE. This is used only with the OPS protocol. The default is disabled.

The syntax is:

audio.nms.OPSCollectDigitnum=digit_type,first_digit_timeout,
inter_digit_timeout,terminating_digit,max_digits_to_collect

Where:

  • num is 1 or 2
  • digit_type is ani or dnis
  • first_digit_timeout is the time, in milliseconds, to wait for the first DTMF digit
  • inter_digit_timeout is the time, in milliseconds, allowed between individual DTMF digits
  • terminiating_digit indicates the end of the current sequence
  • max_digits_to_collect is the maximum allowable number of DTMF digits to collect

Say you set:

  • audio.nms.OPSCollectDigit1=ani,3500,2000,#,5
  • audio.nms.OPSCollectDigit2=dnis,3500,2000,#,5

If the PBX sends 1 2 3 4 # 5 6 7 8 #, then1234 is the ANI and 5678 is the DNIS. Note that even though the maximum number of digits to collect in this example is 5, if the terminating digit is received before reaching this value, then the ANI or the DNIS will be set to what has been collected so far.