Commit Graph

4420 Commits (d7fbc9aae242e1ae5ec49bf5364ebd3fceff2ced)

Author SHA1 Message Date
Tilghman Lesher cc09f7c8ef Port "hasvoicemail" change from SIP to other channel drivers
18 years ago
Tilghman Lesher b815ecf349 People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
18 years ago
Joshua Colp 461020bed4 Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
18 years ago
Joshua Colp 5ce568d24d Don't send a BYE on a dialog that is already gone during a REFER.
18 years ago
Jeff Peeler f9818af8dd Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
18 years ago
Russell Bryant 836d5c5afa Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
18 years ago
Tilghman Lesher 1c7d9e4c9a Make calls to ast_assert() actually test something, so that the error message
18 years ago
Christian Richter 21152f98f8 fixed issue with previous commit, the find_free_channel test for channels which where inuse was broken.
18 years ago
Joshua Colp fb87cc02f9 If we are destroying a dialog only set the MWI dialog pointer on the related peer to NULL if it is the dialog currently being destroyed.
18 years ago
Mark Michelson c9915a8f27 A unique situation of timeouts brought forth a failure situation for
18 years ago
Russell Bryant 7e3b1dc9ac Don't run LIST_HEAD_DESTROY on a STATIC list
18 years ago
Jeff Peeler 4162c566ad add another LOW_MEMORY define I forgot
18 years ago
Jeff Peeler b9eb1170df only define thread storage variable if necessary for LOW_MEMORY
18 years ago
Jeff Peeler a8281b2bcc Correction to commmit 120863, make sure proper destructor function is called as well define two thread storage local variables.
18 years ago
Jeff Peeler 6d12307629 This fixes a crash when LOW_MEMORY is turned on. Two allocations of the ast_rtp struct that were previously allocated on the stack have been modified to use thread local storage instead.
18 years ago
Tilghman Lesher 547e232ef4 If we fail to setup the PRI request channel, don't continue, exit with an error.
18 years ago
Russell Bryant a5f4960b3c Fix another place where peer->callno could change at a very bad time, and also
18 years ago
Tilghman Lesher 088ac37bfc Save the callno when we're poking, because our peer structure could change
18 years ago
Joshua Colp 6d78e78947 Treat ECONNREFUSED as an error that will stop further retransmissions. (issue #AST-58, patch from Switchvox)
18 years ago
Russell Bryant f4cd9e3958 Revert a change made for issue #12479. This change caused a regression such that
18 years ago
Philippe Sultan 59410a3f01 Do not link the guest account with any configured XMPP client (in
18 years ago
Russell Bryant 35ea2643d4 Even of the first PING or LAGRQ doesn't get sent because it comes up too soon,
18 years ago
Christian Richter b145e2f8da fixed compile issue when dev-mode is enabled
18 years ago
Christian Richter a3fe7673a9 Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
18 years ago
Russell Bryant 69213c8eb6 Change a debug message to an actual debug message
18 years ago
Russell Bryant 31d518c8e6 Merged revisions 119237 via svnmerge from
18 years ago
Tilghman Lesher b2f0add41c Call waiting tone occurs too often, because it's getting serviced by both
18 years ago
Russell Bryant e0c741c5e3 Merged revisions 119008 via svnmerge from
18 years ago
Tilghman Lesher 65808210e9 Add some debugging code that ensures that when we do deadlock avoidance, we
18 years ago
Brett Bryant 3ab48f9299 merge revision 118702 from trunk to 1.4 -- Fixes a bug in chan_iax that uses send_command to poke a peer while a channel is unlocked in some cases, and because it can cause seemingly random failures could be related to some bugs in the tracker...
18 years ago
Joshua Colp 405dfcb54a Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
18 years ago
Joshua Colp a403fd8ea1 Fix an issue where codec preferences were not set on dialogs that were not authenticated via a user or peer and allow framing to work without rtpmap in the SDP.
18 years ago
Tilghman Lesher 0dab692af5 Realtime flag affects construction in multiple ways, so consulting whether
18 years ago
Jeff Peeler ac177d4459 Fix a few things I missed to ensure zt_chan_conf structure is not modified in mkintf
18 years ago
Jeff Peeler b77e30e6f5 Ensure that passed in zt_chan_conf structure is not modified in mkintf.
18 years ago
Joshua Colp 6627976f63 Apply the autoframing setting to dialogs that do not get matched against a user or peer.
18 years ago
Jeff Peeler e9e2df2283 Pass a pointer for the conf parameter to the function mkintf rather than the whole zt_chan_conf structure.
18 years ago
Joshua Colp 48f4538a8d Make chan_h323 work with pwlib 1.12.0
18 years ago
Russell Bryant 915e1b570f Avoid access of uninitialized memory. This caused a bunch of crashes for me
18 years ago
Joshua Colp 53061c109f Check to make sure an RTP structure exists before calling ast_rtp_new_source on it.
18 years ago
Russell Bryant 4b2a679f9e Add ast_assert(), which can be used to handle fatal errors. It is only compiled
18 years ago
Olle Johansson 59adcca238 Accept text messages even with
18 years ago
Russell Bryant 01de8fa419 Fix a deadlock involving channel autoservice and chan_local that was debugged
18 years ago
Joshua Colp 48dd08e321 Use the right flag to open the audio in non-blocking.
18 years ago
Russell Bryant 09c28afa6d Remove debug output.
18 years ago
Russell Bryant 03c5a410ad Merged revisions 115564 via svnmerge from
18 years ago
Russell Bryant 442079ab0b Don't give up on attempting an outbound registration if we receive a 408 Timeout.
18 years ago
Russell Bryant f27d0168a2 Track peer references when stored in the sip_pvt struct as the peer related to
18 years ago
Russell Bryant e1c4c9e7b6 Merged revisions 115511 via svnmerge from
18 years ago
Russell Bryant fbf07008d9 Avoid putting opaque="" in Digest authentication. This patch came from switchvox.
18 years ago