rizzo
dca83005a5
- use '=' to copy struct sockaddr_in
...
- localize a variable
- replace three replicas of the same code with a much simpler construct
removing replicated var = var->next;
- use '?' instead of 'if' for an assignment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 00:36:05 +00:00
rizzo
937c5b6621
- use '?' instead of if statements for assignment;
...
- fix indentation in a few places
- use a variable to store the 'other' channel, thus removing
the need for some duplicated code;
- use '=' instead of memcpy to copy struct sockaddr_in
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 23:30:18 +00:00
tilghman
e0ba99b7f5
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
russell
ecc61e3141
make an error message more descriptive (issue #6855 )
...
M rtp.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 17:46:03 +00:00
russell
0f642e9987
convert malloc+memset to ast_calloc
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-18 18:55:35 +00:00
tilghman
f2b299b22e
Merged revisions 13095 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13095 | tilghman | 2006-03-15 12:07:06 -0600 (Wed, 15 Mar 2006) | 2 lines
Reverting patch from bug 6667
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15 18:15:33 +00:00
tilghman
c6f233ebd4
Merged revisions 12792 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r12792 | tilghman | 2006-03-13 09:28:35 -0600 (Mon, 13 Mar 2006) | 2 lines
Bug 6667 - Fix for RFC2833 issues
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12793 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13 15:30:02 +00:00
tilghman
e1bdf6e7ef
Bug 4377 - Initial round of loader changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10084 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 23:08:06 +00:00
kpfleming
21d21f89c0
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
russell
b55d2bd3ea
define a global null_frame object so when queueing a null frame, you don't
...
have to allocate one on the stack
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:18:58 +00:00
oej
b259323abc
Whitespace change, extra <tab> added from my tab storage.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 10:36:45 +00:00
kpfleming
2684505cef
don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 05:15:33 +00:00
markster
d1d90f47fd
Add support for H.264 with SIP and recording
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 17:54:22 +00:00
kpfleming
385d29ad6f
update copyright headers for files changed this year
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
kpfleming
852c5ac7f5
fix breakage from rev 7730 (failure to unlock list in get_proto)
...
minor cleanups and simpler usage of list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7739 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 17:08:35 +00:00
oej
1481c4a127
Bug #6109 : Fix unprotected list in RTP, implement AST_LIST macros, update doxygen docs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7730 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 09:30:19 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
markster
37635ecfdd
Major RTP fixes for using inbound SDP on outbound connection, get rid of
...
old local rtp stuff...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 17:52:31 +00:00
russell
d8edf984a5
do not allow an rtp message with zero type (issue #5749 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7232 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30 14:24:50 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
markster
2fa6d0b41c
Fix wrap around for rtp (bug #5595 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7069 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 04:07:03 +00:00
kpfleming
82a6c86786
issue #5595
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7009 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:44:47 +00:00
kpfleming
fa47ab787a
allow DTMF timeout to be configurable (issue #5160 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6918 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 00:06:43 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
8dd051949d
Make sure when the timeout occurs that we actually break the bridge (bug #5252 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6791 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 17:02:20 +00:00
kpfleming
2005e0ae93
use existing sample size in frame instead of recalculating it (issue #5390 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6781 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:03:41 +00:00
markster
9ebd430cd3
Fix call timeouts with rtp bridge etc (bug #5252 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6759 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 18:27:54 +00:00
russell
a0b96d4037
fix some formatting and add some comments (issue #5403 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6752 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12 20:45:18 +00:00
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
b0c5a1fc33
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09 19:54:34 +00:00
kpfleming
d893a6b739
clarify transmission failure message when RTP peer is behind NAT (issue #5136 with mods to use flag bits instead of new variable)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6534 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 20:33:30 +00:00
markster
cd0067f95a
Add SIP video fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:12:09 +00:00
markster
3651af2fe5
Fix accidental RTCP/RTP linkage
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6325 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-12 18:59:43 +00:00
kpfleming
e915d19e2f
bridging code cleanups:
...
code style, formatting
use enum/symbolic constants for return codes
efficiency improvements
(zaptel) only disable DTMF detection once per bridge, not every frame
(zaptel) ensure VPM DTMF detector is turned off during native bridge
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 01:59:59 +00:00
markster
250af0b599
Improve RTP comments (bug #4792 with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6270 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 05:00:42 +00:00
kpfleming
ff15e0fa53
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming
723dd748ca
ensure we record the last seqno we transmitted (bug #4659 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6129 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-14 23:58:36 +00:00
kpfleming
c52acdaf45
send final 3 RFC2833 packets with same seqno (bug #4659 )
...
don't reprocess incoming RFC2833 event when packets received out of order (bug #4659 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6116 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 23:36:00 +00:00
markster
0ca4f19509
Revert silly "sipura fix" which breaks RFC compatibility (bug #4549 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5935 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18 17:13:01 +00:00
markster
271908cfc8
Don't try to read from an rtcp if there isn't one
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5934 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18 16:46:44 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
jeremy
4fd6d70d9b
fix wordwrap
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5810 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02 00:50:38 +00:00
jeremy
e1227b3cb5
Spell noise correctly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5809 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02 00:49:41 +00:00
russell
6667d98bfd
add comments, fix typos, and add note on default values (bug #4284 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5696 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-16 13:22:34 +00:00
kpfleming
3a611c8419
fix RTP DTMF for Sipura SPA-3000 (bug #3675 , yet again)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5666 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 04:06:16 +00:00
kpfleming
92f76b2bc8
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 03:21:51 +00:00
markster
86aa2b26f8
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:57:44 +00:00
kpfleming
226b476d7f
properly strip incoming padded RTP frames (bug #4264 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5652 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:41:12 +00:00
kpfleming
a897828905
don't report EAGAIN as an error (bug #4128 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5570 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 04:43:30 +00:00