Maximilian Grobecker
2014-May-24 20:03 UTC
[asterisk-users] "transmit_silence" not properly recognized on 1.8 ?
Hello, I've got a problem at the moment, that setting "transmit_silence = yes" seems to have no effect on Asterisk 1.8-Certified. Although it's enabled and "core show settings" confirms, that it is really enabled, there are no RTP packets sent by Asterisk when waiting for DMTF input or when "Wait()" is called. Also, there seems to be a small gap of 2 or 3 not sent packets when playing several files one after another. At the moment I'm using Asterisk 1.8 Certified (Cert 5). In asterisk.conf I've set: highpriority = yes languageprefix = yes internal_timing = yes defaultlanguage = de transmit_silence = yes transcode_via_sln = yes documentation_language = en_US "core show settings" says: PBX Core settings ----------------- Version: 1.8.15-cert5 Build Options: DONT_OPTIMIZE, LOADABLE_MODULES, BUILD_NATIVE, G711_NEW_ALGORITHM, G711_REDUCED_BRANCHING, TEST_CODING_TABLES Maximum calls: Not set Maximum open file handles: Not set Verbosity: 8 Debug level: 0 Maximum load average: 0.000000 Minimum free memory: 0 MB Startup time: 21:29:18 Last reload time: 21:29:18 System: Linux/3.2.0-4-amd64 built by root on x86_64 2014-05-24 18:42:53 UTC System name: Entity ID: 00:25:xx:xx:xx:xx Default language: de Language prefix: Enabled User name and group: xxxx / xxxxxxx Executable includes: Disabled Transcode via SLIN: Enabled Internal timing: Enabled Transmit silence during rec: Enabled Generic PLC: Enabled Is there anything I could do for forcing transmitting silence without stopping sending RTP packets? Maybe this would solve the "issue" with the packet gaps between playbacks also. Greetings Max
Matthew Jordan
2014-May-27 15:45 UTC
[asterisk-users] "transmit_silence" not properly recognized on 1.8 ?
On Sat, May 24, 2014 at 3:03 PM, Maximilian Grobecker <m.grobecker at portunity.de> wrote:> Hello, > > I've got a problem at the moment, that setting "transmit_silence = yes" > seems to have no effect on Asterisk 1.8-Certified. > > Although it's enabled and "core show settings" confirms, that it is > really enabled, there are no RTP packets sent by Asterisk when waiting > for DMTF input or when "Wait()" is called. > Also, there seems to be a small gap of 2 or 3 not sent packets when > playing several files one after another. > ><snip> Without looking at a DEBUG log, I'm not sure what anyone can tell you. Wait does call ast_safe_sleep_conditional, which enables a silence generator on the channel if (a) there is no generator on the channel and (b) ast_opt_transmit_silence is true (which it should be based on your configuration): /* If no other generator is present, start silencegen while waiting */ if (ast_opt_transmit_silence && !chan->generatordata) { silgen = ast_channel_start_silence_generator(chan); } Starting a silence generator should emit a debug level 1 message indicating that it has started. If your log doesn't show that, then there may be another generator present that is preventing silence from kicking off. -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org
Maybe Matching Threads
- Bugfix for CVS-HEAD-06/26/04-21:56:45
- Asterisk on OpenWrt (first time user)
- DTMF not being heard correctly by far end conference system
- Soft SIP phones that support TLS - Asterisk version 13.13.1
- How to have callers not being billed when in waiting queue ? [SOLVED]