Commit Graph

242 Commits (46700b62af160f760b29c4e10449f0fb9a95dbfd)

Author SHA1 Message Date
Joshua Colp 46700b62af Disable the more intense packet2packet bridging until the bugs can be worked out.
19 years ago
Jason Parker 9e621e99a5 Save 1 whopping byte of allocated memory!
19 years ago
Kevin P. Fleming d2d50d7a8e ast_func_read() needs a writable copy of the function name to be passed
19 years ago
Kevin P. Fleming c56f17425c don't 'consume' the params list before we try to use it again
19 years ago
Kevin P. Fleming 444adcb477 reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
19 years ago
Joshua Colp ac75028a50 Don't keep repeating the warning over and over when the end of the call is reached. (issue #8724 reported by xrg)
19 years ago
Kevin P. Fleming 46d91e71c5 add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands
19 years ago
Joshua Colp 3d460e5a68 Only free comments and line buffer once we reach the first level. (issue #8678 reported by ssokol, fixed by anthonyl)
19 years ago
Kevin P. Fleming 24bb7d865e don't mark these allocations as 'cache' allocations when caching has been disabled
19 years ago
Kevin P. Fleming fa5de60c6e don't do frame header caching in the core if LOW_MEMORY is defined
19 years ago
Steve Murphy 49cce60e51 This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
19 years ago
Jason Parker 0b50088366 Allow fractions of a second in the Wait() application, like it says it allows.
19 years ago
Joshua Colp 156a6cf5db If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)
19 years ago
Jason Parker 52fb756adc Fix some deprecated commands.
19 years ago
Jason Parker c38c990bc7 saw this in passing... fix a small typo
19 years ago
Jason Parker c2f688d2fd make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk
19 years ago
Steve Murphy 4d6a91eef0 removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
19 years ago
Joshua Colp 6d582d75c7 ast_copy_string is not available when LOW_MEMORY is used and things are being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano)
19 years ago
Kevin P. Fleming a299485952 since these variables all have static duration, none of them need initializers (they default to zero anyway)
19 years ago
Kevin P. Fleming 3307ae060a move extern declaration for this option to a header file where it belongs
19 years ago
Kevin P. Fleming b2c8abbc6d allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
19 years ago
Joshua Colp 9cc04e026d Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
19 years ago
Russell Bryant 395db9ea8b Implement locking for the list of URI handlers to make it thread-safe.
19 years ago
Jason Parker d017436015 Minor fixes for Solaris.
19 years ago
Kevin P. Fleming 9a78e1f90e remove some now-unnecessary explicit includes of autoconfig.h
19 years ago
Kevin P. Fleming 0509ca82b4 simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script
19 years ago
Kevin P. Fleming be1b5dab06 since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)
19 years ago
Joshua Colp 8df2c7228f Turn payload_lock into bridge_lock and make it encompass all RTP structure contents that may relate to bridge information, including who we are bridged to.
19 years ago
Joshua Colp 0995fb8aeb Payload values on the RTP structure can change AFTER a bridge has started. This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman)
19 years ago
Joshua Colp 87a03da072 Remove direct RTCP bridging. I've come to the conclusion that we should handle this through the core and not just forward it on. Should solve a few bugs.
19 years ago
Joshua Colp c866263f50 Merge in my latest RTP changes. Break out RTP and RTCP callback functions so they no longer share a common one.
19 years ago
Steve Murphy 0ab411f2ed Here lies the fixes that killed bug 8423 -- OriginateSuccess and OriginateError incomplete channel name. May it rest in peace.
19 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
19 years ago
Tilghman Lesher a78cc926d4 Double-unlock error (reported by blitzrage on IRC)
19 years ago
Joshua Colp b2b70adede Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)
19 years ago
Joshua Colp 191c129b4f Merged revisions 48151 via svnmerge from
19 years ago
Joshua Colp 558639ff6a Merged revisions 48106 via svnmerge from
19 years ago
Russell Bryant a569bfd1f2 Remove a couple of unused variables (issue #8380, casper)
19 years ago
Steve Murphy e6ce5ce979 bug 8189 posted this fix for main/translate.c for PLC
19 years ago
Joshua Colp 090c412c27 Video will never reach Packet2Packet bridging and can do more harm then good.
19 years ago
Joshua Colp 8c0f4c8711 If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)
19 years ago
Joshua Colp 0e684abd82 Merged revisions 47859 via svnmerge from
19 years ago
Joshua Colp b42279c142 Only remove/destroy the RTCP I/O item if it exists.
19 years ago
Joshua Colp cb11263607 We need to ensure timelimit stuff is included as well so warnings get played. (issue #8050 reported by KNK)
19 years ago
Kevin P. Fleming 3302cbea3e don't try to call fclose() if fopen() failed
19 years ago
Kevin P. Fleming 7a5771161e Merged revisions 47686,47688-47689 via svnmerge from
19 years ago
Kevin P. Fleming cb4ed839c3 Merged revisions 47682 via svnmerge from
19 years ago
Luigi Rizzo a9057b2c65 fix longest match search in find_cli.
19 years ago
Joshua Colp bc6cff37bc If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)
19 years ago
Kevin P. Fleming 8dc804fafe more formatting cleanup, and avoid running off the end of the string
19 years ago