[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 19:18:36 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252512#comment-252512 ] 

Benjamin M. commented on ASTERISK-29136:
----------------------------------------

Kris, you are right: Removing the quote marks prevents the error. Minimally the features.conf.sample file should be fixed in that case, the lack of consistency is obvious:

;xfersound = beep               ; to indicate an attended transfer is complete
;xferfailsound = beeperr        ; to indicate a failed transfer

;transferretrysound = "beep"    ; Sound to play when a transferer fails to dial a valid extension.
;transferinvalidsound = "beeperr" ; Sound to play when a transferer fails to dial a valid extension and is out of retries.


> 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 and no 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