VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
m.grobecker at portuni... Guest
|
Posted: Sat May 24, 2014 3:03 pm Post subject: [asterisk-users] "transmit_silence" not properly r |
|
|
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Tue May 27, 2014 10:46 am Post subject: [asterisk-users] "transmit_silence" not properly r |
|
|
On Sat, May 24, 2014 at 3:03 PM, Maximilian Grobecker
<m.grobecker@portunity.de> wrote:
Quote: | 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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|