Skip to content

Create SIP DTMF Response

This processor will create a SIP DTMF response from the provided parameters. If this message is output to a SIP module using the module.output processor, then the SIP module will send the response to the caller and play the DTMF tones specified.

  • typesip.response.dtmf.create
  • params:
    • digits: DTMF digits to send
    • postWait: number of milliseconds to wait after sending the DTMF tones
    • preWait: number of milliseconds to wait before sending the DTMF tones

This example will create a SIP response that will wait 1 second then play the DTMF digits “1234” then wait another second before completing the response.

- type: sip.response.dtmf.create
params:
preWait: 1000
digits: "1234"
postWait: 1000