search for: ast_tvnow

Displaying 5 results from an estimated 5 matches for "ast_tvnow".

2013 Sep 14
1
Asterisk-1.8.23.1 mysql cdr
...* time of the call. If someone really wants the old compatible * behavior, it's provided here. */ if (calldate_compat) { struct timeval tv = ast_tvnow(); struct ast_tm tm; char timestr[128]; ast_localtime(&tv, &tm, ast_str_strlen(cdrzone) ? ast_str_buffer(cdrzone) : NULL); ast_strf...
2023 Apr 17
1
RTP address learning and timing problem
Hi Joshua, Thank you for that. From the code it kind of looks like STRICT_RTP_LEARN_TIMEOUT is a minimum, not a maximum: if (!ast_sockaddr_isnull(&rtp->strict_rtp_address) && STRICT_RTP_LEARN_TIMEOUT < ast_tvdiff_ms(ast_tvnow(), rtp->rtp_source_learn.start)) { ast_verb(4, "%p -- Strict RTP learning complete - Locking on source address %s\n", Our call shows: # grep C-00024cd5 full.log | egrep 'Strict RTP' [Feb 22 11:16:41] VERBOSE[29023][C-00024cd5] res_rtp_asterisk.c: > 0x2b308c074f80 --...
2023 Apr 18
1
RTP address learning and timing problem
...m at voisonics.com> wrote: > Hi Joshua, > > Thank you for that. From the code it kind of looks like > STRICT_RTP_LEARN_TIMEOUT is a minimum, not a maximum: > > if (!ast_sockaddr_isnull(&rtp->strict_rtp_address) > && STRICT_RTP_LEARN_TIMEOUT < ast_tvdiff_ms(ast_tvnow(), > rtp->rtp_source_learn.start)) { > ast_verb(4, "%p -- Strict RTP learning complete - Locking on source > address %s\n", > > Our call shows: > > # grep C-00024cd5 full.log | egrep 'Strict RTP' > [Feb 22 11:16:41] VERBOSE[29023][C-00024cd5] res_rtp_ast...
2023 Apr 17
1
RTP address learning and timing problem
It's probably best if you read the logic[1]. There's an entire comment that talks about how it works. [1] https://github.com/asterisk/asterisk/blob/20/res/res_rtp_asterisk.c#L8158 On Mon, Apr 17, 2023 at 7:10 PM David Cunningham <dcunningham at voisonics.com> wrote: > Hi Joshua, > > Could you confirm if the 5 second period for learning a new audio stream > is a minimum
2010 Apr 06
2
polarity reverse
Hi, I have a problem with polarity reverse this my dahdi config [channels] context=default usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1