Commit Graph

5767 Commits (4cc1606d2708c9435e3e5726891b7882e5d62660)

Author SHA1 Message Date
Russell Bryant 90e65dc7d3 Rename a number of tcptls_session variables. There are no functional changes here.
17 years ago
Russell Bryant 4dde380315 Fix a small race condition in sip_tcp_locate().
17 years ago
Russell Bryant 4295303c56 Resolve crashes when using SIP TCP/TLS with qualify.
17 years ago
Joshua Colp 44b93b6859 When a device registers we need to unlink them (if linked) from the peers_by_ip container and link them back in since their IP address has changed. This would have manifested itself if you configured a new device (as type=peer), registered, and then tried to place a call from the device. Since the peer was not linked into the peers_by_ip container it would have never been found.
17 years ago
Michiel van Baak 8c3a7a28bf Fix codec capability setup in chan_skinny
17 years ago
Joshua Colp 035a7552d6 Since chan_sip is callback devicestate driven do not pass in actual states, pass in unknown so we get asked. Additionally do not pass in an actual device state value in ast_setstate since the channel may be callback driven.
17 years ago
Joshua Colp a4a9815fe2 When a device registers to use it is entirely possible that they may be in use, so tell the core that we don't know the devstate and have it ask us for it.
17 years ago
Joshua Colp a039a65656 Merged revisions 162804 via svnmerge from
17 years ago
Joshua Colp 02ce4faaeb Merged revisions 162738 via svnmerge from
17 years ago
Mark Michelson d659ec3cd2 Merged revisions 162663 via svnmerge from
17 years ago
Joshua Colp d8c152f7f0 When transmitting a register set the socket port to the local one for the transport being used, not the port for the remote server.
17 years ago
Joshua Colp 135bb29ba6 Finish conversion to using ARRAY_LEN and remove it as a janitor project.
17 years ago
Joshua Colp ac12d0d4ce Merged revisions 161725 via svnmerge from
17 years ago
Matthew Nicholson 8b77d66a61 Fix a crash that can occur on a transfer in chan_sip when attempting to collect
17 years ago
Terry Wilson f6dda1e544 Add the ability to play a courtesy tone to the transfer target in a native SIP attended transfer by setting the variable ATTENEDED_TRANSFER_COMPLETE_SOUND.
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Dwayne M. Hubbard f9b6507796 If 'faxdetect=yes' in sip.conf, switch to a 'fax' extension (if it exists) after T38 is negotiated.
17 years ago
Michiel van Baak e219598843 Add debug flag so skinny debug will show information about packets.
17 years ago
Eliel C. Sardanons d17d9b2e30 - iax2-provision was not freeing iax_templates structure when unloading the chan_iax2.so module.
17 years ago
Tilghman Lesher c9f471ac77 Merged revisions 160480 via svnmerge from
17 years ago
Jeff Peeler 41a4bdd1a6 remove duplicate comment that I accidentally merged
17 years ago
Jeff Peeler b4d8a5b771 (closes issue #13786)
17 years ago
Tilghman Lesher f96547b0b9 Merged revisions 160297 via svnmerge from
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Sean Bright 12b7311782 Silence a build warning. (chan_phone.c:810: warning: value computed is not used)
17 years ago
Russell Bryant 15431e2948 Merged revisions 160003 via svnmerge from
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Kevin P. Fleming 9a7c28cd5a we can now build with -Wformat=2, which found a couple of real bugs
17 years ago
Mark Michelson 5769e6ea72 Don't allow for configuration options to overwrite options
17 years ago
Steve Murphy c5e64b2ac4 Merged revisions 159316 via svnmerge from
17 years ago
Tilghman Lesher bb80c835e0 Add an option, waitfordialtone, for UK analog lines which do not end a call
17 years ago
Tilghman Lesher fe2c495db6 Merged revisions 159269 via svnmerge from
17 years ago
Tilghman Lesher f41f8858cd Merged revisions 159246 via svnmerge from
17 years ago
Tilghman Lesher ac296a4ad3 Merged revisions 159025 via svnmerge from
17 years ago
Terry Wilson 853f21e90d Make chan_usbradio compile under dev mode
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Sean Bright 7bd3ce358b If you enabled 'notifycid' one of the limitations is that the calling channel
17 years ago
Sean Bright 74c112a501 No need to use a separate structure for this since we can just pass
17 years ago
Michiel van Baak 4a68fe383a dont send reorder tone after a device is hungup if a dialout is abandoned or failed.
17 years ago
Michiel van Baak ced8427b09 Add Media Source Update to skinny's control2str
17 years ago
Michiel van Baak 58ff098571 fix a very occasional core dump in chan_skinny found by wedhorn.
17 years ago
Matthew Fredrickson 8cb6ecdd24 Fix for #13963. Make physical channel mapping unconfigured default
17 years ago
Doug Bailey d68e8b8e02 Add fix to prevent crash during reload if there is an outstanding MWI registration message pending.
17 years ago
Mark Michelson 95c416df0b Use a more expressive constant for a 64-bit scanned int
17 years ago
Mark Michelson bd6586e3d7 Use some magic constants to get the right size
17 years ago
Mark Michelson 4e67fdd3f9 Fix the build for 32-bit systems. %lu is only 32-bits
17 years ago
Mark Michelson e8aa0e29ce Change the remote user agent session version variable
17 years ago
Mark Michelson 3a9c27459e Merged revisions 158072 via svnmerge from
17 years ago
Mark Michelson 2d4e3b21ee Merged revisions 158071 via svnmerge from
17 years ago
Mark Michelson 7a554a7386 Merged revisions 158053 via svnmerge from
17 years ago
Kevin P. Fleming 8d5deb312b Merged revisions 157859 via svnmerge from
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Mark Michelson 1a4fc71415 Merged revisions 157503 via svnmerge from
17 years ago
Mark Michelson 2ede9a603f Based on Russell's advice on the asterisk-dev list, I have
17 years ago
Mark Michelson 16efb5c4dd * Add a lock to be used in the update_call_counter function.
17 years ago
Mark Michelson d91f1df3e0 Merged revisions 157305 via svnmerge from
17 years ago
Russell Bryant 1148e648b8 Fix a few more places where the case insensitive hash should be used since
17 years ago
Russell Bryant ab2b24d6ee Use the new case insensitive hash function for console interfaces. The comparison
17 years ago
Mark Michelson 6254c5cd2f Revision 155513 of chan_sip.c in trunk inadvertently
17 years ago
Matthew Fredrickson cb90752b0d Remove some useless locking and make sure we hangup channels on a link when we get a GRS.
17 years ago
Tilghman Lesher 85c6ae76ab Command offsets were not changed correctly when the command syntax for
17 years ago
Tilghman Lesher 654a8c1b4b Merged revisions 156229 via svnmerge from
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Russell Bryant 72d5d58069 Remove commentary from the issues list for SIP TCP/TLS
17 years ago
Mark Michelson b07eba0c15 Merged revisions 155861 via svnmerge from
17 years ago
Sean Bright 48522988ab In order to move away from nested function use, some changes to the recently introduced
17 years ago
Russell Bryant ef489f8195 - Check for failure when putting the packet in the ast_str
17 years ago
Russell Bryant 648ea2aab9 Remove some code that is basically a no-op. Code above this already ensures that
17 years ago
Mark Michelson 111203aed9 Set the invite state to INV_CANCELLED in a place that
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Tilghman Lesher bd3f685f20 Merged revisions 155398 via svnmerge from
17 years ago
Tilghman Lesher ca3cf9f488 Send call release with unallocated cause instead of normal call clearing, when
17 years ago
Kevin P. Fleming 90e573c373 stringfields conversion for struct sip_peer, as requested :-)
17 years ago
Russell Bryant 41ab61a2a2 Remove a bogus ast_free() that Kevin noticed. This was probably just left over
17 years ago
Russell Bryant 1a239454f1 Fix some code in chan_sip that was intended to unlink multiple objects from a
17 years ago
Kevin P. Fleming f08ab8278c put ifdef protection around the rest of the libpri function calls that were added at the same time as progress_with_cause
17 years ago
Matthew Fredrickson 5250201d8b Make compilation of chan_dahdi so that it does not require the new pri_progress_with_cause function to have libpri support work.
17 years ago
Eliel C. Sardanons ccaefe4d40 Add AgentLogin(), AgentMonitorOutgoing() applications and
17 years ago
Sean Bright 086a52d9d1 Introduce a new API call ast_channel_search_locked, which iterates through the
17 years ago
Tilghman Lesher bdb21bef93 Switch to using a thread condition to signal that a child thread is ready for
17 years ago
Tilghman Lesher 0488e8c94e Merged revisions 154365 via svnmerge from
17 years ago
Richard Mudgett 89a678df60 Merged revisions 154266 via svnmerge from
17 years ago
Tilghman Lesher 721b90aa4b Recorded merge of revisions 154263 via svnmerge from
17 years ago
Sean Bright 6ba4e7853e Allow devices that accept dialog-info+xml (like snoms) to get the Caller ID of
17 years ago
Kevin P. Fleming 448562af93 improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
17 years ago
Eliel C. Sardanons 46d7e8dafa Add XML documentation for:
17 years ago
Olle Johansson 204845843e Adding a separation of remote authentication and our authentication.
17 years ago
Eliel C. Sardanons 4c3ce9b8a1 Add XML documentation for:
17 years ago
Eliel C. Sardanons 105a020b6f Add XML documentation for:
17 years ago
Kevin P. Fleming 2dc21e951b fix one more warning missed because i did not have new enough libpri installed
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Eliel C. Sardanons 1e6864dd9d Add IAX2Provision() application XML documentation.
17 years ago
Sean Bright 3160f06f31 There is a troublesome assert() in the alsa/control.h header that causes
17 years ago
Russell Bryant 981c2d03b6 Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
17 years ago
Russell Bryant 1fef0f63bb Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds
17 years ago
Tilghman Lesher 44b484195e Merged revisions 153114 via svnmerge from
17 years ago
Tilghman Lesher 1132628748 Merged revisions 152958 via svnmerge from
17 years ago
Tilghman Lesher 33f0058029 Merged revisions 152922 via svnmerge from
17 years ago
Russell Bryant 19f1e7e578 Fix the sip_peer reference count with respect to scheduler entries for
17 years ago
Russell Bryant 46a8b1deed Fix the sip_peer reference count with respect to scheduler entries for
17 years ago
Mark Michelson c0b9b259ca I just noticed this construct and thought it was
17 years ago
Russell Bryant 3d5b3249a8 Modify the documentation of the sip_registry struct
17 years ago
Kevin P. Fleming 10d36d9f34 fix a few small things found by using sparse
17 years ago
Russell Bryant 0dbd863733 Merged revisions 152539 via svnmerge from
17 years ago
Tilghman Lesher e9d96775ad Only re-add the io port if it was closed, otherwise reload causes a memory
17 years ago
Jeff Peeler 33f576f1a1 Merged revisions 152286 via svnmerge from
17 years ago
Tilghman Lesher ae991d086e Merged revisions 152215 via svnmerge from
17 years ago
Olle Johansson 0fdde26109 Trying to fix the user/peer matching correctly. This will need some testing before
17 years ago
Olle Johansson 9137733e11 Moving more variables to the sip_cfg structure, as I have some future ideas for the usage of that structure.
17 years ago
Olle Johansson 31a9f1e6f0 Doxygen changes and some formatting.
17 years ago
Olle Johansson 5aa23add8c Adding a small new feature.
17 years ago
BJ Weschke d7422c975e revert the changes in issue #13705 - it's being re-opened as while the results fixed the complaint in the issue, it introduced other more undesirable issues than what was already reported
17 years ago
Mark Michelson 0748be1052 Change some logical ands to bitwise ands and add
17 years ago
Russell Bryant 89e0def9f9 Print out the right var in the log message
17 years ago
Russell Bryant ca14f718d7 Fix this check to use the proper variable (the result from get_in_brackets)
17 years ago
Mark Michelson cfa9531311 The logic of a strncasecmp call was reversed.
17 years ago
Mark Michelson 97dac2d91a Make the sip_standard_port function more granular by allowing separate
17 years ago
Mark Michelson f4561c0e46 Get this compiling in dev-mode
17 years ago
Mark Michelson 2c55dcf8a8 If a peer uses any transport other than UDP, then MWI will
17 years ago
Mark Michelson bceb0845e6 When attempting to resolve hostnames, we need to be sure
17 years ago
BJ Weschke 5a6a59c84b Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.
17 years ago
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
Michiel van Baak 6f860c262d dont segfault when placing a call to a line that has no registered device.
17 years ago
Olle Johansson 235d4159f6 Adding changes from train and flight back home from SIPit23 in Lannion, France.
17 years ago
Matthew Fredrickson 3e83151375 Merge in patch for #13454. Includes CallRereouting dialplan application, option for discard of remote hold messages, and using the alternate logical channel mapping in Q.SIG instead of the default physical channel mapping.
17 years ago
Tilghman Lesher 6450b7c4da Make helper call a little safer (suggested by Russell on IRC)
17 years ago
Tilghman Lesher b3bb9564d3 Fix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.
17 years ago
Olle Johansson e3ea5c3c36 Adding some additional thoughts on configuration changes to TCP/TLS
17 years ago
Michiel van Baak 59d9255977 Break up skinny.conf into seperate sections for
17 years ago
Mark Michelson 32ef7bedd3 Add an IAXregistry manager command. See doc/manager_1_1.txt
17 years ago
Mark Michelson 1b1efebf4b After a long discussion on #asterisk-bugs, it seems kind of
17 years ago
Mark Michelson d8d6d5e35b Remove an odd redundant comparison
17 years ago
Mark Michelson 4d983e34cf INVITES with proxy auth were sent with a different branch
17 years ago
Richard Mudgett de9c5d4c42 Merged revisions 150124 via svnmerge from
17 years ago
Kevin P. Fleming 2f3193ec70 ensure that type=peer entries are only matched on IP/port, not on name (after oej audits all the calls to find_peer() to make sure that forcenamematch is set correctly in each case)
17 years ago
Olle Johansson 11a94d5b01 Doxygen addition
17 years ago
Olle Johansson 1d2ef991e2 Add some notes on problems with the TCP/TLS implementation
17 years ago
Kevin P. Fleming 4ca2b3836a return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog
17 years ago
Kevin P. Fleming 1e56eb7e87 some additional debugging tools added at SIPit23:
17 years ago
Mark Michelson e701f8ee2d Make the sip_proxy struct reference counted. This is
17 years ago
Olle Johansson 216673ad76 Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
17 years ago
Kevin P. Fleming f00735b317 Merged revisions 149452 via svnmerge from
17 years ago
Olle Johansson 7fa8f65425 Fixing sytax errors ;-)
17 years ago
Mark Michelson 63b894e391 Merged revisions 149266 via svnmerge from
17 years ago
Mark Michelson 83663de0ed Merged revisions 149207 via svnmerge from
17 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
17 years ago
Mark Michelson c6caf2a06f Merged revisions 149130 via svnmerge from
17 years ago
Mark Michelson 4d9965856b Merged revisions 148912 via svnmerge from
17 years ago
Joshua Colp f230048cd3 Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.
17 years ago
Kevin P. Fleming 6ccc37dec9 fix some references to the owner of a private structure that may not be present
17 years ago