Commit Graph

170 Commits

Author SHA1 Message Date
Russell Bryant f0a0c8eb29 convert malloc+memset to ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-18 18:55:35 +00:00
Tilghman Lesher cb73379319 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: https://origsvn.digium.com/svn/asterisk/trunk@13096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15 18:15:33 +00:00
Tilghman Lesher fcc0ca8627 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: https://origsvn.digium.com/svn/asterisk/trunk@12793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 15:30:02 +00:00
Tilghman Lesher f1209276fd Bug 4377 - Initial round of loader changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 23:08:06 +00:00
Kevin P. Fleming a16ae226b6 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: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant e01861fafd 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: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 17:18:58 +00:00
Olle Johansson 9863ed4624 Whitespace change, extra <tab> added from my tab storage.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 10:36:45 +00:00
Kevin P. Fleming 21347757ef 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: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 05:15:33 +00:00
Mark Spencer e2ef61814f Add support for H.264 with SIP and recording
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 17:54:22 +00:00
Kevin P. Fleming a4f8d466e8 update copyright headers for files changed this year
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 22:16:23 +00:00
Kevin P. Fleming 815d2413ff fix breakage from rev 7730 (failure to unlock list in get_proto)
minor cleanups and simpler usage of list macros


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 17:08:35 +00:00
Olle Johansson 715a220850 Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update doxygen docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 09:30:19 +00:00
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Mark Spencer 0d32a85be1 Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 17:52:31 +00:00
Russell Bryant 68fa778314 do not allow an rtp message with zero type (issue #5749)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 14:24:50 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Mark Spencer 4606d74a66 Fix wrap around for rtp (bug #5595)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 04:07:03 +00:00
Kevin P. Fleming be7cdd4cd1 issue #5595
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:44:47 +00:00
Kevin P. Fleming cb28ef70bc allow DTMF timeout to be configurable (issue #5160)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 00:06:43 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer 141d9f7156 Make sure when the timeout occurs that we actually break the bridge (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 17:02:20 +00:00
Kevin P. Fleming 1e21c56426 use existing sample size in frame instead of recalculating it (issue #5390)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:03:41 +00:00
Mark Spencer dd11afca42 Fix call timeouts with rtp bridge etc (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 18:27:54 +00:00
Russell Bryant 8e5d45f3ac fix some formatting and add some comments (issue #5403)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 20:45:18 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming 60ffafcc39 allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 19:54:34 +00:00
Kevin P. Fleming 19a4e8fe6d 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: https://origsvn.digium.com/svn/asterisk/trunk@6534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 20:33:30 +00:00
Mark Spencer 5d4d2fdfd4 Add SIP video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Mark Spencer 8b7e1054fe Fix accidental RTCP/RTP linkage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-12 18:59:43 +00:00
Kevin P. Fleming ce7a1e4768 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: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 01:59:59 +00:00
Mark Spencer a384e30271 Improve RTP comments (bug #4792 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 05:00:42 +00:00
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming 990bba90a7 ensure we record the last seqno we transmitted (bug #4659)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-14 23:58:36 +00:00
Kevin P. Fleming 5b11473088 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: https://origsvn.digium.com/svn/asterisk/trunk@6116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 23:36:00 +00:00
Mark Spencer 02998cb285 Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:13:01 +00:00
Mark Spencer 01c96e65f6 Don't try to read from an rtcp if there isn't one
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 16:46:44 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Jeremy McNamara 59e98b5540 fix wordwrap
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 00:50:38 +00:00
Jeremy McNamara ed447c9cfe Spell noise correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 00:49:41 +00:00
Russell Bryant 0dc3f6ee76 add comments, fix typos, and add note on default values (bug #4284)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:22:34 +00:00
Kevin P. Fleming 5c88a00280 fix RTP DTMF for Sipura SPA-3000 (bug #3675, yet again)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:06:16 +00:00
Kevin P. Fleming 6cd4f9a8d3 correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Mark Spencer c936fc827c Add remainder of rtp fixes, iax2 patch (bug #3961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Kevin P. Fleming 23d7376f4d properly strip incoming padded RTP frames (bug #4264)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:41:12 +00:00
Kevin P. Fleming 9bd5c1d95b don't report EAGAIN as an error (bug #4128)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:43:30 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming 35f2e4b8ae ensure that sequential DTMF sent via RTP has some 'dead air' between digits (bug #3675)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 16:46:25 +00:00
Kevin P. Fleming 228f03ae87 use more efficient code to produce non-codec-capability list (bug #3960)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 03:43:59 +00:00
Kevin P. Fleming c7c20f8656 report non-codec capabilities in 'sip debug' properly (bug #3960)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 23:34:56 +00:00