[asterisk-bugs] [JIRA] (ASTERISK-24373) Sub-second silence

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Oct 1 14:55:31 CDT 2014


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

Richard Mudgett commented on ASTERISK-24373:
--------------------------------------------

@Corey
Wait() can generate silence frames.  You just need to enable the feature that would do it.  However, it may do more than you would like.

In asterisk.conf
{noformat}
;transmit_silence = yes		; Transmit silence while a channel is in a
				; waiting state, a recording only state, or
				; when DTMF is being generated.  Note that the
				; silence internally is generated in raw signed
				; linear format. This means that it must be
				; transcoded into the native format of the
				; channel before it can be sent to the device.
				; It is for this reason that this is optional,
				; as it may result in requiring a temporary
				; codec translation path for a channel that may
				; not otherwise require one.
{noformat}

> Sub-second silence
> ------------------
>
>                 Key: ASTERISK-24373
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24373
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Sounds
>    Affects Versions: SVN
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>            Severity: Minor
>         Attachments: 20ms.ulaw
>
>
> In some situations it is necessary to send at least 1 audio frame to a channel before audio can be received.  I believe it would be very helpful to add silence/20ms audio files to the standard audio distribution.  I'm unsure if other lengths would also be useful.  For my own use 20ms is enough to allow audio to start flowing in both directions.
> As another thought, maybe it would be useful to have an option for Wait to play silence of arbitrary length, for example: Wait(0.02,s).  I still think adding a minimum length silent audio to the sounds distribution would be useful since an option to generate silence from Wait() is unlikely to happen in released branches.



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



More information about the asterisk-bugs mailing list