Commit Graph

4592 Commits (802d4ebd514b72fae47c186d290e2a1f2510c95e)

Author SHA1 Message Date
Russell Bryant 802d4ebd51 Fix a memory leak related to the use of the "setvar" configuration option.
18 years ago
Joshua Colp 2850bf37a9 Do not try to unlock a non-existant channel if the transfer fails.
18 years ago
Joshua Colp f7521fb0db Fix subscription based MWI up a bit. We only want to put sip: at the beginning of the URI if it is not already there and revert code to ignore destination check if subscribing for MWI.
18 years ago
Joshua Colp ee47cfddbe When a SIP peer unregisters set the expiry time back to 0 so that the 200 OK contains an expires of 0.
18 years ago
Mark Michelson d18bb8dc44 Revert fix for issue 13570. It has caused more problems than
18 years ago
Tilghman Lesher cbbd837a34 For some reason, after a distclean, gcc started returning
18 years ago
Joshua Colp fbf46c34b0 Make the usereqphone option work again.
18 years ago
Jason Parker f978100475 Only show this warning when we want to show it.
18 years ago
Tilghman Lesher e616d516e3 During bridge code, the channel bridge may return a retry code, if a transfer
18 years ago
Tilghman Lesher cc3b3e68f0 Jon Bonilla (Manwe) pointed out on the -dev list:
18 years ago
Tilghman Lesher a8736b03e9 When the text does not match exactly (e.g. RTP/SAVP), then the %n conversion
18 years ago
Russell Bryant dfec3b69d6 Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
18 years ago
Kevin P. Fleming 50515ed372 update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
18 years ago
Kevin P. Fleming a738a1f6e7 rename these files so as to avoid conflicts when users update their working copies and have unversioned files already in place
18 years ago
Kevin P. Fleming 7459a56dbb simplify (and slightly bug-fix) the recent developer-oriented COMPILE_DOUBLE mode
18 years ago
Steve Murphy 141ab56b86 (closes issue #12694)
18 years ago
Tilghman Lesher 10e70eaecf Don't try to send a response on a NULL pvt.
18 years ago
Tilghman Lesher dd5a228991 Merged revisions 159245 via svnmerge from
18 years ago
Jeff Peeler c7dcb086dd (closes issue #13786)
18 years ago
Mark Michelson 3668ba67ab We don't handle 4XX responses to BYE well. According to
18 years ago
Mark Michelson 3a1a981e2e Make sure to set the hangup cause on the calling channel in the case
18 years ago
Richard Mudgett 238cd9ea24 Merged revision 157977 from
18 years ago
Kevin P. Fleming 187f6d485a the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems.
18 years ago
Mark Michelson a6fac748de Add some missing invite state changes necessary in the sip_write
18 years ago
Mark Michelson 3429c9de5e Fix a crash in the end_bridge_callback of app_dial and
18 years ago
Tilghman Lesher 1d023ca457 Revert revision 132506, since it occasionally caused IAX2 HANGUP packets not
18 years ago
Mark Michelson abc56833ad Channel drivers assume that when their indicate callback
18 years ago
Tilghman Lesher a0386906cf Clarify error message.
18 years ago
Mark Michelson a82f9caadf The logic of a strcasecmp call was reversed
18 years ago
Tilghman Lesher 537f626328 On busy systems, it's possible for the values checked within a single line
18 years ago
Richard Mudgett f7c8bfed9c JIRA ABE-1703
18 years ago
Tilghman Lesher 66d3d10d8c Make the monitor thread non-detached, so it can be joined (suggested by Russell
18 years ago
Kevin P. Fleming 18df35a2c1 somehow missed a bunch of gcc 4.3.x warnings in this branch on the first pass
18 years ago
Kevin P. Fleming add5ff5b05 fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings being passed to printf()-like functions and ignored results from read()/write() and friends
18 years ago
Tilghman Lesher 1c4d34a0f7 Turn off qualify on uncached realtime peers.
18 years ago
Tilghman Lesher ac0c617f43 Cannot join detached threads. See http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html
18 years ago
Tilghman Lesher e8b8a35b3d Unlock before returning, when extension doesn't exist.
18 years ago
Russell Bryant c1cdf01a0e Fix an incorrect usage of sizeof()
18 years ago
Jeff Peeler 1400db9dfc Buffer policy setting for half is not needed.
18 years ago
Tilghman Lesher 2156982d3e Inherit ALL elements of CallerID across a local channel.
18 years ago
Jason Parker 979e2cd58d Correctly allow chan_dahdi to compile against older versions of Zaptel.
18 years ago
Richard Mudgett 4fa4c33f6d Fix memory leak found by customer
18 years ago
Kevin P. Fleming 1573ebed8c fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
18 years ago
Mark Michelson 0145ae2870 Change this warning to an error message. Suggestion
18 years ago
Mark Michelson 6189f028ae Call register_peer_exten even in the case that the peer's
18 years ago
Mark Michelson eda1b995f8 Don't allow reserved characters to be used in register
18 years ago
Mark Michelson 1533c5e6cb Deadlock prevention in chan_local.
18 years ago
Kevin P. Fleming d7be4318bb when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
18 years ago
Kevin P. Fleming 325aa9652f revert this change until i can understand why it results in locking order changes
18 years ago
Kevin P. Fleming 198b01597b don't start a PBX on incoming PRI call channels until after we're done setting channel variables and other things on the channel, otherwise the channel might go away (if the dialplan hangs up quickly) before we are done, which results in a spectacular crash
18 years ago