[asterisk-bugs] [JIRA] (ASTERISK-29136) features.conf: transferretrysound / transferinvalidsound require full paths to work

Benjamin M. (JIRA) noreply at issues.asterisk.org
Tue Oct 20 12:48:36 CDT 2020


Benjamin M. created ASTERISK-29136:
--------------------------------------

             Summary: features.conf: transferretrysound / transferinvalidsound require full paths to work
                 Key: ASTERISK-29136
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29136
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Features
    Affects Versions: 17.7.0
            Reporter: Benjamin M.
            Severity: Minor


"transferretrysound" / "transferinvalidsound" require absolute paths to work. 

If, as per the documentation / configuration example, only the filenames are used a warning is generated an not sound is played. 

[general]
transferretrysound = "beep" 
transferinvalidsound = "beeperr"

[Oct 20 13:12:46] WARNING[3190][C-00000042]: file.c:789 ast_openstream_full: File "/var/lib/asterisk/sounds/en/beep" does not exist in any format
[Oct 20 13:12:46] WARNING[3190][C-00000042]: file.c:1262 ast_streamfile: Unable to open "/var/lib/asterisk/sounds/en/beep" (format (ulaw)): No such file or directory
    -- Channel PJSIP/4030-00000072: Dialed no digits.
[Oct 20 13:12:49] WARNING[3190][C-00000042]: file.c:789 ast_openstream_full: File "/var/lib/asterisk/sounds/en/beep" does not exist in any format
[Oct 20 13:12:49] WARNING[3190][C-00000042]: file.c:1262 ast_streamfile: Unable to open "/var/lib/asterisk/sounds/en/beep" (format (ulaw)): No such file or directory
    -- Channel PJSIP/4030-00000072: Dialed no digits.
[Oct 20 13:12:52] WARNING[3190][C-00000042]: file.c:789 ast_openstream_full: File "/var/lib/asterisk/sounds/en/beeperr" does not exist in any format
[Oct 20 13:12:52] WARNING[3190][C-00000042]: file.c:1262 ast_streamfile: Unable to open "/var/lib/asterisk/sounds/en/beeperr" (format (ulaw)): No such file or directory
[Oct 20 13:12:52] WARNING[3190][C-00000042]: bridge_basic.c:3361 feature_attended_transfer: Channel PJSIP/4030-00000072: Unable to acquire target extension for attended transfer.

***

Absolute paths are working:

[general]
transferretrysound = "/var/lib/asterisk/sounds/en/beep.ulaw" 
transferinvalidsound = "/var/lib/asterisk/sounds/en/beeperr.ulaw"

***

Remarks:
  - Bug was present in 15.x as well.
  - pickupsound / pickupfailsound could also be affected



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list