Commit Graph

3746 Commits (dadf652e26064a9934d16e482790e9ebb1f1beaa)

Author SHA1 Message Date
Olle Johansson 1a33c38a15 - handle re-invites properly in sip_hangup()
19 years ago
Olle Johansson 3394598f93 Issue #8677 - Handle failure of T.38 re-invite
19 years ago
Olle Johansson 0f96f73768 Issue #8524, support multiple via header values (tardieu)
19 years ago
Olle Johansson be32fad9b8 We only need one forward declaration
19 years ago
Olle Johansson 484add6554 Issue 8735: Terminate state when extension is unavailable for subscription
19 years ago
Joshua Colp 0a51642588 Merged revisions 49889 via svnmerge from
19 years ago
Tilghman Lesher dcbf36432e Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)
19 years ago
Jason Parker 9803b9a357 Make codec_zap and chan_zap also depend on zaptel.
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
Kevin P. Fleming fb010e49aa Merged revisions 49635 via svnmerge from
19 years ago
Kevin P. Fleming ab4da71374 revert the dynamic_list insertion change... that was not the right thing to do
19 years ago
Kevin P. Fleming aed1467281 create the IAX2 processing threads as background threads so they will use smaller stacks
19 years ago
Joshua Colp 62b8b03294 It's possible for the iax2 pvt to disappear, so if it has... don't bother looking for dpentries.
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 6b1817c0d1 if we're going to decrement the frame count when we free a frame, we should inrement it when we create one :-)
19 years ago
Kevin P. Fleming 497dd42772 only do IAX2 frame caching for voice and video frames
19 years ago
Kevin P. Fleming f7a47b38eb don't define this type either if LOW_MEMORY is enabled
19 years ago
Kevin P. Fleming 74258ab85e don't do frame caching in LOW_MEMORY mode
19 years ago
Christian Richter fb52698667 Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
19 years ago
Joshua Colp 40707f097a Check pvt structure presence before passing to send_command. This gets rid of the irritating message about a packet without pvt structure. This happens because the scheduled item is getting cancelled at almost the exact moment it is getting executed.
19 years ago
Olle Johansson 5edb7fa173 Small cleanup of add_t38sdp - it's always enabled at that point in the code
19 years ago
Kevin P. Fleming 95758b4920 remove comment that is unrelated to this function
19 years ago
Kevin P. Fleming f195c5d622 check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
19 years ago
Olle Johansson 7db2ca152c remove incomplete implementation of dnsmgr. Let's fix this in trunk.
19 years ago
Joshua Colp 05716471b5 Use asprintf to build the channel names instead of custom function. I believe the custom function is doing some things that are not portable across all implementations. (issue #8570 reported by hterag & issue #8692 reported by nicolasg)
19 years ago
Joshua Colp 37e5a39d76 Initialize the packet queue in load_module instead of just declaring the list with the default value. (issue #8695 reported by ssokol)
19 years ago
Olle Johansson 1e9c141c2d Only include acl.h and lock.h once
19 years ago
Olle Johansson 4f157be79e Only set rfc2833compensate flag once (handle_common_options)
19 years ago
Olle Johansson f1f8bbaabe - Remove checking for T38 options twice. Keeping them in handle_common_options
19 years ago
Kevin P. Fleming 0f5aae9688 make the option actually match the documentation
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
Olle Johansson d2b7e8b247 Be a bit more politically correct
19 years ago
Olle Johansson bfe4bb0f1e Issue #8575 - Buggy cisco MWI support.
19 years ago
Olle Johansson e25756dfac - Make sure handle_common_options return 1 when we found a common option
19 years ago
Olle Johansson 4ea530f2dc Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.
19 years ago
Olle Johansson 8a42650605 Fix bogus content-length in t38 sdp. (rizzo, #8600)
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 a1eee8d2d9 Fix a typo in an error message that indicated that the MGCP channel type could
19 years ago
Russell Bryant 53115ff688 Merged revisions 48943 via svnmerge from
19 years ago
Russell Bryant 1208869c00 Merged revisions 48939 via svnmerge from
19 years ago
Jason Parker 66783cb46f Note to self: Run make before committing...
19 years ago
Jason Parker ef2f05a518 Fix for issue 7774 - patch by alamantia
19 years ago
Kevin P. Fleming 2703d88576 suppress compiler warnings in this module until it can be improved
19 years ago
Joshua Colp 11e61ea68a Put thread into proper list if we abort handling due to an error, and also 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)
19 years ago
Joshua Colp a0c21d30ac Hold call structure lock in places where a qualify or peer action can destroy it.
19 years ago
Joshua Colp 195c66b4a1 Lock network retransmission queue in all places that it is used.
19 years ago
Olle Johansson c1f1cf48ac Issue #8592 - treat 504 as 503 (imported from 1.2)
19 years ago
Olle Johansson a8fe77b95b Update to latest IANA spec
19 years ago
Joshua Colp 3706ecbbc5 Use a wakeup variable so that we don't wait on IO indefinitely if packets need to be retransmitted.
19 years ago
Steve Murphy f6cf1458ad Merged revisions 48371 via svnmerge from
19 years ago
Russell Bryant eeb415e8dd Use locking when accessing the registrations list. This list is not actually
19 years ago
Olle Johansson 28c36660c7 Issue #8258 - fix handling of 487 being retransmitted to Asterisk
19 years ago
Olle Johansson 0fe91149ae Don't send Contact on MESSAGE
19 years ago
Olle Johansson 694205de93 Merging the invitestate-1.4 branch after successful testing.
19 years ago
Olle Johansson 9636bccb7c - Removing one of two pieces of code to handle 481 response on INVITE
19 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
19 years ago
Olle Johansson 98d3fb64ed - Backport of the "limitonpeers" patch from trunk, to fix a lot of issues with queues and SIP device states
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
Olle Johansson 76e35bac11 Issue 8319 - change noncecount before using it.
19 years ago
Joshua Colp 422c97eab7 Merged revisions 48157 via svnmerge from
19 years ago
Olle Johansson 073e937757 Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line
19 years ago
Joshua Colp 68ad03e888 Merged revisions 48087 via svnmerge from
19 years ago
Olle Johansson 9436ecaad7 Change logging message
19 years ago
Olle Johansson 5a3dcaff3c Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
19 years ago
Christian Richter 55229f98b9 Merged revisions 47968 via svnmerge from
19 years ago
Olle Johansson c3a7e9d7c2 Don't allocate unused variable.
19 years ago
Olle Johansson 5c0be47e69 Apparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
19 years ago
Olle Johansson a7c1ac60b7 Make sure we destroy scheduled items and not use them ever again after destruction (rizzo)
19 years ago
Luigi Rizzo d20e81d829 fix bug 7450 - Parsing fails if From header contains angle brackets
19 years ago
Joshua Colp f373cad528 Compare technology using the pointers instead of a straight comparison based on name. (issue #8228 reported by dean bath)
19 years ago
Olle Johansson e1e6a1b2a8 Make the HOLD notification optional, in order to avoid a lot of extra database lookups
19 years ago
Joshua Colp 88002f78fd Merged revisions 47750 via svnmerge from
19 years ago
Olle Johansson d1ee29fc20 Don't fixup if there's nothing to fixup
19 years ago
Olle Johansson 5bd53e3588 - CANCEL is never authenticated (according to the RFC)
19 years ago
Joshua Colp e83e3123f7 Merged revisions 47711 via svnmerge from
19 years ago
Olle Johansson c78840b900 - Improve SIP history
19 years ago
Olle Johansson 63f87d112d Send error message when we can't allocate SIP dialog, possibly due to limitation of file descriptors.
19 years ago
Kevin P. Fleming 8dd76cc19a silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)
19 years ago
Joshua Colp 25b5cf18b7 Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
19 years ago
Olle Johansson 4ecb09f6e8 Update documentation to fit the implementation...
19 years ago
Olle Johansson cb82979700 Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke
19 years ago
Tilghman Lesher e944561518 Merged revisions 47580 via svnmerge from
19 years ago
Tilghman Lesher 6e4d0e50c8 Re-enable old deprecated commands
19 years ago
Olle Johansson 55c8a5ded8 - Don't reply to INVITE already replied to when we get BYE
19 years ago
Olle Johansson 0ca5dae550 Only produce error message about sip history once
19 years ago
Tilghman Lesher 129280f4ee Merged revisions 47522 via svnmerge from
19 years ago
Olle Johansson 153cb1309f Issue 8314 - Restore auto-framing (Thanks DEA!!!)
19 years ago
Olle Johansson fc5f9c78d1 Part of issue 8078 - parse even if udptl is UDPTL in sdp...
19 years ago
Olle Johansson a471f0a87c - Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
19 years ago
Olle Johansson 853958e863 -Remove blocking of ptime: parsing in sdp
19 years ago
Russell Bryant 3964b50b05 Merged revisions 47496 via svnmerge from
19 years ago
Matthew Fredrickson eb4c18e444 Make sure we don't use 32bits when we only need one bit.
19 years ago
Olle Johansson 2a321d80f5 ...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
19 years ago
Olle Johansson ea257647a2 Add debug output while trying to trace bug in bug report
19 years ago
Olle Johansson ba58cf9ecd Make sure we destroy dialog...
19 years ago
Olle Johansson 1f2a4eb8c2 Small cleanup of handle_request_invite() - imported from 1.2 with changes
19 years ago
Matthew Fredrickson 60c6acf03f Fix for #7321. Be able to explicitly hide callerid name for switches that bork
19 years ago
Joshua Colp ff947e3743 Let's give this a go...
19 years ago
Olle Johansson d83a1f1356 Issue 8010 - Fix support for multipart SDP (alphaque)
19 years ago
Tilghman Lesher f11ea0549d Discussion of these CLI changes resulted in more consistency (Bug 8236)
19 years ago