Commit Graph

570 Commits (8c3f8e8b97c41fc74e4df1a1563a854e9f4e3ad0)

Author SHA1 Message Date
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)
18 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
Steve Murphy 517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
19 years ago
Tilghman Lesher e05a2752e8 Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
19 years ago
Joshua Colp 899d116be2 It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.
19 years ago
Joshua Colp a7e0a4d143 We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.
19 years ago
Kevin P. Fleming ce4b0afb73 apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
19 years ago
Kevin P. Fleming 6c17f1e07e add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)
19 years ago
Joshua Colp c6b9449955 We need to initialize our scheduler pthread condition... yes.
19 years ago
Kevin P. Fleming 227d415709 optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
19 years ago
Kevin P. Fleming 7f8528f21c Merged revisions 45048 via svnmerge from
19 years ago
Joshua Colp f11d155547 iaxs[callno] may go away if we try to avoid the deadlock
19 years ago
Joshua Colp 8a7f8f5592 Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir)
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Mark Spencer 43b8d09b81 Don't use Channel when you're not talking about a channel :)
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
19 years ago