aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2006-12-30If the Packet2Packet bridge is being broken because of a masquerade then ↵file1-0/+4
attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28Fix some deprecated commands.qwell1-6/+177
Issue 8682, patch by me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49035 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28saw this in passing... fix a small typoqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49032 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28make the uris_lock a rwlock instead of a mutex lock - needs to be forward ↵qwell1-11/+11
ported to trunk git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49024 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix ↵murf5-87/+75
to frame.c to avoid build-killing compiler warnings. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27ast_copy_string is not available when LOW_MEMORY is used and things are ↵file1-3/+3
being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27since these variables all have static duration, none of them need ↵kpfleming14-49/+49
initializers (they default to zero anyway) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27move extern declaration for this option to a header file where it belongskpfleming2-3/+1
provide an initial value for 'languageprefix' option, instead of relying on randomness to provide a useful value git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48998 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27allow 'show memory' and 'show memory summary' to distinguish memory ↵kpfleming2-20/+57
allocations that were done for caching purposes, so they don't look like memory leaks git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-26Add an API call that initializes an RTP structure. We need this because ↵file1-6/+18
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) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-23Implement locking for the list of URI handlers to make it thread-safe.russell1-4/+22
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48931 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Minor fixes for Solaris.qwell1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18remove some now-unnecessary explicit includes of autoconfig.hkpfleming1-0/+1
clean up per-file dependencies during 'make clean' git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16simplify dependency tracking system, using the compiler's built-in method ↵kpfleming1-1/+0
for generating them, and only doing dependency tracking if developer mode is enabled via the configure script git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16since we really, really have to have autoconfig.h included before all other ↵kpfleming1-5/+5
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) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Turn payload_lock into bridge_lock and make it encompass all RTP structure ↵file1-41/+55
contents that may relate to bridge information, including who we are bridged to. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48506 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-14Payload values on the RTP structure can change AFTER a bridge has started. ↵file1-11/+61
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) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48472 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-14Remove direct RTCP bridging. I've come to the conclusion that we should ↵file1-70/+1
handle this through the core and not just forward it on. Should solve a few bugs. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48461 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11Merge in my latest RTP changes. Break out RTP and RTCP callback functions so ↵file1-35/+51
they no longer share a common one. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48381 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-07Here lies the fixes that killed bug 8423 -- OriginateSuccess and ↵murf1-6/+9
OriginateError incomplete channel name. May it rest in peace. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48349 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02- Disable RTP hold timers while T.38 fax transmission happensoej1-0/+52
- Encapsulate RTP timers in the rtp structure so we have one for video and one for audio The video one is not used in 1.4, really. Will be used for RTP keepalives when we can send something that video phones support in the RTP stream. I now this is a big architectual change at this stage for 1.4, but decided it was needed to avoid future bug reports. - Document the RTP NAT keepalive option in sip.conf.sample Issue 7679 in the bug tracker. Please test. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48199 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01Double-unlock error (reported by blitzrage on IRC)tilghman1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Do not do a partial bridge for Google Talk since we need to handle STUN. ↵file1-2/+8
(issue #8448 reported by phsultan) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48168 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Merged revisions 48151 via svnmerge from file1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48151 | file | 2006-11-30 13:42:45 -0500 (Thu, 30 Nov 2006) | 2 lines Print certain CDR messages out at the NOTICE level versus WARNING since they can occur when used with the CDR applications and are perfectly fine. (issue #8367 reported by dartvader) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29Merged revisions 48106 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48106 | file | 2006-11-29 11:47:10 -0500 (Wed, 29 Nov 2006) | 2 lines If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48107 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Remove a couple of unused variables (issue #8380, casper)russell1-12/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48046 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24bug 8189 posted this fix for main/translate.c for PLCmurf1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47992 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22Video will never reach Packet2Packet bridging and can do more harm then good.file1-22/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21If we have the non standard G726-32 setting turned on we want to return ↵file1-1/+1
G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Merged revisions 47859 via svnmerge from file1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2 lines Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Only remove/destroy the RTCP I/O item if it exists.file1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15We need to ensure timelimit stuff is included as well so warnings get ↵file1-3/+9
played. (issue #8050 reported by KNK) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15don't try to call fclose() if fopen() failedkpfleming1-3/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47701 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Merged revisions 47686,47688-47689 via svnmerge from kpfleming1-1/+7
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47686 | kpfleming | 2006-11-15 13:42:05 -0600 (Wed, 15 Nov 2006) | 2 lines clear the category's variable tail pointer as well when variables are detached from it ........ r47688 | kpfleming | 2006-11-15 13:47:43 -0600 (Wed, 15 Nov 2006) | 2 lines when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list ........ r47689 | kpfleming | 2006-11-15 13:58:46 -0600 (Wed, 15 Nov 2006) | 2 lines when re-writing the config file, don't repeat the path if it hasn't changed ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47690 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Merged revisions 47682 via svnmerge from kpfleming1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines ouch... don't use printf, use ast_log/ast_verbose ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47684 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15fix longest match search in find_cli.rizzo1-1/+3
Trunk already fixed. 1.2 not affected (well, i have no idea, the code is totally different there). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47672 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15If NAT detection is turned on or already detected then say NAT is active ↵file1-2/+5
when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47645 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15more formatting cleanup, and avoid running off the end of the stringkpfleming1-17/+15
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47641 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Turn notice about unknown RTCP packet type into a debug message instead.file1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13This solves bug 8342, whereby a crash occurs under certain circumstances ↵murf1-1/+1
while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47576 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Re-enable old deprecated commandstilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47573 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Free full command string upon unregistering of CLI command. Backported from ↵file1-0/+1
revision 47536 from rizzo. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47542 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-11Tweak the formatting of this new function to better conform to coding ↵russell1-20/+17
guidelines. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-11woohoo safe out put!mogorman2-2/+36
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Discussion of these CLI changes resulted in more consistency (Bug 8236)tilghman1-73/+165
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09fix tab completion for "core debug channel" and "core no debug channel"russell1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47377 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Fix "core show channel". Also, fix tab completion for both "core show channel"russell1-5/+5
and "core show channels". git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47375 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Fix "core debug channel <whatever>". I guess someone needs to go through andrussell1-4/+4
audit every CLI command that changed number of arguments ... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47372 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09revert the previous change, which actually modified the deprecated command,russell1-12/+12
"show profile". Now, actually apply the change to "core show profile". git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47370 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Fix argument parsing for the "core show profile" CLI commandrussell1-6/+6
(fixed by rizzo in his branch, team/rizzo/astobj2) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47369 f38db490-d61c-443f-a65b-d21fe96a405b