Skip to content

NethVoice: IVR timeout not handled correctly when created via Visual Plan #7857

@mgarra

Description

@mgarra

Description

When creating an IVR via Visual Plan, configuring:

  • Standard options
  • Timeout and Invalid destinations
  • Some IVR Entries with their related destinations

the timeout handling does not work correctly.

When the timeout expires, the IVR enters the t extension, but the Playback application is executed without any argument, causing an abnormal call termination.


Incorrect behavior

After the timeout occurs, the following messages appear in the log:

-- Timeout on PJSIP/91201-00000021, going to 't'
-- Executing [t@ivr-2:1] Playback("PJSIP/91201-00000021", "") in new stack
[2026-02-09 18:17:33] WARNING[67907][C-0000001c]: app_playback.c:471 playback_exec: Playback requires an argument (filename)
== Spawn extension (ivr-2, t, 1) exited non-zero on 'PJSIP/91201-00000021'
-- Executing [h@ivr-2:1] Hangup("PJSIP/91201-00000021", "") in new stack
== Spawn extension (ivr-2, h, 1) exited non-zero on 'PJSIP/91201-00000021'

Correct behavior (after saving the IVR from FreePBX)

After performing a simple save of the same IVR from FreePBX, without changing any configuration, the timeout is handled correctly and the call is forwarded to the expected destination:

-- Timeout on PJSIP/91201-00000026, going to 't'
-- Executing [t@ivr-2:1] Playback("PJSIP/91201-00000026", "no-valid-responce-transfering") in new stack
-- <PJSIP/91201-00000026> Playing 'no-valid-responce-transfering.slin' (language 'it')
-- Executing [t@ivr-2:2] Goto("PJSIP/91201-00000026", "from-did-direct,200,1") in new stack
-- Goto (from-did-direct,200,1)

Additional observation

It was also noticed that:

  • Before saving the IVR from FreePBX, the Direct Dial option is not set (the selector is neither Yes nor No)
  • After saving the IVR from FreePBX, the Direct Dial option is automatically set to “Yes”

This suggests that the IVR configuration generated by Visual Plan may be incomplete or inconsistent, affecting the correct timeout handling.

See also:
https://mattermost.nethesis.it/nethesis/pl/szkzfe13r3gazkz5otzp5dhmfe

Metadata

Metadata

Labels

nethvoiceBug or features releted to the NethVoice project

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions