[asterisk-bugs] [JIRA] (ASTERISK-27802) bad sound quality with Playback following Record

Thierry Donnadieu (JIRA) noreply at issues.asterisk.org
Mon Apr 16 08:43:50 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thierry Donnadieu updated ASTERISK-27802:
-----------------------------------------

    Description: 
Hi,

When Playback follow Record in a dialplan I get a very noisy output. Obviusly does not come from the file as this one has good sound quality if I play it with "aplay" or if I comment the Record instruction

extensions.conf :
[from-internal]
exten = 100,1,Answer()
same => n,Record("/tmp/file_in.wav16",1,4)
;same => n,agi(halvox2.agi,fr-FR)
same =>	n,Playback("/tmp/file_out")
same => n,Hangup()
Doesn't seem to be related to the file format either as I have tried different file format (sln, sln16, ...). 
 Any help would be appreciated, thanks in anticipation,

           Thierry


  was:
Hi,

I am using an agi (hereafter halvox.agi) program to automatically answer spoken questions. 
halvox.agi  creates an output file named /tmp/file_out.wav16 

extensions.conf :
exten => 1000,1,NoOp()
same =>    n,Answer()
same =>    n(record),agi(halvox.agi,fr-FR)
same =>	  n,Playback("/tmp/file_out", "#")
same =>    n,Hangup()

after the agi call the file Playback has poor sound quality. This really seems  to be related to the agi call since if I comment the line ";same =>    n(record),agi(halvox.agi,fr-FR)" then sound quality is good.
Doesn't seem to be related to the file format either as I have tried different file format (sln, sln16, ...). I have also tried to run the Playback inside the agi script, same issue.
Any clue why the agi call changes the way Playback behave ? Any help would be appreciated, thanks in anticipation,

           Thierry


    Environment: Ubuntu 16.04  (was: Ubuntu 16.04
agi scrit in perl)
        Summary: bad sound quality with Playback following Record  (was: bad sound quality with Playback only following agi call)

> bad sound quality with Playback following Record
> ------------------------------------------------
>
>                 Key: ASTERISK-27802
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27802
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 15.3.0
>         Environment: Ubuntu 16.04
>            Reporter: Thierry Donnadieu
>
> Hi,
> When Playback follow Record in a dialplan I get a very noisy output. Obviusly does not come from the file as this one has good sound quality if I play it with "aplay" or if I comment the Record instruction
> extensions.conf :
> [from-internal]
> exten = 100,1,Answer()
> same => n,Record("/tmp/file_in.wav16",1,4)
> ;same => n,agi(halvox2.agi,fr-FR)
> same =>	n,Playback("/tmp/file_out")
> same => n,Hangup()
> Doesn't seem to be related to the file format either as I have tried different file format (sln, sln16, ...). 
>  Any help would be appreciated, thanks in anticipation,
>            Thierry



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



More information about the asterisk-bugs mailing list