Commit Graph

584 Commits (5a5d549b1df544b9e7a80928dbfb0bd22521e6f0)

Author SHA1 Message Date
Kevin P. Fleming 5a5d549b1d ensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will not be processed out of order... this is a brute force fix, but seems to be the safest fix for now (thanks to the Digium PQ department for finding this bug)
18 years ago
Russell Bryant 3b5bd316ed Fix up a bunch of places where the iax2 pvt structure can disappear and the
18 years ago
Russell Bryant 885d846739 Add comments for two functions that get called with the appropriate call locked,
18 years ago
Russell Bryant 0b7719e9a1 Resolve a deadlock in chan_iax2. When handling an implicit ACK to a frame that
18 years ago
Kevin P. Fleming e1518f42ae start the delayed PBX when receive voice or video full frames as well, and comment this delayed-PBX activity
18 years ago
Kevin P. Fleming b89faf596b clear the 'delay PBX' flag when we are ready to start the PBX
18 years ago
Kevin P. Fleming 09dc4253d8 don't start a PBX on a new incoming IAX2 channel until we have some sort of response to our ACCEPT (ACK or anything else)
18 years ago
Kevin P. Fleming f608d90283 Merged revisions 65676 via svnmerge from
18 years ago
Jason Parker c2c91c7fef Merged revisions 63828 via svnmerge from
18 years ago
Tilghman Lesher 8bcfcfca88 Merged revisions 62691 via svnmerge from
18 years ago
Joshua Colp 0525347958 Merged revisions 62037 via svnmerge from
18 years ago
Russell Bryant 5574da0c12 Merged revisions 61866 via svnmerge from
18 years ago
Russell Bryant e6aa1145ed Merged revisions 61862 via svnmerge from
18 years ago
Steve Murphy 7d5a79a0b9 This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
18 years ago
Russell Bryant 8acd1e8349 When the IAX2 read callback gets called, return NULL instead of a "null frame".
18 years ago
Russell Bryant 8fdf6e3c47 Merged revisions 59258 via svnmerge from
18 years ago
Joshua Colp 6548086af0 Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado)
18 years ago
Russell Bryant 8ae4e264d1 Fix a few more places in chan_iax2 where the ast_frame used for receiving a
18 years ago
Russell Bryant f34c30860e (This bug was reported to me by Kinsey Moore)
19 years ago
Joshua Colp 94c9dcda60 Since chan_iax2 does not support reception of DTMF with duration ensure that it is set to 0 on the frame. (issue #8521 reported by gdhgdh)
19 years ago
Russell Bryant dd6b58edcd Fix a crash in my last change to iax2_indicate(). (issue #9150)
19 years ago
Russell Bryant 268fc8a9cc Do more complete locking of the chan_iax2_pvt struct in the indicate callback.
19 years ago
Russell Bryant 76a643978e Merged revisions 56406 via svnmerge from
19 years ago
Doug Bailey c967342095 Changed iax2 process thread to detached to correct memory leak due to left over thread context on thread exit.
19 years ago
Joshua Colp 2f6312a37e Merged revisions 53357 via svnmerge from
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Joshua Colp 362abb9deb Drop the deprecated show commands since the original ones were changed back. (issue #8937 reported by PCadach)
19 years ago
Russell Bryant a46e6d74df Merged revisions 52762 via svnmerge from
19 years ago
Joshua Colp 6b462c95c9 Merged revisions 52360 via svnmerge from
19 years ago
Joshua Colp 8f7ddbef0d Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
19 years ago
Russell Bryant 33235b40d6 Merge the changes from the /team/group/vldtmf_fixup branch.
19 years ago
Joshua Colp f986c4f2c3 Move rescheduling of lagrq/pings into the scheduler callback.
19 years ago
Joshua Colp 0a51642588 Merged revisions 49889 via svnmerge from
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 497dd42772 only do IAX2 frame caching for voice and video frames
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
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
Russell Bryant 53115ff688 Merged revisions 48943 via svnmerge from
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
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
Russell Bryant eeb415e8dd Use locking when accessing the registrations list. This list is not actually
19 years ago
Joshua Colp 422c97eab7 Merged revisions 48157 via svnmerge from
19 years ago
Russell Bryant 3964b50b05 Merged revisions 47496 via svnmerge from
19 years ago
Tilghman Lesher f11ea0549d Discussion of these CLI changes resulted in more consistency (Bug 8236)
19 years ago