Commit Graph

3699 Commits (34b5a7c8ae21642e751301b76c7829a24e4021fb)

Author SHA1 Message Date
Joshua Colp 915f9315e1 Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
19 years ago
Joshua Colp 240ca25bea Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
19 years ago
Joshua Colp 9aca2b2a54 Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
19 years ago
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