Commit Graph

5878 Commits (b4c84d5162bbb2bcc00aae7afb367fd9631e615d)

Author SHA1 Message Date
Joshua Colp 6304c09149 Only decrease inringing count if above zero.
17 years ago
Joshua Colp 8e6780a5b1 Set the type for the peer structure to be a peer as the default.
17 years ago
Joshua Colp bb327036f1 Make the logic for inuse and inringing manipluation match that of 1.4. The old broken logic would reset the values back to 0 during certain scenarios causing the wrong state to be reported.
17 years ago
Mark Michelson e0b0ae07a3 Fix something I messed up in the merge I just did
17 years ago
Mark Michelson a02ef73b25 Merged revisions 174282 via svnmerge from
17 years ago
Dwayne M. Hubbard 0024ad62ab Merged revisions 174082 via svnmerge from
17 years ago
David Vossel c15b83e7e5 Adds immediate yes/no option to iax.conf
17 years ago
Joshua Colp fa389ab17a Don't subscribe to a mailbox on pseudo channels. It is futile. This solves an issue where duplicated pseudo channels would cause a crash because the first one would unsubscribe and the next one would also try to unsubscribe the same subscription.
17 years ago
Joshua Colp 550f7f1e65 Merged revisions 173967-173968 via svnmerge from
17 years ago
Matthew Nicholson 647b68ec23 Merged revisions 173917 via svnmerge from
17 years ago
Russell Bryant 0cbada4f96 Add a common implementation of a scheduler context with a dedicated thread.
17 years ago
David Vossel b605bdff0c Fixes issue with IAX2 transfer not handing off calls. Reverts changes in 116884
17 years ago
Richard Mudgett e70fc3d136 Broke up the large conditional blocks so it is easy to see if a function is compiled.
17 years ago
Russell Bryant 326587ebe3 Fix a spelling mistake.
17 years ago
Olle Johansson a9ee30da54 Add a todo. I do need to really check what's going on with this kill-the-user business ;-)
17 years ago
Olle Johansson 81a3d40c08 Small formatting change
17 years ago
Olle Johansson 9ea148b260 Add some well-needed improvements to the wishlist in the code, so that we can close
17 years ago
Sean Bright 2af8f59958 The CID lookup feature wasn't actually working properly with dialog-info+xml
17 years ago
Richard Mudgett 97b4e9cf2a channels/chan_dahdi.c
17 years ago
Olle Johansson efd6586546 Revert two lines that was extra, but only on fridays.
17 years ago
Olle Johansson 7ecda45482 Fix "cancel answered elsewhere" through app_queue with members in chan_local.
17 years ago
Olle Johansson b79a12e929 - Make sure we set setvar= variables on outbound calls too, not only inbound calls.
17 years ago
Olle Johansson 3e144e2a71 Make sure register= line supports both port and expiry at the same time.
17 years ago
Olle Johansson 55782a8dfa Merged revisions 172169 via svnmerge from
17 years ago
Steve Murphy f029e410ec A further correction: cast the sizeof to an int.
17 years ago
Steve Murphy 5918a38b98 my gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2 didn't like the \%ld and issued a warning, breaking my dev-mode build. This fixes it.
17 years ago
Tilghman Lesher ca052f64d0 Merged revisions 171963 via svnmerge from
17 years ago
Matthew Fredrickson 7a69506727 Don't complain about lack of D-channels on PTMP connections
17 years ago
Mark Michelson 5f1a4ebe6d Merged revisions 171689 via svnmerge from
17 years ago
Doug Bailey 906d665477 Handle new VMWI ioctl structure (Now there are two VMWI ioctl calls.)
17 years ago
Olle Johansson a0a8a4d68e Solving the same issue, but a bit different in trunk...
17 years ago
Olle Johansson e9beff5969 Moving generic setting to friends
17 years ago
Olle Johansson f35874c3f5 Continue to move variables into the sip_cfg structure to make them easier to handle in the future as a group of settings for a group of devices.
17 years ago
Olle Johansson a6228ccaf3 Just moving around variable declarations so that we have all globals in the same place.
17 years ago
Olle Johansson 08640496d1 Merged revisions 171264 via svnmerge from
17 years ago
Tilghman Lesher b0a29390ec Merged revisions 171187 via svnmerge from
17 years ago
Michiel van Baak 630fe3ccb8 dont segfault when a MWI event occurs on a line without a registered device
17 years ago
Tilghman Lesher 0308c5b943 Merged revisions 170588 via svnmerge from
17 years ago
Joshua Colp a394fe3a7a Merged revisions 170504 via svnmerge from
17 years ago
Michiel van Baak 40bfad1212 let's use SENTINEL where needed
17 years ago
Matthew Fredrickson f5ee4e99fa We should not do restart messages if we're in PTMP mode
17 years ago
Michiel van Baak a992164529 Dont clear the display of skinny phones when not needed.
17 years ago
Doug Bailey de63e93a39 MWI messages included in CID spill was not being properly handled and prevented the call from being processed
17 years ago
Matthew Fredrickson 55fd5f2d2d Make sure we don't set the channel to be inalarm for a D-channel drop on PTMP connections
17 years ago
Doug Bailey 9a28a07739 change VMWI to use new DAHDI_VMWI ioctl call.
17 years ago
Richard Mudgett 2da6670f10 * Adjust some conditionals to balance curly braces.
17 years ago
Richard Mudgett e13016057e Whitespace changes only
17 years ago
Mark Michelson f6bb99a5c5 Test commit for test issue #14303
17 years ago
Mark Michelson 28dc82ea4e Further fix some oddities in sip show users and sip show peers logic
17 years ago
Mark Michelson 419bb42e04 Convert the character pointers in a sip_request to be pointer offsets
17 years ago
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