[asterisk-bugs] [JIRA] (ASTERISK-23608) ControlPlayback fails to play files with names containing certain non-alpha characters

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Apr 14 13:14:20 CDT 2014


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

Rusty Newton commented on ASTERISK-23608:
-----------------------------------------

Confirmed, it appears to fail on file-names with a colon. Hyphens alone don't seem to cause a problem. I didn't test any other characters. Here is what we see on the console when it appears to play, but we get no audio at all.

{noformat}
    -- Executing [100 at from-internal:3] ControlPlayback("SIP/6002-00000000", "/tmp/demo:congrats:colons,500") in new stack
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: app_controlplayback.c:249 controlplayback_exec: Forward key = #, Rewind key = *
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:5408 set_format: Set channel SIP/6002-00000000 to write format gsm
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: res_rtp_asterisk.c:2825 ast_rtp_write: Ooh, format changed from unknown to ulaw
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: res_rtp_asterisk.c:2862 ast_rtp_write: Created smoother: format: ulaw ms: 20 len: 160
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:3467 ast_settimeout_full: Scheduling timer at (50 requested / 50 actual) timer ticks per second
    -- <SIP/6002-00000000> Playing '/tmp/demo:congrats:colons.gsm' (language 'en')
    -- ControlPlayback seek to offset 0 from end
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:3467 ast_settimeout_full: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:3467 ast_settimeout_full: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:3467 ast_settimeout_full: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: channel.c:5408 set_format: Set channel SIP/6002-00000000 to write format ulaw
[Apr 14 13:12:01] DEBUG[19318][C-00000000]: pbx.c:4871 pbx_extension_helper: Launching 'Wait'
    -- Executing [100 at from-internal:4] Wait("SIP/6002-00000000", "5") in new stack
{noformat}

> ControlPlayback fails to play files with names containing certain non-alpha characters
> --------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23608
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23608
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_controlplayback
>    Affects Versions: SVN, 11.7.0, 12.1.1
>         Environment: Centos 6.5
>            Reporter: Jonathan White
>
> ControlPlayback can not replay complicated file names
> For example it can replay
> 1005
> but it can not replay
> 1005-2014-04-08_23:58:17
> Playback can replay
> 1005-2014-04-08_23:58:17
> I suspect this is related to how the variables are parsed and parameters set



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



More information about the asterisk-bugs mailing list