Commit Graph

4406 Commits (1.4.21.2)

Author SHA1 Message Date
Tilghman Lesher b6f4713deb Merge security fix from 1.4 branch
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
Brett Bryant 61bee5aa54 Add new "pri show version" command to show the libpri version for support reasons.
18 years ago
Russell Bryant 5f1f3ed473 Merge changes from team/russell/iax2_find_callno and iax2_find_callno_1.4
18 years ago
Olle Johansson 26fc3d5ac6 Don't crash on bad SIP replys.
18 years ago
Kevin P. Fleming 8b8a6f2486 use the ARRAY_LEN macro for indexing through the iaxs/iaxsl arrays so that the size of the arrays can be adjusted in one place, and change the size of the arrays from 32768 calls to 2048 calls when LOW_MEMORY is defined
18 years ago
Tilghman Lesher a4732cfb3c When modules are embedded, they take on a different name, without the ".so"
18 years ago
Russell Bryant 609ed327eb Use consistent logic for checking to see if a call number has been chosen yet.
18 years ago
Mark Michelson 709502b119 Re-invite RTP during a masquerade so that, for instance, an AMI
18 years ago
Mark Michelson 8eee7feb2b Resolve a deadlock in chan_local by releasing the channel lock
18 years ago
Tilghman Lesher 0cd455c19b Ensure that when we set the accountcode, it actually shows up in the CDR.
18 years ago
Russell Bryant 57c68bcb3a Fix a silly mistake in a change I made yesterday that caused chan_iax2 to blow
18 years ago
Olle Johansson 2acde60c29 Only have one max-forwards header in outbound REFERs.
18 years ago
Russell Bryant 694a6b4abb Fix find_callno_locked() to actually return the callno locked in some more cases.
18 years ago
Olle Johansson 5980514bb0 Add 502 support for both directions, not only one... (see r114571)
18 years ago
Tilghman Lesher 0c777767c9 Treat a 502 just like a 503, when it comes to processing a response code
18 years ago