Commit Graph

5878 Commits (b4c84d5162bbb2bcc00aae7afb367fd9631e615d)

Author SHA1 Message Date
Michiel van Baak 1d781feca6 Redo the event-based MWI in chan_skinny.
17 years ago
Doug Bailey 42d4853f61 Get rid of magic number and replace with DAHDI_VMWI_NUMBER_MASK when
17 years ago
Doug Bailey 82d76adeb8 Add enhanced MWI generation to take advantage of new dahdi line reversal MWI ability.
17 years ago
Mark Michelson 231e7efbe5 Merged revisions 169210 via svnmerge from
17 years ago
Doug Bailey 65120a3b33 Add discriminator for when ring pulse alert signal is used to preface MWI spills
17 years ago
Terry Wilson 6b32f4600d Fix port :0 added to SIP INVITE URI when outboundproxy used
17 years ago
Mark Michelson a2ac43cb8a Merged revisions 168975 via svnmerge from
17 years ago
Russell Bryant de535452cd build in dev mode
17 years ago
Mark Michelson 73694e15f1 Add missing brace
17 years ago
Mark Michelson 78c440b7ad Fix the compactheaders option in sip.conf
17 years ago
Mark Michelson 5c9daf4d3d Remove an unneeded condition for line addition to a SIP request/response
17 years ago
Olle Johansson 8ab629c767 Make sure that we have the same terminology in sip.conf.sample and the source code warning.
17 years ago
Olle Johansson 27c1d88021 Add capability to remove added SIP headers *before* INVITE is generated.
17 years ago
Richard Mudgett 509e07f849 Merged revisions 168622 via svnmerge from
17 years ago
Doug Bailey 5d2a24d138 This fixes a problem where MWI FSK spills were being injected onto off hook fxs lines.
17 years ago
Mark Michelson b4271327d7 Restore the "sip show users" and "sip show user" CLI commands
17 years ago
Tilghman Lesher 9c10ccd9fd Mostly spacing changes; no functionality change at all.
17 years ago
Tilghman Lesher 55b4eedd5d Janitor patch for chan_misdn (make channel variable access safe)
17 years ago
Terry Wilson 938191bc19 Merged revisions 168551 via svnmerge from
17 years ago
Mark Michelson 453b4cb8fb Allow specifying a port number in the user portion of a register => line in sip.conf
17 years ago
Russell Bryant ef6ad2b53c Merged revisions 168561 via svnmerge from
17 years ago
Tilghman Lesher c02a52075c Merged revisions 167095 via svnmerge from
17 years ago
Jeff Peeler cb3be3fe9a Merged revisions 168507 via svnmerge from
17 years ago
Mark Michelson f488a2eec5 Merged revisions 168482 via svnmerge from
17 years ago
Tilghman Lesher aebe65d9e7 sizeof for a stringfield is 4. Kinda low for reconstructing a field value.
17 years ago
Richard Mudgett 17d56d409b Spacing change
17 years ago
Mark Michelson 9f355bf9fc Merged revisions 168128 via svnmerge from
17 years ago
Richard Mudgett 4d1500edbd Merged revisions 168191 via svnmerge from
17 years ago
Mark Michelson 5f3f4f0f33 Revert chan_sip changes which were accidentally committed
17 years ago
Mark Michelson 454241dd58 Add the average talk time for a queue
17 years ago
Tilghman Lesher a4505c6e1f Convert dialplan application DAHDISendCallreroutingFacility to use commas.
17 years ago
Kevin P. Fleming 92b6225abe Merged revisions 167714 via svnmerge from
17 years ago
Kevin P. Fleming d5f97b4052 Merged revisions 167620 via svnmerge from
17 years ago
Doug Bailey 08e142b1e7 Cleanup fsk spill if off hook is detected during mwi spill.
17 years ago
Tilghman Lesher 9c8776f5fd Merged revisions 167260 via svnmerge from
17 years ago
Mark Michelson 129e8a04e8 Merged revisions 167179 via svnmerge from
17 years ago
Sean Bright e1f941d7f6 Mostly just whitespace, but also convert 'CVS' to 'SVN' in a couple
17 years ago
Mark Michelson 4412a4ba24 Change some incorrect syntax for pri set debug and correct
17 years ago
Tilghman Lesher 7cb7920e19 Merged revisions 166953 via svnmerge from
17 years ago
Russell Bryant e697dfb43f Merged revisions 166772 via svnmerge from
17 years ago
Terry Wilson 8664b9111a There is no section 22.2.2 in rfc 3261. I believe 26.2.2 is what was meant:
17 years ago
Tilghman Lesher 8c2030b489 Allow semicolons and extended characters in user-specified SIP headers.
17 years ago
Mark Michelson 61c0d20d20 Merged revisions 166380 via svnmerge from
17 years ago
Matthew Fredrickson 775033301a Add configuration support for half_full DAHDI buffer policy
17 years ago
Joshua Colp 654ea55a65 Numerous documentation updates.
17 years ago
Joshua Colp 4534957e81 Call proxy_update so that the IP address gets populated. Sending stuff to 0.0.0.0 is silly!
17 years ago
Matthew Nicholson 91192e30c5 This patch adds a new 'ignoresdpversion' option to sip.conf. When this is
17 years ago
Mark Michelson 1d2b4e7a02 Merged revisions 164977 via svnmerge from
17 years ago
Terry Wilson 2e59fce6d8 Make a note of the feature request in bug #11157 as per the reporter and oej, and suspend the bug since no one seems to be keen on implementing it any time soon.
17 years ago
Joshua Colp fd62012a31 Qualify trumps poke per lmadsen.
17 years ago
Joshua Colp 92a4edc593 Add configuration options for finer control over how Asterisk handles having to poke all peers at seemingly the same time.
17 years ago
Russell Bryant 36b1d08dc0 Merged revisions 164672 via svnmerge from
17 years ago
Joshua Colp ec6e4d2f60 When using externhost make sure the port gets set to the bindaddr port if one was not specified in the externhost value itself.
17 years ago
Russell Bryant f546396c0f Fix usage of the DAHDI_VMWI ioctl.
17 years ago
Russell Bryant 9e65283794 Open a timer before loading configuration so that the trunking configuration option
17 years ago
Russell Bryant 3ef07d4fd4 Fix log message to refer to the generic timing interface, not DAHDI specifically
17 years ago
Tilghman Lesher 42e26ee700 Revert ast_str opacity in chan_sip for now, since something wasn't quite right
17 years ago
Joshua Colp ae30bbf43d Merged revisions 164350 via svnmerge from
17 years ago
Russell Bryant 808a5fda59 Fix a couple more build issues related to ast_str_opaque
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Steve Murphy 0692660afc demote always-appearing debug message (for certain boards) to ast_debug lev 3 msg instead
17 years ago
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