aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2006-12-22Note to self: Run make before committing...qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48888 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Fix for issue 7774 - patch by alamantiaqwell1-4/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48870 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19suppress compiler warnings in this module until it can be improvedkpfleming1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18Put thread into proper list if we abort handling due to an error, and also ↵file1-15/+24
hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Hold call structure lock in places where a qualify or peer action can ↵file1-2/+12
destroy it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Lock network retransmission queue in all places that it is used.file1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Issue #8592 - treat 504 as 503 (imported from 1.2)oej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48487 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Update to latest IANA specoej1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Use a wakeup variable so that we don't wait on IO indefinitely if packets ↵file1-3/+6
need to be retransmitted. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-10Merged revisions 48371 via svnmerge from murf1-2/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels). ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48372 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-09Use locking when accessing the registrations list. This list is not actuallyrussell1-32/+34
used very often, so the likelihood of there being a problem is pretty small, but still possible. For example, if the CLI command to list the registrations was called at the same time that a reload was occurring and the registrations list was getting destroyed and rebuilt, a crash could occur. In passing, go ahead and convert this list to use the linked list macros. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48363 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Issue #8258 - fix handling of 487 being retransmitted to Asteriskoej1-7/+15
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48326 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Don't send Contact on MESSAGEoej1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48317 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Merging the invitestate-1.4 branch after successful testing.oej1-21/+75
Will check if I can solve this with less changes in 1.2. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48270 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02- Removing one of two pieces of code to handle 481 response on INVITEoej1-15/+15
- Move handling of REFER response to handle_response_refer() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48219 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02- Disable RTP hold timers while T.38 fax transmission happensoej1-21/+32
- 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-01- Backport of the "limitonpeers" patch from trunk, to fix a lot of issues ↵oej1-12/+15
with queues and SIP device states - Remove support for T.38 early media, since it's impossible. (Two patches in one - extra friday evening offer due to being off line from svn today... :-) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48177 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Do not do a partial bridge for Google Talk since we need to handle STUN. ↵file1-4/+5
(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-30Issue 8319 - change noncecount before using it.oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48166 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Merged revisions 48157 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48157 | file | 2006-11-30 15:06:43 -0500 (Thu, 30 Nov 2006) | 2 lines Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48158 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on ↵oej1-1/+1
separate line in the REGISTER request. Imported from 1.2. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48129 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28Merged revisions 48087 via svnmerge from file1-5/+0
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov 2006) | 2 lines According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Change logging messageoej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48031 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25Not having a HINT is not an ERROR. In 1.4 and future releases, you can disableoej1-1/+1
subscription support totally or per peer in sip.conf with allowsubscribe = yes | no git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48002 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24Merged revisions 47968 via svnmerge from crichter3-54/+53
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23 Nov 2006) | 1 line fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-23Don't allocate unused variable.oej1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21Apparently Exosip sends a 101 after a 100 provisional response. Let's not ↵oej1-2/+5
treat that as early media. (discovered at the AVTF meeting in Paris). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Make sure we destroy scheduled items and not use them ever again after ↵oej1-2/+9
destruction (rizzo) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47843 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-18fix bug 7450 - Parsing fails if From header contains angle brackets rizzo1-5/+6
(the bug was only in a corner case where the < was right after the opening quote, and the fix is trivial). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47823 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Compare technology using the pointers instead of a straight comparison based ↵file1-3/+3
on name. (issue #8228 reported by dean bath) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47764 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Make the HOLD notification optional, in order to avoid a lot of extra ↵oej1-2/+9
database lookups for all those realtime users out there. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47755 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Merged revisions 47750 via svnmerge from file1-0/+27
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47750 | file | 2006-11-16 13:26:50 -0500 (Thu, 16 Nov 2006) | 2 lines Because of the way chan_local is written we should be extra careful and make sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Don't fixup if there's nothing to fixup oej1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47744 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16- CANCEL is never authenticated (according to the RFC)oej1-3/+3
- Update docs on canreinvite. "nonat" is the recommended setting for most users with phones behind a NAT. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47733 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Merged revisions 47711 via svnmerge from file1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov 2006) | 2 lines Make sure that the pvt structure exists before trying to do fixup on Local channels. (issue #7937 reported by mada123, fix by alamantia with mods by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15- Improve SIP historyoej1-5/+14
- Never send reply to ACK (again...) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47698 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Send error message when we can't allocate SIP dialog, possibly due to ↵oej1-1/+14
limitation of file descriptors. (imported from 1.2) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15silence compiler warning on 64-bit platforms (this variable is an 'int' ↵kpfleming1-1/+1
anyway, comparing it to 'signed long' is not useful) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47635 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Only keep the video RTP structure around if 1. Video support is enabled and ↵file1-3/+3
2. A video codec is enabled on the dialog git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47628 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Update documentation to fit the implementation...oej1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47613 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Issue #8272 - Don't destroy dialog in retransmission system if it's an ↵oej1-2/+5
OPTION packet from peerpoke git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Merged revisions 47580 via svnmerge from tilghman1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines Having more than 255 old messages caused corruption in the new/old count ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47581 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Re-enable old deprecated commandstilghman1-7/+50
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47573 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13- Don't reply to INVITE already replied to when we get BYEoej1-2/+3
- Declare errmsg as int. Oops. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Only produce error message about sip history onceoej1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47540 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Merged revisions 47522 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines Don't play dialtone if the seizing the channel fails (Bug 7754) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47523 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-12Issue 8314 - Restore auto-framing (Thanks DEA!!!)oej1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-12Part of issue 8078 - parse even if udptl is UDPTL in sdp...oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47511 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-12- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye. oej1-19/+26
Final response to a re-invite does not mean that the session dies, only that the re-invite fails. - Keep RTP active during processing of T.38 re-invite. If the re-invite fails, RTP needs to remain as before the re-invite. Issue 8338 - darren1713. Please test. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47509 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-12-Remove blocking of ptime: parsing in sdpoej1-4/+14
-Add some comments to t.38 code git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47507 f38db490-d61c-443f-a65b-d21fe96a405b